Click to return to the Component Development home page    
IRemoteDebugApplicationTh...     IRemoteDebugApplicationTh...     IRemoteDebugApplicationTh...    
Web Workshop  |  Component Development

IRemoteDebugApplicationThread::GetSystemThreadId Method


Retrieves an operating-system-dependent identifier associated with the thread.

Syntax

HRESULT GetSystemThreadId(
    DWORD *dwThreadId
);

Parameters

dwThreadId
[out] Address of an unsigned long integer value that contains the thread identifier.

Return Value

Returns S_OK if successful, or an error code otherwise.

Remarks

The thread identifier does not need to be unique across machines. If other machines on the same network have the same identifier, they will refer to a completely different thread. Therefore, each identifier is unique, but only on the machine that runs the thread.



Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

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