IDebugSymbols2::SetSymbolPath method (dbgeng.h)

The SetSymbolPath method sets the symbol path.

Syntax

HRESULT SetSymbolPath(
  [in] PCSTR Path
);

Parameters

[in] Path

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

Return value

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

Return code Description
S_OK
The method was successful.

Remarks

For more information about manipulating the symbol path, see Using Symbols. For an overview of the symbol path and its syntax, see Symbol Path.

Requirements

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

See also

AppendSymbolPath

GetSymbolPath

IDebugSymbols

IDebugSymbols2

IDebugSymbols3