// d3dkmddi.h
typedef struct _DXGK_DESTROYALLOCATIONFLAGS {
union {
struct {
UINT DestroyResource : 1;
UINT Reserved : 31;
};
UINT Value;
};
} DXGK_DESTROYALLOCATIONFLAGS;
View the official Windows Driver Kit DDI referenceNo description available.
The DXGK_DESTROYALLOCATIONFLAGS structure identifies how to release allocations.
DestroyResourceA UINT value that specifies whether the resource that the hResource member of the DXGKARG_DESTROYALLOCATION structure specifies should be released along with allocations.
Setting this member is equivalent to setting the first bit of the 32-bit Value member (0x00000001).
ReservedThis member is reserved and should be set to zero. Setting this member to zero is equivalent to setting the remaining 31 bits (0xFFFFFFFE) of the 32-bit Value member to zeros.
ValueA member in the union that DXGK_DESTROYALLOCATIONFLAGS contains that can hold a 32-bit value that identifies how to release allocations.