PDX_BOBNEXTFIELD callback function (dxmini.h)

The DxBobNextField callback function bobs the next field of interleaved data.

Syntax

PDX_BOBNEXTFIELD PdxBobnextfield;

DWORD PdxBobnextfield(
  PVOID unnamedParam1,
  PDDBOBNEXTFIELDINFO unnamedParam2,
  PVOID unnamedParam3
)
{...}

Parameters

unnamedParam1

Points to the miniport driver's device extension.

unnamedParam2

Points to a DDBOBNEXTFIELDINFO structure that contains the bob information for the surface.

unnamedParam3

Reserved for system use.

Return value

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

DXERR_GENERIC

DXERR_OUTOFCAPS

DXERR_UNSUPPORTED

Remarks

When data is interleaved, the driver's DdFlip function is called every other frame. This is insufficient for bob because it must be notified after every V-sync. The driver's DxBobNextField function is called when a V-sync does not cause a flip.

Requirements

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

See also

DDBOBNEXTFIELDINFO

DdFlip