DxGetCurrentAutoflip routine

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

Syntax


PDX_GETCURRENTAUTOFLIP DxGetCurrentAutoflip;

DWORD DxGetCurrentAutoflip(
   PVOID                        HwDeviceExtension,
   PDDGETCURRENTAUTOFLIPININFO  GetCurrentAutoflipInInfo,
   PDDGETCURRENTAUTOFLIPOUTINFO GetCurrentAutoflipOutInfo
)
{ ... }

Parameters

HwDeviceExtension

Points to the miniport driver's device extension.

GetCurrentAutoflipInInfo

Points to the DDGETCURRENTAUTOFLIPININFO structure that contains the VPE object information.

GetCurrentAutoflipOutInfo

Points to the DDGETCURRENTAUTOFLIPOUTINFO structure that contains the surface information.

Return value

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

DXERR_GENERIC
DXERR_OUTOFCAPS
DXERR_UNSUPPORTED

Remarks

The DxGetCurrentAutoflip function returns the current index in the autoflip chain of the current surface in the dwSurfaceIndex member of the DDGETCURRENTAUTOFLIPOUTINFO structure at GetCurrentAutoflipOutInfo.

Requirements

Target platform

Desktop

Header

Dxmini.h (include Dxmini.h)

See also

DDGETCURRENTAUTOFLIPININFO
DDGETCURRENTAUTOFLIPOUTINFO

 

 

Send comments about this topic to Microsoft

Show:
© 2015 Microsoft