D3DKMT_DESTROYALLOCATION structure (d3dkmthk.h)

The D3DKMT_DESTROYALLOCATION structure describes parameters for releasing allocations.

Syntax

typedef struct _D3DKMT_DESTROYALLOCATION {
  [in] D3DKMT_HANDLE hDevice;
  [in] D3DKMT_HANDLE hResource;
  void          D3DKMT_PTR(
    const D3DKMT_HANDLE *unnamedParam1,
    phAllocationList    unnamedParam2
  );
  [in] UINT          AllocationCount;
} D3DKMT_DESTROYALLOCATION;

Members

[in] hDevice

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

[in] hResource

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.

void D3DKMT_PTR( const D3DKMT_HANDLE *unnamedParam1, phAllocationList unnamedParam2)

[in] AllocationCount

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

Requirement Value
Minimum supported client Windows Vista
Header d3dkmthk.h (include D3dkmthk.h)

See also

D3DKMTDestroyAllocation