DD_GETVPORTOUTPUTFORMATDATA structure (ddrawint.h)
The DD_GETVPORTOUTPUTFORMATDATA structure contains the information required for the driver to return all of the output formats that the video port extensions (VPE) object supports for a given input format.
Syntax
typedef struct _DD_GETVPORTOUTPUTFORMATDATA {
PDD_DIRECTDRAW_LOCAL lpDD;
PDD_VIDEOPORT_LOCAL lpVideoPort;
DWORD dwFlags;
LPDDPIXELFORMAT lpddpfInputFormat;
LPDDPIXELFORMAT lpddpfOutputFormats;
DWORD dwNumFormats;
HRESULT ddRVal;
VOID *GetVideoPortInputFormats;
} *PDD_GETVPORTOUTPUTFORMATDATA, DD_GETVPORTOUTPUTFORMATDATA;
Members
lpDD
Points to the DD_DIRECTDRAW_LOCAL structure that is relevant to the current Microsoft DirectDraw process only.
lpVideoPort
Points to the DD_VIDEOPORT_LOCAL structure that represents this VPE object.
dwFlags
Indicates the type of output 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. |
lpddpfInputFormat
Points to a DDPIXELFORMAT structure that contains an input format supported by the VPE object. This format was returned by DdVideoPortGetInputFormats.
lpddpfOutputFormats
Points to an array of DDPIXELFORMAT structures in which the driver should return the output formats that the VPE object supports for the input format specified by lpddpfInputFormat. This member can be NULL.
dwNumFormats
Specifies the location in which the driver should return the number of output formats that the VPE object supports for the specified input format.
ddRVal
Specifies the location in which the driver writes the return value of the DdVideoPortGetOutputFormats callback. A return code of DD_OK indicates success. For more information, see Return Values for DirectDraw.
GetVideoPortInputFormats
Unused: Win95 compatibility
Requirements
Requirement | Value |
---|---|
Header | ddrawint.h (include Winddi.h) |