D3DDDIGPUVIRTUALADDRESS_PROTECTION_TYPE structure (d3dukmdt.h)

The D3DDDIGPUVIRTUALADDRESS_PROTECTION_TYPE structure specifies the protection on the GPU virtual address that is mapped.

Syntax

typedef struct _D3DDDIGPUVIRTUALADDRESS_PROTECTION_TYPE {
  union {
    struct {
      UINT64 Write : 1;
      UINT64 Execute : 1;
      UINT64 Zero : 1;
      UINT64 NoAccess : 1;
      UINT64 SystemUseOnly : 1;
      UINT64 Reserved : 59;
    };
    D3DKMT_ALIGN64 UINT64 Value;
  };
} D3DDDIGPUVIRTUALADDRESS_PROTECTION_TYPE;

Members

Write

The pages will be allowed read-write access.

Execute

The pages will be allowed execute access.

Zero

The pages will be put to the Zero state (hAllocation must be NULL). Reads return zero and writes are discarded in this state.

NoAccess

The pages will be put to the Invalid state (hAllocation must be NULL).

SystemUseOnly

This member is for system use only and should not be set by the user-mode driver.

Reserved

This member is reserved and should be set to zero.

Value

The consolidated value of the structure's members.

Requirements

Requirement Value
Minimum supported client Windows 10
Minimum supported server Windows Server 2016
Header d3dukmdt.h (include D3dumddi.h, D3dkmddi.h)

See also

D3DDDI_MAPGPUVIRTUALADDRESS