IDebugSystemObjects::GetCurrentThreadSystemId method

The GetCurrentThreadSystemId method returns the system thread ID of the current thread.

Syntax


HRESULT GetCurrentThreadSystemId(
  [out]  PULONG SysId
);

Parameters

SysId [out]

Receives the system thread ID.

Return value

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

Return codeDescription
S_OK

The method was successful.

E_NOTIMPL

The target is a kernel-mode target.

 

Remarks

This method is only available in user-mode debugging.

For more information about threads, see Threads and Processes.

Requirements

Version

Header

Dbgeng.h (include Dbgeng.h)

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft. All rights reserved.