DxFlipOverlay routine

The DxFlipOverlay callback function is called when a client of the video miniport driver wants to flip the overlay or when autoflipping is enabled.

Syntax


PDX_FLIPOVERLAY DxFlipOverlay;

DWORD DxFlipOverlay(
  PVOID HwDeviceExtension,
  PDDFLIPOVERLAYINFO FlipOverlayInfo,
  PVOID lpOutput
)
{ ... }

Parameters

HwDeviceExtension

Points to the miniport driver's device extension.

FlipOverlayInfo

Points to the DDFLIPOVERLAYINFO structure that contains the flip information for the surface.

lpOutput

Reserved for system use.

Return value

DxFlipOverlay returns DX_OK if it succeeds; otherwise, it returns one of the following error values:

DXERR_GENERIC
DXERR_OUTOFCAPS
DXERR_UNSUPPORTED

Remarks

If a hardware video port is not used and the client still wants the overlay to bob the data, the dwFlags member of the DDFLIPOVERLAYINFO structure at FlipOverlayInfo specifies the polarity of the data in the field being flipped (using the DDFLIP_EVEN or DDFLIP_ODD flags). These flags are not used when flipping a surface that is fed by a hardware video port.

Requirements

Header

Dxmini.h (include Dxmini.h)

See also

DDFLIPOVERLAYINFO

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft