DDHAL_WAITFORVPORTSYNCDATA (Windows CE 5.0)
This structure contains the information required to sync the video port. This structure passes the information to the DirectDraw hardware abstraction layer (DDHAL) WaitForVideoPortSync callback function.
typedef struct _DDHAL_WAITFORVPORTSYNCDATA {LPDDRAWI_DIRECTDRAW_LCLlpDD;LPDDRAWI_DDVIDEOPORT_LCLlpVideoPort;DWORDdwFlags;DWORDdwLine;DWORDdwTimeOut;HRESULTddRVal;LPDDHALVPORTCB_WAITFORSYNCWaitForVideoPortSync;} DDHAL_WAITFORVPORTSYNCDATA;
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.dwFlags**
Control flags for video synchronization.The following table shows the possible flags.
Flag Description DDVPWAIT_BEGIN Waits until the beginning of the next V-sync. DDVPWAIT_END Waits until the end of the next or 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.
Requirements
OS Versions: Windows CE 2.12 and later. Version 2.12 requires DXPAK 1.0 or later.
Header: Ddrawi.h.
See Also
WaitForVideoPortSync | DDRAWI_DIRECTDRAW_LCL | DDRAWI_DDVIDEOPORT_LCL | Video Port Structures
Send Feedback on this topic to the authors