// d3dukmdt.h
typedef struct D3DDDI_MAKERESIDENT_FLAGS {
union {
struct {
UINT CantTrimFurther : 1;
UINT MustSucceed : 1;
UINT Reserved : 30;
};
UINT Value;
};
} D3DDDI_MAKERESIDENT_FLAGS;
View the official Windows Driver Kit DDI referenceNo description available.
D3DDDI_MAKERESIDENT_FLAGS is used with MakeResident (pfnMakeResidentCb or D3DKMTMakeResident) to instruct the OS to add a resource to the device residency list and increment the residency reference count on this allocation.
CantTrimFurtherThis flag should be used after the user mode driver has trimmed all other possible resources in the device and require the current resource to be made resident in order to make forward progress on a particular single atomic operation.
MustSucceedThis flag may only be set if CantTrimFurther is also set. It indicates that the resource being made resident is critical to the device forward progress. If the video memory manager can’t satisfy the request the device will be put in error.
ReservedThis member is reserved and should be set to zero.
ValueThe consolidated value of the structure.