DxGetPreviousAutoflip routine

The DxGetPreviousAutoflip callback function is called when the device is hardware autoflipping and a client of the video miniport driver wants to know which surface received the previous field of video data for capture purposes.

Syntax


PDX_GETPREVIOUSAUTOFLIP DxGetPreviousAutoflip;

DWORD DxGetPreviousAutoflip(
  PVOID HwDeviceExtension,
  PDDGETPREVIOUSAUTOFLIPININFO GetPreviousAutoflipInInfo,
  PDDGETPREVIOUSAUTOFLIPOUTINFO GetPreviousAutoflipOutInfo
)
{ ... }

Parameters

HwDeviceExtension

Points to the miniport driver's device extension.

GetPreviousAutoflipInInfo

Points to a DDGETPREVIOUSAUTOFLIPININFO structure that contains the video port extensions (VPE) object information.

GetPreviousAutoflipOutInfo

Points to a DDGETPREVIOUSAUTOFLIPOUTINFO structure that contains the index of the autoflip chain.

Return value

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

DXERR_GENERIC
DXERR_OUTOFCAPS
DXERR_UNSUPPORTED

Remarks

If interleaving, the surface that received the previous field may be the same surface that is receiving the current field.

DxGetPreviousAutoflip returns the index in the autoflip chain of the correct surface in the dwSurfaceIndex member of the DDGETPREVIOUSAUTOFLIPOUTINFO structure at GetPreviousAutoflipOutInfo.

Requirements

Header

Dxmini.h (include Dxmini.h)

See also

DDGETPREVIOUSAUTOFLIPININFO
DDGETPREVIOUSAUTOFLIPOUTINFO

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft