Debugging Tools for Windows |
The SetSourcePath and SetSourcePathWide methods set the source path.
IDebugSymbols::SetSourcePath(
IN PCSTR Path
);
IDebugSymbols3::SetSourcePathWide(
IN PCWSTR Path
);
#ifdef UNICODE
#define SetSourcePathT SetSourcePathWide
#else
#define SetSourcePathT SetSourcePath
#endif
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.