Debugging Tools for Windows

SetSymbolPath

The SetSymbolPath and SetSymbolPathWide methods set the symbol path.

IDebugSymbols::SetSymbolPath(
    IN PCSTR  Path
    );

IDebugSymbols3::SetSymbolPathWide(
    IN PWSTR  Path
    );

#ifdef UNICODE
#define SetSymbolPathT SetSymbolPathWide
#else
#define SetSymbolPathT SetSymbolPath
#endif

Parameters

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

S_OK
The method was successful.

These methods can also return error values. See Return Values for more details.

Interface Version

SetSymbolPath is available in all versions of IDebugSymbols. SetSymbolPathWide is available in IDebugSymbols3 and later versions.

Comments

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

Headers: Defined in Dbgeng.h. Include Dbgeng.h.

See Also

AppendSymbolPath, GetSymbolPath

Build machine: CAPEBUILD