D3DDDIARG_RECLAIMRESOURCES structure (d3dumddi.h)

Describes video memory resources that are to be reclaimed and that the user-mode display driver previously offered for reuse. Used with the ReclaimResources function.

Syntax

typedef struct _D3DDDIARG_RECLAIMRESOURCES {
  [in]  HANDLE *pResources;
  [out] BOOL   *pDiscarded;
  [in]  UINT   Resources;
} D3DDDIARG_RECLAIMRESOURCES;

Members

[in] pResources

A pointer to an array of handles to the resources that are to be reclaimed.

[out] pDiscarded

An optional array of Boolean values that specify whether each resource or allocation was discarded.

Each Boolean value in this array corresponds to a resource at the same index location in the structure pointed to by pResources.

The driver sets each Boolean value to TRUE if the corresponding resource was discarded, or to FALSE if not.

If pDiscarded is NULL, the driver can ignore it.

[in] Resources

The number of elements in the arrays pointed to by pResources and pDiscarded.

Requirements

Requirement Value
Minimum supported client Windows 8
Minimum supported server Windows Server 2012
Header d3dumddi.h

See also

CreateDevice(D3D10)

ReclaimResources