EngDeleteSurface function (winddi.h)

The EngDeleteSurface function deletes the specified surface.

Syntax

ENGAPI BOOL EngDeleteSurface(
  [in] HSURF hsurf
);

Parameters

[in] 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.

Requirements

Requirement Value
Minimum supported client Available in Windows 2000 and later versions of the Windows operating systems.
Target Platform Universal
Header winddi.h (include Winddi.h)
Library Win32k.lib
DLL Win32k.sys