Debugging Tools for Windows |
The GetSourcePath and GetSourcePathWide methods return the source path.
IDebugSymbols::GetSourcePath(
OUT OPTIONAL PSTR Buffer,
IN ULONG BufferSize,
OUT OPTIONAL PULONG PathSize
);
IDebugSymbols3::GetSourcePathWide(
OUT OPTIONAL PCWSTR Buffer,
IN ULONG BufferSize,
OUT OPTIONAL PULONG PathSize
);
#ifdef UNICODE
#define GetSourcePathT GetSourcePathWide
#else
#define GetSourcePathT GetSourcePath
#endif
This method can also return error values. See Return Values for more details.
GetSourcePath is available in all versions of IDebugSymbols. GetSourcePathWide 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.