Share via


EngDeleteSurface (Windows Embedded CE 6.0)

1/6/2010

This function deletes a specified surface.

Syntax

BOOL EngDeleteSurface(
  HSURF hsurf
);

Parameters

  • hsurf
    [in] Handle to the surface to delete. This handle can be an HSURF or HBM value.

Return Value

If the function call succeeds, this function returns a handle that identifies the surface. Otherwise, this function returns zero and logs an error code.

Remarks

This function returns TRUE if it successfully deletes the surface. Otherwise, this function returns FALSE and logs an error code.

Requirements

Header winddi.h
Library Ddi_ati_lib.lib, Ddi_flat_lib.lib, Ddi_gx_lib.lib, Ddi_mq200_lib.lib, Ddi_nop_lib.lib, Ddi_rflat_lib.lib, Ddi_rgx_lib.lib, Ddi_tvia5_lib.lib
Windows Embedded CE Windows CE 1.0 and later

See Also

Reference

GDI Functions for Display Drivers