// d3dukmdt.h
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;
View the official Windows Driver Kit DDI referenceNo description available.
The D3DDDIGPUVIRTUALADDRESS_PROTECTION_TYPE structure specifies the protection on the GPU virtual address that is mapped.
WriteThe pages will be allowed read-write access.
ExecuteThe pages will be allowed execute access.
ZeroThe pages will be put to the Zero state (hAllocation must be NULL). Reads return zero and writes are discarded in this state.
NoAccessThe pages will be put to the Invalid state (hAllocation must be NULL).
SystemUseOnlyThis member is for system use only and should not be set by the user-mode driver.
ReservedThis member is reserved and should be set to zero.
ValueThe consolidated value of the structure's members.