Funzione PsGetCurrentThread (ntifs.h)

La routine PsGetCurrentThread identifica il thread corrente.

Sintassi

PETHREAD PsGetCurrentThread();

Valore restituito

PsGetCurrentThread restituisce un puntatore all'oggetto thread esecutivo che rappresenta il thread attualmente in esecuzione.

Commenti

Questa macro

Requisiti

Requisito Valore
Client minimo supportato Windows 2000.
Piattaforma di destinazione Universale
Intestazione ntifs.h (include Wdm.h, Ntddk.h, Ntifs.h)
Libreria NtosKrnl.lib
DLL NtosKrnl.exe
IRQL Qualsiasi livello

Vedi anche

KeGetCurrentThread

PsCreateSystemThread

PsGetCurrentProcess

PsGetCurrentProcessId

PsIsSystemThread