PROCESS_BASIC_INFORMATION - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
#ifndef _NTPSAPI_H
// Process information structures
#if (PHNT_MODE != PHNT_MODE_KERNEL)

typedef struct _PROCESS_BASIC_INFORMATION
{
    NTSTATUS ExitStatus;
    PPEB PebBaseAddress;
    KAFFINITY AffinityMask;
    KPRIORITY BasePriority;
    HANDLE UniqueProcessId;
    HANDLE InheritedFromUniqueProcessId;
} PROCESS_BASIC_INFORMATION, *PPROCESS_BASIC_INFORMATION;

#endif
#endif

View code on GitHub

This structure defines basic information about the process.

Applicable to

Members

ExitStatus

The exit code of the process. If the process has not exited, this field contains STATUS_PENDING.

See also

PebBaseAddress

The address of the Process Environment Block. See PEB for more details. To query the address of the 32-bit PEB32, use ProcessWow64Information (26).

AffinityMask

The bit mask indicating on which processors the threads from the process are allowed to run.

See also

BasePriority

The base priority for the threads in the process.

See also

UniqueProcessId

The PID of the process.

See also

InheritedFromUniqueProcessId

The PID of the process's parent from which it inherits various attributes.

See also

See also