Expand Minimize

EngEraseSurface function

The EngEraseSurface function calls GDI to erase the surface; a given rectangle on the surface will be filled with the given color.

Syntax


BOOL EngEraseSurface(
  SURFOBJ *pso,
  RECTL *prcl,
  _In_  ULONG iColor
);

Parameters

pso

Pointer to the surface to erase.

prcl

Pointer to a RECTL structure that defines which pixels to erase on the surface. This rectangle is exclusive of the bottom and right edges.

iColor [in]

Specifies a color index. This is an index to the value that will be written into each pixel.

Return value

The return value is TRUE if the function is successful. Otherwise, it is FALSE, and an error code is reported.

Requirements

Version

Available in Windows 2000 and later versions of the Windows operating systems.

Header

Winddi.h (include Winddi.h)

Library

Win32k.lib

DLL

Win32k.sys

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft