PDX_GETPOLARITY callback function (dxmini.h)

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 PdxGetpolarity;

DWORD PdxGetpolarity(
  PVOID unnamedParam1,
  PDDGETPOLARITYININFO unnamedParam2,
  PDDGETPOLARITYOUTINFO unnamedParam3
)
{...}

Parameters

unnamedParam1

Points to the miniport driver's device extension.

unnamedParam2

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

unnamedParam3

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:

Remarks

The DDGETPOLARITYININFO and DDGETPOLARITYOUTINFO structures contain VPE object information.

Requirements

Requirement Value
Target Platform Desktop
Header dxmini.h (include Dxmini.h)

See also

DDGETPOLARITYININFO

DDGETPOLARITYOUTINFO