Compartilhar via


DD_DXAPI_GET_LAST_VP_AUTOFLIP_SURFACE control code

A video capture driver passes DD_DXAPI_GET_LAST_VP_AUTOFLIP_SURFACE in the dwFunctionNum parameter of the DxApi function to return the surface handles that received the most recent field of data written to the frame buffer (taking field skipping into account).

Input Parameters

  • lpvInBuffer
    Pointer to a DDGETAUTOFLIPIN structure that contains the required handle information.

Output Parameters

  • lpvOutBuffer
    Pointer to a DDGETAUTOFLIPOUT structure that contains the surface information and the VBI data from the hardware video port.

Remarks

The surfaces returned by this function identifier may be the same surfaces that are receiving the current field if the hardware video port is interleaving the data. This function identifier also returns the polarity of the field most recently written to the frame buffer, where the bPolarity member of DDGETAUTOFLIPOUT is set to TRUE if the field was the even field of an interlaced video signal. An error is returned in the ddRVal member of DDGETAUTOFLIPOUT if the hardware video port is not in autoflip mode.

This function identifier can be called at raised IRQL.

Requirements

Header file: Ddkmapi.h (include Ddkmapi.h)

See also

DDGETAUTOFLIPIN

DDGETAUTOFLIPOUT