Share via


EngDeleteSurface (Compact 2013)

3/26/2014

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

See Also

Reference

GDI Functions for Display Drivers