DDHAL_GETVPORTBANDWIDTHDATA (Windows CE 5.0)

Send Feedback

This structure contains the bandwidth information for any specified format. This structure passes the information to the DirectDraw hardware abstraction layer (DDHAL) GetVideoPortBandwidth callback function.

typedef struct _DDHAL_GETVPORTBANDWIDTHDATA {LPDDRAWI_DIRECTDRAW_LCLlpDD;LPDDRAWI_DDVIDEOPORT_LCLlpVideoPort;LPDDPIXELFORMATlpddpfFormat;DWORDdwWidth;DWORDdwHeight;DWORDdwFlags;LPDDVIDEOPORTBANDWIDTHlpBandwidth;HRESULTddRVal;LPDDHALVPORTCB_GETBANDWIDTHGetVideoPortBandwidth;} DDHAL_GETVPORTBANDWIDTHDATA;

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.

  • lpddpfFormat**
    Pointer to a DDPIXELFORMAT structure that contains the pixel format of the surface.

  • dwWidth, dwHeight
    Dimensions of an overlay or video data. The interpretation of these parameters depends on the value specified in the dwFlags member.

  • dwFlags**
    Flags indicating how the method is to interpret the dwWidth and dwHeight members. One of the following values.

    The following table shows the possible flags.

    Flag Description
    DDVPB_OVERLAY The dwWidth and dwHeight members indicate the size of the source overlay surface. Use this flag when the video port is dependent on the overlay source size.
    DDVPB_TYPE The dwWidth and dwHeight members are not set.
    DDVPB_VIDEOPORT The dwWidth and dwHeight members indicate the prescale size of the video data that the video port writes to the frame buffer. Use this flag when the video port is dependent on the overlay zoom factor.
  • lpBandwidth**
    Pointer to the DDVIDEOPORTBANDWIDTH structure that contains the bandwidth parameters.

  • ddRVal**
    Passes the DirectDraw return values.

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

Requirements

OS Versions: Windows CE 2.12 and later. Version 2.12 requires DXPAK 1.0 or later.
Header: Ddrawi.h.

See Also

GetVideoPortBandwidth | DDRAWI_DIRECTDRAW_LCL | DDPIXELFORMAT | DDVIDEOPORTBANDWIDTH | Video Port Structures

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.