DxFlipVideoPort routine

The DxFlipVideoPort callback function is called when a client of the video miniport driver wants to flip the video port extensions (VPE) object or when autoflipping is enabled.

Syntax


PDX_FLIPVIDEOPORT DxFlipVideoPort;

DWORD DxFlipVideoPort(
  PVOID HwDeviceExtension,
  PDDFLIPVIDEOPORTINFO FlipVideoPortInfo,
  PVOID lpOutput
)
{ ... }

Parameters

HwDeviceExtension

Points to the miniport driver's device extension.

FlipVideoPortInfo

Points to the DDFLIPVIDEOPORTINFO structure that contains the flip information for the surface and VPE object.

lpOutput

Reserved for system use.

Return value

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

DXERR_GENERIC
DXERR_OUTOFCAPS
DXERR_UNSUPPORTED

Remarks

The dwFlipVPFlags member of the DDFLIPVIDEOPORTINFO structure at FlipVideoPortInfo uses the DDVPFLIP_VIDEO or DDVPFLIP_VBI flag to indicate whether the surfaces represent VBI surfaces or regular surfaces.

Requirements

Header

Dxmini.h (include Dxmini.h)

See also

DDFLIPVIDEOPORTINFO

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft