PFND3DDDI_PRESENT1 callback function (d3dumddi.h)
Notifies the user-mode display driver that an application finished rendering and that all ownership of the shared resource is released, and requests that the driver display to the destination surface.
Syntax
PFND3DDDI_PRESENT1 Pfnd3dddiPresent1;
HRESULT Pfnd3dddiPresent1(
HANDLE hDevice,
D3DDDIARG_PRESENT1 *unnamedParam2
)
{...}
Parameters
hDevice
A handle to the display device (graphics context).
unnamedParam2
pPresentData [in]
A pointer to a D3DDDIARG_PRESENT1 structure that describes how to display to the destination surface.
Return value
Returns S_OK or an appropriate error result if the function does not complete successfully.
Remarks
The user-mode display driver must submit all partially built render data (command buffers) by calling the pfnRenderCb function. The driver must make only a single call to pfnRenderCb.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 8.1,WDDM 1.3 and later |
Minimum supported server | Windows Server 2012 R2 |
Target Platform | Desktop |
Header | d3dumddi.h (include D3d10umddi.h) |