SYSTEM_ACTIVITY_MODERATION_APP_SETTINGS - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
#ifndef _NTEXAPI_H

// rev
/**
 * The SYSTEM_ACTIVITY_MODERATION_APP_SETTINGS structure describes the moderation state
 * and classification of an application as used by the system's activity moderation framework.
 * These settings influence how aggressively the system may throttle, defer, or
 * suppress certain background activities for the application.
 *
 * The structure maintains a stable binary layout because it is stored in
 * serialized policy blobs and consumed by system components that expect
 * fixed field offsets.
 */
typedef struct _SYSTEM_ACTIVITY_MODERATION_APP_SETTINGS
{
    LARGE_INTEGER LastUpdatedTime; // Timestamp of the last update to this settings block.
    SYSTEM_ACTIVITY_MODERATION_STATE ModerationState; // Current moderation state assigned to the application.
    UCHAR Reserved[4]; // Reserved for future expansion
    SYSTEM_ACTIVITY_MODERATION_APP_TYPE AppType; // Current application type for moderation purposes.
    ULONG Flags; // Additional moderation flags.
} SYSTEM_ACTIVITY_MODERATION_APP_SETTINGS, *PSYSTEM_ACTIVITY_MODERATION_APP_SETTINGS;

#endif

View code on GitHub

NtDoc

No description available.