// d3dkmthk.h
NTSTATUS D3DKMTEvict(
D3DKMT_EVICT *unnamedParam1
);
View the official Windows Driver Kit DDI referenceNo description available.
D3DKMTEvict is used to decrement the allocation residency reference count. Once this count reaches zero, it will remove the allocation from the device residency list.
unnamedParam1pData [in, out]
A pointer to a D3DKMT_EVICT structure that describes the operation.
Returns one of the following values:
| Return code | Description |
|---|---|
| STATUS_SUCCESS | The operation was performed successfully. |
| STATUS_INVALID_PARAMETER | Parameters were validated and determined to be incorrect. |
This function might also return other NTSTATUS values.
Once the eviction request is queued, it is illegal to access the underlying allocation as the allocation may be evicted at anytime from there on at the operating system discretion.