D3DKMT_EVICT structure (d3dkmthk.h)
D3DKMT_EVICT is used with D3DKMTEvict to subtract one from the residency reference count.
Once this count reaches zero, it will remove the allocation from the device residency list.
Syntax
typedef struct _D3DKMT_EVICT {
[in] D3DKMT_HANDLE hDevice;
[in] UINT NumAllocations;
void D3DKMT_PTR(
const D3DKMT_HANDLE *unnamedParam1,
AllocationList unnamedParam2
);
[in] D3DDDI_EVICT_FLAGS Flags;
[out] D3DKMT_ALIGN64 UINT64 NumBytesToTrim;
} D3DKMT_EVICT;
Members
[in] hDevice
Device that created the allocations passed to this call.
[in] NumAllocations
Number of allocation handles in the AllocationList array.
void D3DKMT_PTR( const D3DKMT_HANDLE *unnamedParam1, AllocationList unnamedParam2)
[in] Flags
Specifies eviction behavior as documented in D3DDDI_EVICT_FLAGS.
[out] NumBytesToTrim
When non-zero, specifies how much the application should evict in order to meet its current memory budget.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 10 |
Minimum supported server | Windows Server 2016 |
Header | d3dkmthk.h (include D3dkmthk.h) |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for