IDebugSymbols::SetSourcePath method

The SetSourcePath method sets the source path.

Syntax


HRESULT SetSourcePath(
  [in] PCSTR Path
);

Parameters

Path [in]

Specifies the new source path. This is a string that contains source path elements separated by semicolons (;). Each source path element can specify either a directory or a source server.

Return value

This method can also return error values. See Return Values for more details.

Return codeDescription
S_OK

The method was successful.

 

Remarks

The source path is used by the engine when searching for source files.

For more information about manipulating the source path, see Using Source Files. For an overview of the source path and its syntax, see Source Path.

Requirements

Target platform

Desktop

Header

Dbgeng.h (include Dbgeng.h)

See also

IDebugSymbols
IDebugSymbols2
IDebugSymbols3
AppendSourcePath
GetSourcePath

 

 

Send comments about this topic to Microsoft

Show: