Función PsGetCurrentThread (wdm.h)

La rutina PsGetCurrentThread identifica el subproceso actual.

Sintaxis

PETHREAD PsGetCurrentThread();

Valor devuelto

PsGetCurrentThread devuelve un puntero al objeto de subproceso ejecutivo que representa el subproceso que se está ejecutando actualmente.

Requisitos

Requisito Value
Cliente mínimo compatible Disponible a partir de Windows 2000.
Plataforma de destino Universal
Encabezado wdm.h (incluya Wdm.h, Ntddk.h, Ntifs.h)
Library NtosKrnl.lib
Archivo DLL NtosKrnl.exe
IRQL Cualquier nivel

Consulte también

KeGetCurrentThread

PsCreateSystemThread

PsGetCurrentProcess

PsGetCurrentProcessId

PsIsSystemThread