PDX_GETPOLARITY callback function

The DxGetPolarity callback function returns the polarity (even or odd) of the current field being written by the video port extensions (VPE) object.

Syntax


PDX_GETPOLARITY DxGetPolarity;

DWORD DxGetPolarity(
   PVOID                 HwDeviceExtension,
   PDDGETPOLARITYININFO  GetPolarityInInfo,
   PDDGETPOLARITYOUTINFO GetPolarityOutInfo
)
{ ... }

Parameters

HwDeviceExtension

Points to the miniport driver's device extension.

GetPolarityInInfo

Points to a DDGETPOLARITYININFO structure that contains the VPE object from which to get the polarity information.

GetPolarityOutInfo

Points to a DDGETPOLARITYOUTINFO structure that contains the polarity information for the specified VPE object.

Return value

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

DXERR_GENERIC
DXERR_OUTOFCAPS
DXERR_UNSUPPORTED

Remarks

The DDGETPOLARITYININFO and DDGETPOLARITYOUTINFO structures contain VPE object information.

Requirements

Target platform

Desktop

Header

Dxmini.h (include Dxmini.h)

See also

DDGETPOLARITYININFO
DDGETPOLARITYOUTINFO

 

 

Send comments about this topic to Microsoft

Show: