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 NERFINISHED
belongsToLibrary Kernel32.dll NERFINISHED
callingConvention stdcall
canBeCalledFrom C
C++ NERFINISHED
cannotBeUsedInAnotherProcess true
category thread identification function
declaredInHeader windows.h
definedIn Win32 API NERFINISHED
Windows API NERFINISHED
exportedBy Kernel32.dll NERFINISHED
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 NERFINISHED
GetCurrentThreadId
OpenThread NERFINISHED
returns HANDLE
pseudo-handle to the calling thread
supportedOn Windows 10 NERFINISHED
Windows 11 NERFINISHED
Windows 2000 NERFINISHED
Windows 7 NERFINISHED
Windows 8 NERFINISHED
Windows NT family NERFINISHED
Windows Vista NERFINISHED
Windows XP NERFINISHED
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 NERFINISHED
ResumeThread
SetThreadAffinityMask NERFINISHED
SetThreadIdealProcessor NERFINISHED
SetThreadPriority NERFINISHED
SuspendThread NERFINISHED
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