Debugging Tools for Windows

GetEventThread

The GetEventThread method returns the engine thread ID for the thread on which the last event occurred.

HRESULT
  IDebugSystemObjects::GetEventThread(
    OUT PULONG  Id
    );

Parameters

Id
Receives the engine thread ID.

Return Value

S_OK
The method was successful.

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

Interface Version

GetEventThread is available in all versions of IDebugSystemObjects.

Comments

In kernel-mode debugging, the engine thread ID for the virtual thread representing the processor on which the event occurred is returned.

For more information about threads, 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