DXGI_DDI_ARG_RECLAIMRESOURCES - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// dxgiddi.h

typedef struct _DXGI_DDI_ARG_RECLAIMRESOURCES {
  [in]  DXGI_DDI_HDEVICE         hDevice;
  [in]  const DXGI_DDI_HRESOURCE *pResources;
  [out] BOOL                     *pDiscarded;
  [in]  UINT                     Resources;
} DXGI_DDI_ARG_RECLAIMRESOURCES;
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ns-dxgiddi-_dxgi_ddi_arg_reclaimresources)

_DXGI_DDI_ARG_RECLAIMRESOURCES structure

Description

Describes video memory resources that are to be reclaimed and that the user-mode display driver previously offered for reuse. Used with the pfnReclaimResources function by Windows Display Driver Model (WDDM) 1.2 and later user-mode display drivers.

Members

hDevice [in]

A handle to the display device (graphics context) on which the driver offers resources for reuse.

The Direct3D runtime passed this handle to the driver in the hDrvDevice member of the D3D10DDIARG_CREATEDEVICE structure when it created the device by calling the CreateDevice(D3D10) routine.

pResources [in]

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

pDiscarded [out]

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.

Resources [in]

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

See also

pfnReclaimResources