#ifndef _NTPSAPI_H
#if (PHNT_MODE != PHNT_MODE_KERNEL)
/**
* The PS_PROTECTED_TYPE enumeration defines the types of protection that can be applied to a process.
*/
typedef enum _PS_PROTECTED_TYPE
{
PsProtectedTypeNone, // No protection.
PsProtectedTypeProtectedLight, // Light protection.
PsProtectedTypeProtected, // Full protection.
PsProtectedTypeMax
} PS_PROTECTED_TYPE;
View code on GitHubThe enumeration defines the type of protection applied to the process.
PsProtectedTypeNone (0) - the process is not running as protected.PsProtectedTypeProtectedLight (1) - the process is running as light-protected (PPL).PsProtectedTypeProtected (2) - the process is running as fully-protected.