Microsoft Windows CE 3.0  

DDHAL_GETVPORTBANDWIDTHDATA

Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

The DDHAL_GETVPORTBANDWIDTHDATAstructure contains the bandwidth information for any specified format. This structure passes the information to the DirectDraw HAL GetVideoPortBandwidthcallback function.

typedef struct _DDHAL_GETVPORTBANDWIDTHDATA {
LPDDRAWI_DIRECTDRAW_LCL
lpDD
;
LPDDRAWI_DDVIDEOPORT_LCL
lpVideoPort
;
LPDDPIXELFORMAT
lpddpfFormat
;
DWORD
dwWidth
;
DWORD
dwHeight
;
DWORD
dwFlags
;
LPDDVIDEOPORTBANDWIDTH
lpBandwidth
;
HRESULT
ddRVal
;
LPDDHALVPORTCB_GETBANDWIDTH
GetVideoPortBandwidth
;
} DDHAL_GETVPORTBANDWIDTHDATA;

Members

lpDD
Pointer to the DDRAWI_DIRECTDRAW_LCLstructure that represents the DirectDraw object.
lpVideoPort
Pointer to the DDRAWI_DDVIDEOPORT_LCLstructure that represents this video port.
lpddpfFormat
Pointer to a DDPIXELFORMATstructure that contains the pixel format of the surface.
dwWidthand dwHeight
Dimensions of an overlay or video data. The interpretation of these parameters depends on the value specified in the dwFlagsmember.
dwFlags
Flags indicating how the method is to interpret the dwWidthand dwHeightmembers. One of the following values:
Flag Usage
DDVPB_OVERLAY The dwWidthand dwHeightmembers 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 dwWidthand dwHeightmembers are not set.
DDVPB_VIDEOPORT The dwWidthand dwHeightmembers 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 DDVIDEOPORTBANDWIDTHstructure 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.

 Last updated on Tuesday, July 13, 2004

© 2004 Microsoft Corporation. All rights reserved.