DD_GETVPORTINPUTFORMATDATA structure (ddrawint.h)

The DD_GETVPORTINPUTFORMATDATA structure contains the information required for the driver to return the input formats that the video port extensions (VPE) object can accept.

Syntax

typedef struct _DD_GETVPORTINPUTFORMATDATA {
  PDD_DIRECTDRAW_LOCAL lpDD;
  PDD_VIDEOPORT_LOCAL  lpVideoPort;
  DWORD                dwFlags;
  LPDDPIXELFORMAT      lpddpfFormat;
  DWORD                dwNumFormats;
  HRESULT              ddRVal;
  VOID                 *GetVideoPortInputFormats;
} *PDD_GETVPORTINPUTFORMATDATA, DD_GETVPORTINPUTFORMATDATA;

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 VPE object.

dwFlags

Indicates the type of formats for which support is being queried. This member can be one or more of the following values:

Flag Meaning
DDVPFORMAT_VBI The driver should return formats for the VBI data.
DDVPFORMAT_VIDEO The driver should return formats for the video data.

lpddpfFormat

Points to an array of DDPIXELFORMAT structures in which the driver should write the pixel formats supported by the VPE object. This member can be NULL.

dwNumFormats

Specifies the location in which the driver should write the number of formats that the VPE object supports.

ddRVal

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

GetVideoPortInputFormats

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

DdVideoPortGetInputFormats