DD_GETVPORTFIELDDATA structure (ddrawint.h)

The DD_GETVPORTFIELDDATA structure contains the information required for the driver to determine whether the current field of an interlaced signal is even or odd.

Syntax

typedef struct _DD_GETVPORTFIELDDATA {
  PDD_DIRECTDRAW_LOCAL lpDD;
  PDD_VIDEOPORT_LOCAL  lpVideoPort;
  BOOL                 bField;
  HRESULT              ddRVal;
  VOID                 *GetVideoPortField;
} *PDD_GETVPORTFIELDDATA, DD_GETVPORTFIELDDATA;

Members

lpDD

Points to a DD_DIRECTDRAW_LOCAL structure that is relevant to the current Microsoft DirectDraw process only.

lpVideoPort

Points to a DD_VIDEOPORT_LOCAL structure that represents this video port extensions (VPE) object.

bField

Specifies the location in which the driver should indicate the polarity of the field. This member should be set to TRUE if the current field is the even field of an interlaced signal and to FALSE if the current field is the odd field.

ddRVal

Specifies the location in which the driver writes the return value of the DdVideoPortGetField callback. A return code of DD_OK indicates success. For more information, see Return Values for DirectDraw.

GetVideoPortField

Used by the DirectDraw API and should not be filled in by the driver.

Requirements

Requirement Value
Header ddrawint.h (include Winddi.h)

See also

DdVideoPortGetField