DDHAL_WAITFORVPORTSYNCDATA

The DDHAL_WAITFORVPORTSYNCDATA structure contains the information required to sync the video port. This structure passes the information to the DirectDraw HAL WaitForVideoPortSync callback 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_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.

    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

© 1992-2000 Microsoft Corporation. All rights reserved.