Debugging Tools for Windows |
The GetProcessIdByHandle method returns the engine process ID for the specified process. The process is specified by its system handle.
HRESULT
IDebugSystemObjects::GetProcessIdByHandle(
IN ULONG64 Handle,
OUT PULONG Id
);
This method may also return error values. See Return Values for more details.
GetProcessIdByHandle is available in all versions of IDebugSystemObjects.
For more information about processes, see Threads and Processes. For details on system handles, see Handles.
Headers: Defined in Dbgeng.h. Include Dbgeng.h.