Condividi tramite


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.

Osservazioni

Questa macro

Fabbisogno

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

Vedere anche

KeGetCurrentThread

PsCreateSystemThread

PsGetCurrentProcess

PsGetCurrentProcessId

PsIsSystemThread