Microsoft Windows CE 3.0  

DDHAL_WAITFORVPORTSYNCDATA

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_WAITFORVPORTSYNCDATAstructure contains the information required to sync the video port. This structure passes the information to the DirectDraw HAL WaitForVideoPortSynccallback function.

typedef struct _DDHAL_WAITFORVPORTSYNCDATA {
LPDDRAWI_DIRECTDRAW_LCL
lpDD
;
LPDDRAWI_DDVIDEOPORT_LCL
lpVideoPort
;
DWORD
dwFlags
;
DWORD
dwLine
;
DWORD
dwTimeOut
;
HRESULT
ddRVal
;
LPDDHALVPORTCB_WAITFORSYNC
WaitForVideoPortSync
;
} DDHAL_WAITFORVPORTSYNCDATA;

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.
dwFlags
Control flags for video synchronization.
Flag Usage
DDVPWAIT_BEGIN Waits until the beginning of the next V-sync.
DDVPWAIT_END Waits until the end of the next/current V-sync.
DDVPWAIT_LINE Waits until the beginning of the specified line.
dwLine
Indicates the line number on which to synchronize.
dwTimeOut
Indicates the maximum amount of time to wait, in milliseconds, before timing out.
ddRVal
Passes the DirectDraw return values.
WaitForVideoPortSync
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.