Skip to content

Latest commit

 

History

History
76 lines (57 loc) · 2.13 KB

ns-d3dumddi-d3dddicb_evict.md

File metadata and controls

76 lines (57 loc) · 2.13 KB
UID title description old-location tech.root 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 req.typenames f1_keywords topic_type api_type api_location api_name
NS:d3dumddi.D3DDDICB_EVICT
D3DDDICB_EVICT (d3dumddi.h)
D3DKMT_EVICT is used with pfnEvictCb to subtract one from the residency reference count.
display\d3dddicb_evict.htm
display
05/10/2018
D3DDDICB_EVICT structure
D3DDDICB_EVICT, D3DDDICB_EVICT structure [Display Devices], d3dumddi/D3DDDICB_EVICT, display.d3dddicb_evict
d3dumddi.h
D3dumddi.h
Windows
Windows 10
Windows Server 2016
Windows
D3DDDICB_EVICT
D3DDDICB_EVICT
d3dumddi/D3DDDICB_EVICT
APIRef
kbSyntax
HeaderDef
d3dumddi.h
D3DDDICB_EVICT

D3DDDICB_EVICT structure

-description

D3DKMT_EVICT is used with pfnEvictCb 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 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

pfnEvictCb