// d3dumddi.h
typedef struct _D3DDDI_UNLOCKFLAGS {
union {
struct {
UINT NotifyOnly : 1;
UINT Reserved : 31;
};
UINT Value;
};
} D3DDDI_UNLOCKFLAGS;
View the official Windows Driver Kit DDI referenceNo description available.
The D3DDDI_UNLOCKFLAGS structure identifies how to unlock a resource.
NotifyOnlyA UINT value that specifies whether the unlock call is for notification only.
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 is contained in D3DDDI_UNLOCKFLAGS that can hold one 32-bit value that identifies how to unlock a resource.