pfnFlush1 routine

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 pfnFlush1;

_Check_return_ HRESULT APIENTRY* pfnFlush1(
  _In_ HANDLE hDevice,
       UINT   FlushFlags
)
{ ... }

Parameters

hDevice [in]

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

Minimum supported client

Windows 8.1

Minimum supported server

Windows Server 2012 R2

Target platform

Desktop

Header

D3dumddi.h (include D3d10umddi.h)

See also

D3DDDI_FLUSH_FLAGS

 

 

Send comments about this topic to Microsoft

Show:
© 2015 Microsoft