Retrieves the thread handle for the current thread of execution.
THandle - Handle for the current thread.
GetCurrentThreadHandle is a THandle function that returns the handle for the current thread of execution. GetCurrentThreadHandle isolates the platform-specific calls required to determine the return value for the function.
On the .Net platform, GetCurrentThreadHandle calls the AppDomain.GetCurrentThreadId framework method to retrieve the current thead handle.
For all other platforms, GetCurrentThreadHandle uses the value from GetCurrentThreadID as the thread handle for the current thread.
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
|
Post feedback to the Indy Docs Newsgroup.
|