IDebugSystemObjects4::GetCurrentThreadId method

The GetCurrentThreadId method returns the engine thread ID for the current thread.

Syntax

HRESULT GetCurrentThreadId(
  PULONG Id
);

Parameters

Id

Receives the engine thread ID.

Return Value

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

Return code Description
S_OK
The method was successful.

Remarks

For more information about threads, see Threads and Processes.

Requirements

   
Target Platform Desktop
Header dbgeng.h (include Dbgeng.h)