PROCESS_MITIGATION_FONT_DISABLE_POLICY structure

[Some information relates to pre-released product which may be substantially modified before it's commercially released. Microsoft makes no warranties, express or implied, with respect to the information provided here.]

Contains process mitigation policy settings for the loading of non-system fonts.

Syntax


typedef struct _PROCESS_MITIGATION_FONT_DISABLE_POLICY {
  union {
    DWORD  Flags;
    struct {
      DWORD DisableNonSystemFonts  :1;
      DWORD AuditNonSystemFontLoading  :1;
      DWORD ReservedFlags  :30;
    };
  };
} PROCESS_MITIGATION_FONT_DISABLE_POLICY, *PPROCESS_MITIGATION_FONT_DISABLE_POLICY;

Members

Flags

Reserved for system use.

DisableNonSystemFonts

Set (0x1) to prevent the process from loading non-system fonts; otherwise leave unset (0x0).

AuditNonSystemFontLoading

Set (0x1) to indicate that an Event Tracing for Windows (ETW) event should be logged when the process attempts to load a non-system font; leave unset (0x0) to indicate that an ETW event should not be logged.

ReservedFlags

Reserved for system use.

Requirements

Minimum supported client

Windows 10 [desktop apps only]

Minimum supported server

Windows Server 2016 [desktop apps only]

Header

WinNT.h

See also

GetProcessMitigationPolicy
SetProcessMitigationPolicy

 

 

Show: