Skip to content

Latest commit

 

History

History
84 lines (62 loc) · 2.26 KB

ns-d3dkmthk-_d3dkmt_evict.md

File metadata and controls

84 lines (62 loc) · 2.26 KB
UID title description old-location ms.date keywords ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos tech.root req.typenames f1_keywords topic_type api_type api_location api_name
NS:d3dkmthk._D3DKMT_EVICT
_D3DKMT_EVICT (d3dkmthk.h)
D3DKMT_EVICT is used with D3DKMTEvict to subtract one from the residency reference count.
display\d3dkmt_evict.htm
05/10/2018
D3DKMT_EVICT structure
D3DKMT_EVICT, D3DKMT_EVICT structure [Display Devices], _D3DKMT_EVICT, d3dkmthk/D3DKMT_EVICT, display.d3dkmt_evict
d3dkmthk.h
D3dkmthk.h
Windows
Windows 10
Windows Server 2016
Windows
display
D3DKMT_EVICT
_D3DKMT_EVICT
d3dkmthk/_D3DKMT_EVICT
D3DKMT_EVICT
d3dkmthk/D3DKMT_EVICT
APIRef
kbSyntax
HeaderDef
d3dkmthk.h
_D3DKMT_EVICT
D3DKMT_EVICT

_D3DKMT_EVICT structure

-description

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.

-struct-fields

-field hDevice [in]

Device that created the allocations passed to this call.

-field NumAllocations [in]

Number of allocation handles in the AllocationList array.

-field AllocationList [in]

An array of NumAllocations allocation handles to mark for eviction. All allocations must be created on hDevice.

-field Flags [in]

Specifies eviction behavior as documented in D3DDDI_EVICT_FLAGS.

-field NumBytesToTrim [out]

When non-zero, specifies how much the application should evict in order to meet its current memory budget.

-see-also

D3DDDI_EVICT_FLAGS

D3DKMTEvict