|Debugging Tools for Windows|
The SetSourcePath and SetSourcePathWide methods set the source path.
IN PCSTR Path
IN PCWSTR Path
#define SetSourcePathT SetSourcePathWide
#define SetSourcePathT SetSourcePath
These methods can also return error values. See Return Values for more details.
SetSourcePath is available in all versions of IDebugSymbols. SetSourcePathWide is available in IDebugSymbols3 and later versions.
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.
Headers: Defined in Dbgeng.h. Include Dbgeng.h.