UID | title | description | old-location | tech.root | ms.date | keywords | ms.keywords | req.header | req.include-header | req.target-type | req.target-min-winverclnt | req.target-min-winversvr | req.kmdf-ver | req.umdf-ver | req.ddi-compliance | req.unicode-ansi | req.idl | req.max-support | req.namespace | req.assembly | req.type-library | req.lib | req.dll | req.irql | targetos | req.typenames | f1_keywords | topic_type | api_type | api_location | api_name | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NC:d3dumddi.PFND3DDDI_FLUSH |
PFND3DDDI_FLUSH (d3dumddi.h) |
The Flush function submits outstanding hardware commands that are in the hardware command buffer to the display miniport driver. |
display\flush.htm |
display |
05/10/2018 |
|
Flush, Flush callback function [Display Devices], PFND3DDDI_FLUSH, PFND3DDDI_FLUSH callback, UserModeDisplayDriver_Functions_a39b804f-2f41-473f-8160-4c23655c24ec.xml, d3dumddi/Flush, display.flush |
d3dumddi.h |
D3dumddi.h |
Desktop |
Available in Windows Vista and later versions of the Windows operating systems. |
Windows |
|
|
|
|
|
The Flush function submits outstanding hardware commands that are in the hardware command buffer to the display miniport driver.
A handle to the display device (graphics context).
Flush returns one of the following values:
Return code | Description |
---|---|
S_OK | Hardware commands were successfully flushed. |
E_OUTOFMEMORY | Flush could not allocate the required memory for it to complete. |
The Microsoft Direct3D runtime can call the user-mode display driver's Flush function at any time to notify the user-mode display driver to submit any outstanding hardware commands that are in the hardware command buffer to the display miniport driver. However, a call to Flush should never cause the user-mode display driver to submit invalid commands to the display miniport driver.
To submit commands to the display miniport driver, the user-mode display driver's Flush function should typically call the runtime's pfnRenderCb function.