public:
HRESULT OfferResources(
UINT NumResources,
IDXGIResource * const *ppResources,
DXGI_OFFER_RESOURCE_PRIORITY Priority
)
NumResources
Type: UINT
[in] The number of resources.
ppResources
Type: IDXGIResource * const *
[in] The resources, as a constant pointer to a pointer to IDXGIResource.
Priority
Type: DXGI_OFFER_RESOURCE_PRIORITY
[in] The priority of the resource, as a DXGI_OFFER_RESOURCE_PRIORITY.
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).