IDebugSystemObjects::GetCurrentThreadId method

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

Syntax


HRESULT GetCurrentThreadId(
  [out] PULONG Id
);

Parameters

Id [out]

Receives the engine thread ID.

Return value

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

Return codeDescription
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)

 

 

Send comments about this topic to Microsoft

Show:
© 2015 Microsoft