EngEraseSurface

BOOL EngEraseSurface(

    IN SURFOBJ  *pso,
   IN RECTL  *prcl,
   IN ULONG  iColor
  );

EngEraseSurface calls GDI to erase the surface. A given rectangle on the surface will be filled with the given color.

Parameters

pso

Points to the surface to erase.

prcl

Points to a rectangle defining which pixels to erase on the surface. This rectangle is exclusive of the bottom and right edges.

iColor

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 logged.