LPDDHALSURFCB_FLIP (Compact 2013)

3/26/2014

This callback function swaps the surface memory of the back buffer with the surface memory of the front buffer.

Syntax

DWORD (* LPDDHALSURFCB_FLIP)(
  LPDDHAL_FLIPDATA lpfd
);

Parameters

  • lpfd
    [in, out] Pointer to a DDHAL_FLIPDATA structure that the driver uses to perform a flip.

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.

Remarks

An example implementation of this callback function, Flip32, can be found in the IGS sample driver source code.

Requirements

Header

ddrawi.h

Library

Developer Implemented

See Also

Reference

DirectDrawSurface Callback Functions
DDHAL_FLIPDATA
DDHAL Callback Return Values