Indy 9
GetThreadHandle
Unit: IdGlobal
Retrieves the handle for the specified thread.
function GetThreadHandle(AThread: TThread): THandle;
Unit
IdGlobal
Parameters
AThread: TThread
Thread instance to be to be examined for a handle.
Return Value
THandle - Handle for the thread instance.
Description
GetThreadHandle is a THandle function that implements platform-specific access to return the handle for the thread in AThread. On the Linux platform, GetThreadHandle returns the ThreadID member in AThread. For the Windows platform, GetThreadHandle returns the Handle member for AThread.

Created with Doc-O-Matic 2 donated to Project JEDI. Commercial license available from the Doc-O-Matic site.