DXGKARG_DESTROYALLOCATION structure (d3dkmddi.h)
The DXGKARG_DESTROYALLOCATION structure describes how the display miniport driver should release allocations.
Syntax
typedef struct _DXGKARG_DESTROYALLOCATION {
UINT NumAllocations;
const HANDLE *pAllocationList;
HANDLE hResource;
DXGK_DESTROYALLOCATIONFLAGS Flags;
} DXGKARG_DESTROYALLOCATION;
Members
NumAllocations
[in] The number of elements in the array that pAllocationList specifies, which represents the number of allocations to release.
pAllocationList
[in] An array of handles to the allocations to release.
hResource
[in/out] A handle to a resource. The display miniport driver cleans up this handle if it must release the resource along with the allocations.
Flags
[in] A DXGK_DESTROYALLOCATIONFLAGS structure that identifies how to release the allocations.
Remarks
The handles in the array that the pAllocationList member specifies are handles to allocations that the driver's DxgkDdiCreateAllocation function previously returned in the hAllocation members of DXGK_ALLOCATIONINFO structures, which are part of the DXGKARG_CREATEALLOCATION structure's pAllocationInfo member. Each allocation handle points to a buffer that contains private driver data for the allocation. The display miniport driver must release the memory for the allocations during the call to DxgkDdiDestroyAllocation.
Requirements
Minimum supported client | Available in Windows Vista and later versions of the Windows operating systems. |
Header | d3dkmddi.h (include D3dkmddi.h) |