Microsoft Windows CE 3.0  

DDHAL_UPDATEVPORTDATA

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_UPDATEVPORTDATAstructure contains the information required to start, stop, and change the video port. This structure passes the information to the DirectDraw HAL UpdateVideoPortcallback function.

typedef struct _DDHAL_UPDATEVPORTDATA {
LPDDRAWI_DIRECTDRAW_LCL
lpDD
;
LPDDRAWI_DDVIDEOPORT_LCL
lpVideoPort
;
LPDDRAWI_DDRAWSURFACE_INT *
lplpDDSurface
;
LPDDRAWI_DDRAWSURFACE_INT
*
lplpDDVBISurface
;
LPDDVIDEOPORTINFO
lpVideoInfo
;
DWORD
dwFlags
;
DWORD
dwNumAutoflip
;
DWORD
dwNumVBIAutoflip
;
HRESULT
ddRVal
;
LPDDHALVPORTCB_UPDATE
UpdateVideoPort
;
} DDHAL_UPDATEVPORTDATA;

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.
lplpDDSurface
Pointer to an array of surface structures that represent regular video surfaces. This member points to an array of surface structures to accommodate autoflipping.
lplpDDVBISurface
Pointer to an array of surface structures that represent VBI surfaces. This member points to an array of surface structures to accommodate autoflipping.
lpVideoInfo
Pointer to a DDVIDEOPORTINFOstructure that describes the transfer of video data to a surface.
dwFlags
Control flags for the video port. One of the following:
Flag Usage
DDRAWI_VPORTSTART Indicates that the video port is being started.
DDRAWI_VPORTSTOP Indicates that the video port is being stopped.
DDRAWI_VPORTUPDATE Indicates that the video port is being updated.
dwNumAutoflip
Contains the number of surfaces in the list if autoflipping is requested. If this value is greater than 1, lplpDDSurfaceand lplpDDVBISurfaceare arrays.
dwNumVBIAutoflip
Contains the number of surfaces in the list if autoflipping is requested. This pertains to devices that can pump the VBI data to a different surface. If this value is greater than 1, lplpDDSurfaceand lplpDDVIBSurfaceare arrays.
ddRVal
Passes the DirectDraw return values.
UpdateVideoPort
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.