INtime SDK Help
OpenThread (iwin32)
INtime SDK v6 > About INtime > Alternate APIs > iwin32 API > iwin32 API > OpenThread (iwin32)

Returns a handle to the thread with the given ID.

HANDLE OpenThread(
    DWORD dwDesiredAccess,
    BOOLEAN bInheritHandle,
    DWORD dwThreadId
);

Parameters

dwDesiredAccess
Ignored.
bInheritHandle
Ignored.
dwThreadId
Identifier of the thread to open.

Return Values

Handle to the thread
Success.
NULL
Failure. For extended error information, see GetLastError.

Requirements

Versions Defined in Include Link to
INtime 3.0 intime/rt/include/winbase.h windows.h iwin32.lib

Note

This function operates in the real-time portion of your application.

See Also

CreateThread, GetCurrentThreadId, iwin32 API, iwin32 Overview