// d3dkmddi.h
typedef struct _DXGK_OPENALLOCATIONFLAGS {
union {
struct {
UINT Create : 1;
UINT ReadOnly : 1;
UINT Reserved : 30;
};
UINT Value;
};
} DXGK_OPENALLOCATIONFLAGS;
View the official Windows Driver Kit DDI referenceNo description available.
The DXGK_OPENALLOCATIONFLAGS structure identifies the operation to perform for allocations.
CreateA UINT value that specifies whether allocations should be created. If this member is not set, the allocations are opened.
Setting this member is equivalent to setting the first bit of the 32-bit Value= member (0x00000001).
ReadOnlyA UINT value that specifies whether the allocation can only be read from.
Setting this member is equivalent to setting the second bit of the 32-bit Value= member (0x00000002).
Supported starting with Windows 8.
ReservedThis member is reserved and should be set to zero. Setting this member to zero is equivalent to setting the remaining 30 bits (0xFFFFFFFC) of the 32-bit Value member to zeros.
ValueA member in the union that DXGK_OPENALLOCATIONFLAGS contains that can hold a 32-bit value that identifies the operation to perform for allocations.