Microsoft SDK for Java

IRemoteThreadEx::
GetThreadId

The GetThreadId method of the IRemoteThreadEx interface returns the Win32 thread ID for this thread.

Syntax

HRESULT GetThreadId(ULONG *pdwTid)

Parameters

[out] *pdwTid Returns the Win32 thread ID for this thread.

Return Value

S_OK Success. 

E_FAIL The associated thread has terminated.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.