This topic has not yet been rated - Rate this topic

PROCESS_MITIGATION_STRICT_HANDLE_CHECK_POLICY structure

Used to impose new behavior on handle references that are not valid.

Syntax


typedef struct _PROCESS_MITIGATION_STRICT_HANDLE_CHECK_POLICY {
  union {
    DWORD  Flags;
    struct {
      DWORD RaiseExceptionOnInvalidHandleReference : 1;
      DWORD HandleExceptionsPermanentlyEnabled : 1;
      DWORD ReservedFlags : 30;
    };
  };
} PROCESS_MITIGATION_STRICT_HANDLE_CHECK_POLICY, *PPROCESS_MITIGATION_STRICT_HANDLE_CHECK_POLICY;

Members

Flags

This member is reserved for system use.

RaiseExceptionOnInvalidHandleReference : 1

When set to 1, an exception will be raised if an handle that is not valid is provided to the kernel.

HandleExceptionsPermanentlyEnabled : 1

When set to 1, an exception will be raised on an handle reference that is both not valid and permanently enabled.

ReservedFlags : 30

This member is reserved for system use.

Requirements

Minimum supported client

Windows 8 [desktop apps only]

Minimum supported server

Windows Server 2012 [desktop apps only]

Header

WinNT.h (include Windows.h)

 

 

Send comments about this topic to Microsoft

Build date: 11/21/2012

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.