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
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. |
Last updated on Tuesday, July 13, 2004