PFND3DDDI_COLORFILL callback function

The ColorFill function fills a rectangle on the surface with a particular color.

Syntax

PFND3DDDI_COLORFILL Pfnd3dddiColorfill;

HRESULT Pfnd3dddiColorfill(
  HANDLE hDevice,
  const D3DDDIARG_COLORFILL *Arg2
)
{...}

Parameters

hDevice

A handle to the display device (graphics context).

Arg2

pData [in]

A pointer to a D3DDDIARG_COLORFILL structure that describes the parameters of the color-fill operation.

Return Value

ColorFill returns S_OK or an appropriate error result if the color-fill operation is not successfully performed.

Requirements

   
Minimum supported client Available in Windows Vista and later versions of the Windows operating systems.
Target Platform Desktop
Header d3dumddi.h (include D3dumddi.h)

See Also

D3DDDIARG_COLORFILL

D3DDDI_DEVICEFUNCS