PDX_GETCURRENTAUTOFLIP callback function (dxmini.h)
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 PdxGetcurrentautoflip;
DWORD PdxGetcurrentautoflip(
PVOID unnamedParam1,
PDDGETCURRENTAUTOFLIPININFO unnamedParam2,
PDDGETCURRENTAUTOFLIPOUTINFO unnamedParam3
)
{...}
Parameters
unnamedParam1
Points to the miniport driver's device extension.
unnamedParam2
Points to the DDGETCURRENTAUTOFLIPININFO structure that contains the VPE object information.
unnamedParam3
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:
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
Requirement | Value |
---|---|
Target Platform | Desktop |
Header | dxmini.h (include Dxmini.h) |