IDebugSymbols2::AppendSourcePath method (dbgeng.h)

The AppendSourcePath method appends directories to the source path.

Syntax

HRESULT AppendSourcePath(
  [in] PCSTR Addition
);

Parameters

[in] Addition

Specifies the directories to append to the 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

Return code Description
S_OK
The method was successful.
 

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

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

Requirement Value
Target Platform Desktop
Header dbgeng.h (include Dbgeng.h)

See also

GetSourcePath

GetSourcePathElement

IDebugSymbols

IDebugSymbols2

IDebugSymbols3

SetSourcePath