PROCESS_MITIGATION_FONT_DISABLE_POLICY structure (winnt.h)

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;
    } DUMMYSTRUCTNAME;
  } DUMMYUNIONNAME;
} PROCESS_MITIGATION_FONT_DISABLE_POLICY, *PPROCESS_MITIGATION_FONT_DISABLE_POLICY;

Members

DUMMYUNIONNAME

DUMMYUNIONNAME.Flags

Reserved for system use.

DUMMYUNIONNAME.DUMMYSTRUCTNAME

DUMMYUNIONNAME.DUMMYSTRUCTNAME.DisableNonSystemFonts

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

DUMMYUNIONNAME.DUMMYSTRUCTNAME.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.

DUMMYUNIONNAME.DUMMYSTRUCTNAME.ReservedFlags

Reserved for system use.

Requirements

Requirement Value
Minimum supported client Windows 10 [desktop apps only]
Minimum supported server Windows Server 2016 [desktop apps only]
Header winnt.h

See also

GetProcessMitigationPolicy

SetProcessMitigationPolicy