Previous Next

EngDeleteSurface

The EngDeleteSurface function deletes the specified surface.

BOOL
  EngDeleteSurface(
    IN HSURF  hsurf
    );

Parameters

hsurf
Handle to the surface to delete. This handle can be an HSURF or HBM.

Return Value

EngDeleteSurface returns TRUE if it is successful in deleting the surface. Otherwise, it returns FALSE and an error code is logged.

Headers

Declared in winddi.h. Include winddi.h.