Debugging Tools for Windows

GetEventProcess

The GetEventProcess method returns the engine process ID for the process on which the last event occurred.

HRESULT
  IDebugSystemObjects::GetEventProcess(
    OUT PULONG  Id
    );

Parameters

Id
Receives the engine process ID.

Return Value

S_OK
The method was successful.

This method may also return error values. See Return Values for more details.

Interface Version

GetEventProcess is available in all versions of IDebugSystemObjects.

Comments

In kernel-mode debugging, the engine process ID for the virtual process representing the kernel is returned.

For more information about processes, see Threads and Processes. For details about debugger engine events, see Monitoring Events.

Requirements

Headers: Defined in Dbgeng.h. Include Dbgeng.h.

Build machine: CAPEBUILD