// d3d10umddi.h
PFND3D10DDI_STATE_RS_VIEWPORTS_CB Pfnd3d10ddiStateRsViewportsCb;
void Pfnd3d10ddiStateRsViewportsCb(
D3D10DDI_HRTCORELAYER unnamedParam1
)
{...}
View the official Windows Driver Kit DDI referenceNo description available.
The pfnStateRsViewportsCb function causes the Microsoft Direct3D 10 runtime to refresh the viewport state.
unnamedParam1hRuntimeDevice [in]
A handle to a context for the core Direct3D 10 runtime. This handle is supplied to the driver in a call to the driver's CreateDevice(D3D10) function.
The pfnStateRsViewportsCb function calls the user-mode display driver's SetViewports function with all of the currently set viewports.
D3D10DDI_CORELAYER_DEVICECALLBACKS