Debugging Tools for Windows |
The GetImagePath and GetImagePathWide methods return the executable image path.
IDebugSymbols::GetImagePath(
OUT OPTIONAL PSTR Buffer,
IN ULONG BufferSize,
Out OPTIONAL PULONG PathSize
);
IdebugSymbols3::GetImagePathWide(
OUT OPTIONAL PWSTR Buffer,
IN ULONG BufferSize,
Out OPTIONAL PULONG PathSize
);
#ifdef UNICODE
#define GetImagePathT GetImagePathWide
#else
#define GetImagePathT GetImagePath
#endif
These methods can also return error values. See Return Values for more details.
GetImagePath is available in all versions of IDebugSymbols. GetImagePathWide is available in IDebugSymbols3 and later versions.
The executable image path is used by the engine when searching for executable images.
The executable image path can consist of several directories separated by semicolons. These directories are searched in order.
For more information about the executable image path, see Executable Image Path.
Headers: Defined in Dbgeng.h. Include Dbgeng.h.