LPDDHAL_CANCREATESURFACE (Compact 2013)

3/26/2014

This callback function indicates whether a surface can be created.

Syntax

typedef DWORD (* LPDDHAL_CANCREATESURFACE)(
  LPDDHAL_CANCREATESURFACEDATA lpccsd
);

Parameters

  • lpccsd
    [in, out] A pointer to a DDHAL_CANCREATESURFACEDATA structure that the driver uses to determine whether a surface can be created.

Return Value

Returns one of the following values:

  • DDHAL_DRIVER_HANDLED
    The request was handled although a specific action may not have been taken.
  • DDHAL_DRIVER_NOTHANDLED
    The request was not handled or processed in any way.

Note

For a complete list of the DDHAL callback return values, see DDHAL Callback Return Values.

Requirements

Header

ddrawi.h

Library

Developer Implemented

See Also

Reference

DirectDraw Display Driver Callback Functions
DDHAL_CANCREATESURFACEDATA
DDHAL Callback Return Values