// d3dumddi.h
PFND3DDDI_FLUSH1 Pfnd3dddiFlush1;
HRESULT Pfnd3dddiFlush1(
HANDLE hDevice,
UINT FlushFlags
)
{...}
View the official Windows Driver Kit DDI referenceNo description available.
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.
hDeviceA handle to the display device (graphics context).
FlushFlagsA 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.
If this routine succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.