PFND3DDDI_FLUSH1 callback function (d3dumddi.h)
Called by the Microsoft Direct3D runtime to submit outstanding hardware commands that are in the hardware command buffer to the display miniport driver. Must be implemented by Windows Display Driver Model (WDDM) 1.3 and later user-mode display drivers.
Syntax
PFND3DDDI_FLUSH1 Pfnd3dddiFlush1;
HRESULT Pfnd3dddiFlush1(
HANDLE hDevice,
UINT FlushFlags
)
{...}
Parameters
hDevice
A handle to the display device (graphics context).
FlushFlags
A value from the D3DDDI_FLUSH_FLAGS enumeration that indicates whether the driver should continue to submit command buffers if there have been no new commands.
Return value
If this routine succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 8.1 |
Minimum supported server | Windows Server 2012 R2 |
Target Platform | Desktop |
Header | d3dumddi.h (include D3d10umddi.h) |