PS_PROTECTION - NtDoc

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

typedef struct _PS_PROTECTION
{
    union
    {
        UCHAR Level;
        struct
        {
            UCHAR Type : 3;
            UCHAR Audit : 1;
            UCHAR Signer : 4;
        };
    };
} PS_PROTECTION, *PPS_PROTECTION;

// end_private
#endif
#endif

View code on GitHub

This structure defines the protection level for fully- and light-protected processes.

Applicable to

Members

Level

The numerical value of the protection level. You can use the PsProtectedValue macro to construct this value from the underlying fields.

Type

The type of protection applied to the process. The values for this field come from the PS_PROTECTED_TYPE enumeration.

Known values

Audit

This flag indicates that the system should audit the operation instead of applying protection.

Signer

The strength and type of the signature for the process. The values for this field come from the PS_PROTECTED_SIGNER enumeration.

Known values

See also

Required OS version

This structure was introduced in Windows 8.1.