PDX_FLIPVIDEOPORT callback function (dxmini.h)

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 PdxFlipvideoport;

DWORD PdxFlipvideoport(
  PVOID unnamedParam1,
  PDDFLIPVIDEOPORTINFO unnamedParam2,
  PVOID unnamedParam3
)
{...}

Parameters

unnamedParam1

Points to the miniport driver's device extension.

unnamedParam2

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

unnamedParam3

Reserved for system use.

Return value

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

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

Requirement Value
Target Platform Desktop
Header dxmini.h (include Dxmini.h)

See also

DDFLIPVIDEOPORTINFO