The GetProcessIdByHandle method returns the engine process ID for the specified process. The process is specified by its system handle.
HRESULT GetProcessIdByHandle( ULONG64 Handle, PULONG Id );
Specifies the handle of the process whose process ID is requested. This handle must be a process handle previously retrieved from the debugger engine.
Receives the engine process ID.
This method may also return error values. See Return Values for more details.
||The method was successful.|
|Header||dbgeng.h (include Dbgeng.h)|