public:
HRESULT ReclaimResources(
UINT NumResources,
IDXGIResource * const *ppResources,
BOOL *pDiscarded
)
NumResources
Type: UINT
[in] The number of resources to reclaim.
ppResources
Type: IDXGIResource * const *
[in] The resource, as a constant pointer to a pointer to IDXGIResource.
pDiscarded
Type: BOOL *
[out, optional] Whether the resource has been discarded.
Type: HRESULT
Returns S_OK if successful; otherwise, DXGI_ERROR_DEVICE_REMOVED if the device was removed.
Header: Declared in d3d11_x.h (dxgi1_2.h on other Windows platforms).
Library: Use d3d11_x.lib (dxgi.lib on other Windows platforms).