DDHAL_GETVPORTINPUTFORMATDATA

The DDHAL_GETVPORTINPUTFORMATDATA structure contains all the formats the specified video port can accept. This structure passes the information to the DirectDraw HAL GetVideoPortInputFormats callback function.

typedef struct _DDHAL_GETVPORTINPUTFORMATDATA
{
LPDDRAWI_DIRECTDRAW_LCL     lpDD;
LPDDRAWI_DDVIDEOPORT_LCL    lpVideoPort;
DWORD                       dwFlags;
LPDDPIXELFORMAT             lpddpfFormat;
DWORD                       dwNumFormats;
HRESULT                     ddRVal;
LPDDHALVPORTCB_GETINPUTFORMATS GetVideoPortInputFormats;
} DDHAL_GETVPORTINPUTFORMATDATA;

Members

  • lpDD
    Pointer to the DDRAWI_DIRECTDRAW_LCL structure that represents the DirectDraw object.

  • lpVideoPort
    Pointer to the DDRAWI_DDVIDEOPORT_LCL structure that represents this video port.

  • dwFlags
    Indicates the type of formats. One or more of the following:

    Flag Usage
    DDVPFORMAT_VBI Return formats for the VBI data.
    DDVPFORMAT_VIDEO Return formats for the video data.
  • lpddpfFormat
    Pointer to a DDPIXELFORMAT structure that contains the pixel formats supported by the DirectDraw object.

  • dwNumFormats
    Contains the number of formats the video port can accept.

  • ddRVal
    Passes the DirectDraw return values.

  • GetVideoPortInputFormats
    This member is used by DirectDraw and should not be filled in by the driver.

 Last updated on Tuesday, July 13, 2004

© 1992-2000 Microsoft Corporation. All rights reserved.