Share via


DDHAL_WAITFORVERTICALBLANKDATA (Compact 2013)

3/26/2014

This structure contains the vertical blank information. This structure passes the information to the DirectDraw hardware abstraction layer (DDHAL) LPDDHAL_WAITFORVERTICALBLANK callback function.

Syntax

typedef struct _DDHAL_WAITFORVERTICALBLANKDATA {
  LPDDRAWI_DIRECTDRAW_GBL lpDD;
  DWORD dwFlags;
  DWORD bIsInVB;
  HRESULT ddRVal;
} DDHAL_WAITFORVERTICALBLANKDATA;

Members

  • dwFlags
    Indicates how to wait for the vertical blank.

    The following table shows the possible values.

    Flag

    Description

    DDWAITVB_BLOCKBEGIN

    Returns when the vertical blank interval begins.

    DDWAITVB_BLOCKBEGINEVENT

    Sets up an event to trigger when the vertical blank begins. This flag is not currently supported.

    DDWAITVB_BLOCKEND

    Returns when the vertical blank interval ends and display begins.

    DDWAITVB_I_TESTVB

    Sets the flag to query if a vertical blank is in progress.

  • bIsInVB
    Indicates the status of the vertical blank.
  • ddRVal
    Passes the DirectDraw return values.

Requirements

Header

ddrawi.h

See Also

Reference

DirectDraw Display Driver Structures
LPDDHAL_WAITFORVERTICALBLANK
DDRAWI_DIRECTDRAW_GBL