Compartilhar via


DD_DXAPI_GET_SURFACE_STATE control code

A video capture driver passes DD_DXAPI_GET_SURFACE_STATE in the dwFunctionNum parameter of the DxApi function to indicate whether the overlay surface is in bob or weave mode and whether it can be put into bob or weave mode.

Input Parameters

Output Parameters

Remarks

The dwStateCaps member of DDGETSURFACESTATEOUT returns the surface's capabilities, including DDSTATE_BOB and DDSTATE_WEAVE. The dwStateStatus member of DDGETSURFACESTATEOUT can return DDSTATE_BOB, DDSTATE_WEAVE, DDSTATE_SOFTWARE_AUTOFLIP (so the caller can know whether the hardware is using software or hardware autoflipping) and DDSTATE_EXPLICITLY_SET (indicating the caller is in this state due to a previous DD_DXAPI_SET_SURFACE_STATE call).

This function identifier can be called at raised IRQL.

Requirements

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

See also

DDGETSURFACESTATEIN

DDGETSURFACESTATEOUT