OfferResourcesDXGI routine
[This documentation is preliminary and is subject to change.]
Called by the Microsoft DirectX Graphics Infrastructure (DXGI) runtime to request that the user-mode display driver offer video memory resources for reuse.
Syntax
HRESULT __stdcall* OfferResourcesDXGI(
DXGI_DDI_ARG_OFFERRESOURCES *pResources
);
Parameters
- pResources
[in] A pointer to a DXGI_DDI_ARG_OFFERRESOURCES structure that defines the video memory resources that the driver offers.
Return value
Returns one of the following values.
| Return code | Description |
|---|---|
| S_OK | The video memory resources were successfully offered. |
| D3DDDIERR_DEVICEREMOVED | The driver detected that the display adapter was removed, so the driver did not complete the operation. If the driver is not aware of the adapter removal, the driver is not required to return this error code. |
Remarks
This function is declared in D3d10umddi.h as follows.
HRESULT ( __stdcall /*APIENTRY*/ * pfnOfferResources ) (DXGI_DDI_ARG_OFFERRESOURCES*);
Requirements
Minimum supported client |
Windows 8 Release Preview |
Minimum supported server |
Windows Server 2012 |
Header |
Dxgiddi.h (include D3d10umddi.h) |
See also
Send comments about this topic to Microsoft
Build date: 5/10/2012