_D3DDDICB_DEALLOCATE structure

The D3DDDICB_DEALLOCATE structure describes allocations to release.

Syntax

typedef struct _D3DDDICB_DEALLOCATE {
  HANDLE              hResource;
  UINT                NumAllocations;
  CONST D3DKMT_HANDLE *HandleList;
} D3DDDICB_DEALLOCATE;

Members

hResource

[in] A handle to a resource whose associated allocations must be released. If the user-mode display driver uses the array that is specified by HandleList to specify the allocations to release, it sets hResource to NULL.

NumAllocations

[in] The number of allocations in the HandleList array. If the user-mode display driver sets the handle in the hResource member to non-NULL, NumAllocations is ignored by the Microsoft Direct3D runtime.

HandleList

[in] An array of D3DKMT_HANDLE data types that represent kernel-mode handles to the allocations. The Direct3D runtime's pfnAllocateCb function returns these handles. Therefore, the user-mode display driver uses these handles to release the allocations.

If the user-mode display driver sets the handle in the hResource member to non-NULL, HandleList is ignored by the Direct3D runtime.

Requirements

   
Windows version Available in Windows Vista and later versions of the Windows operating systems.
Header d3dumddi.h (include D3dumddi.h)

See Also

pfnDeallocateCb