GetCurrentThread

E724270

GetCurrentThread is a Windows API function that returns a pseudo-handle representing the calling thread, used for thread management operations in the Win32 environment.

All labels observed (1)

Label Occurrences
GetCurrentThread canonical 1

How this entity was disambiguated

Statements (48)

Predicate Object
instanceOf Win32 thread function ⓘ
Windows API function ⓘ
availableOnPlatform Windows ⓘ
belongsToLibrary Kernel32.dll ⓘ
linked to: Kernel32
callingConvention stdcall ⓘ
canBeCalledFrom C ⓘ
C++ ⓘ
cannotBeUsedInAnotherProcess true ⓘ
category thread identification function ⓘ
declaredInHeader windows.h ⓘ
definedIn Win32 API ⓘ
Windows API ⓘ
linked to: Win32 API
exportedBy Kernel32.dll ⓘ
linked to: Kernel32
handleType thread handle ⓘ
headerLanguage C ⓘ
introducedFor Win32 multithreading support ⓘ
mustNotBeClosedWithCloseHandle true ⓘ
parameterCount 0 ⓘ
pseudoHandle true ⓘ
pseudoHandleMeaning special constant that refers to the current thread ⓘ
relatedConcept pseudo-handle semantics ⓘ
thread handle ⓘ
relatedFunction GetCurrentProcess ⓘ
GetCurrentThreadId ⓘ
OpenThread ⓘ
returns HANDLE ⓘ
pseudo-handle to the calling thread ⓘ
supportedOn Windows 10 ⓘ
Windows 11 ⓘ
Windows 2000 ⓘ
Windows 7 ⓘ
Windows 8 ⓘ
Windows NT family ⓘ
linked to: Windows NT

Windows Vista ⓘ
Windows XP ⓘ
takesNoParameters true ⓘ
threadRelated true ⓘ
usedFor identifying the calling thread in Win32 ⓘ
obtaining a pseudo-handle for the current thread ⓘ
thread management operations ⓘ
usedWith GetThreadPriority ⓘ
GetThreadTimes ⓘ
ResumeThread ⓘ
SetThreadAffinityMask ⓘ
SetThreadIdealProcessor ⓘ
SetThreadPriority ⓘ
linked to: CreateThread

SuspendThread ⓘ
validOnlyInCallingProcess true ⓘ

How these facts were elicited

Referenced by (1)

Full triples — surface form annotated when it differs from this entity's canonical label.

Kernel32 → exportsFunction → GetCurrentThread ⓘ