// d3d10umddi.h
PFND3D10DDI_RESOURCEUNMAP Pfnd3d10ddiResourceunmap;
VOID Pfnd3d10ddiResourceunmap(
D3D10DDI_HDEVICE unnamedParam1,
D3D10DDI_HRESOURCE unnamedParam2,
UINT unnamedParam3
)
{...}
View the official Windows Driver Kit DDI referenceNo description available.
The ResourceUnmap function unmaps a subresource of a resource.
unnamedParam1hDevice [in]
A handle to the display device (graphics context).
unnamedParam2hResource [in]
A handle to the resource to unmap.
unnamedParam3Subresource [in]
An index that indicates the subresource to unmap.
The driver can use the pfnSetErrorCb callback function to set an error code.
The driver can call pfnSetErrorCb to set the D3DDDIERR_DEVICEREMOVED error code; however, the driver is not required to set D3DDDIERR_DEVICEREMOVED if the device was removed. Calls to pfnSetErrorCb to set any other error code are critical.
For Windows Display Driver Model (WDDM) 1.3 and later drivers, the Microsoft Direct3D runtime supplies a restricted set of input values used by this function. For a list of all restricted values, see Direct3D rendering performance improvements.