Debugging Tools for Windows |
The GetProcessIdByPeb method returns the engine process ID for the specified process. The process is specified by its process environment block (PEB).
HRESULT
IDebugSystemObjects::GetProcessIdByPeb(
IN ULONG64 Offset,
OUT PULONG Id
);
This method may also return other error values. See Return Values for more details.
GetProcessIdByPeb is available in all versions of IDebugSystemObjects.
This method is not available in kernel-mode debugging.
For more information about processes, see Threads and Processes.
Headers: Defined in Dbgeng.h. Include Dbgeng.h.