DxBobNextField routine

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

Syntax


PDX_BOBNEXTFIELD DxBobNextField;

DWORD DxBobNextField(
  PVOID HwDeviceExtension,
  PDDBOBNEXTFIELDINFO BobNextFieldInfo,
  PVOID lpOutput
)
{ ... }

Parameters

HwDeviceExtension

Points to the miniport driver's device extension.

BobNextFieldInfo

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

lpOutput

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

Header

Dxmini.h (include Ddkmini.h)

See also

DDBOBNEXTFIELDINFO
DdFlip

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft. All rights reserved.