D3DKMT_DESTROYALLOCATION structure

The D3DKMT_DESTROYALLOCATION structure describes parameters for releasing allocations.

Syntax


typedef struct _D3DKMT_DESTROYALLOCATION {
  D3DKMT_HANDLE       hDevice;
  D3DKMT_HANDLE       hResource;
  const D3DKMT_HANDLE *phAllocationList;
  UINT                AllocationCount;
} D3DKMT_DESTROYALLOCATION;

Members

hDevice

[in] A D3DKMT_HANDLE data type that represents a kernel-mode handle to the device that the resource, allocations, or both are associated with.

hResource

[in] A D3DKMT_HANDLE data type that represents a kernel-mode handle to the resource that is associated with the allocations when releasing a resource. If a resource handle is specified, all of the allocations that are associated with it are automatically released.

phAllocationList

[in] An array of D3DKMT_HANDLE data types that represent kernel-mode handles to the allocations. If any allocation in the list is associated with a resource, all of the allocations in the list must also be associated with the same resource. If the OpenGL ICD sets the handle in the hResource member to a non-NULL value, the ICD must set phAllocationList to NULL.

AllocationCount

[in] The number of allocations in the array that phAllocationList specifies. If the OpenGL ICD sets the handle in the hResource member to a non-NULL value, the AllocationCount member is ignored by the OpenGL runtime.

Requirements

Version

Available in Windows Vista and later versions of the Windows operating systems.

Header

D3dkmthk.h (include D3dkmthk.h)

See also

D3DKMTDestroyAllocation

 

 

Send comments about this topic to Microsoft

Show: