다음을 통해 공유


DDHAL_WAITFORVERTICALBLANKDATA (Windows CE 5.0)

Send Feedback

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

typedef struct _DDHAL_WAITFORVERTICALBLANKDATA {LPDDRAWI_DIRECTDRAW_GBLlpDD;DWORDdwFlags;DWORDbIsInVB;DWORDhEvent;HRESULTddRVal;LPDDHAL_WAITFORVERTICALBLANKWaitForVerticalBlank;} DDHAL_WAITFORVERTICALBLANKDATA;

Members

  • lpDD**
    Pointer to the DDRAWI_DIRECTDRAW_GBL structure that represents the DirectDraw object.

  • 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.

  • hEvent**
    Handle for the event that should be triggered when the vertical blank begins. Because the hEvent is triggered on an interrupt, if you have the ability to generate an interrupt on the vertical blank, you must pass this event handle to your ring 0 interrupt handler so it is triggered when the interrupt goes off. This is done to trigger some code off when the interrupt on the vertical blank is set.

  • ddRVal**
    Passes the DirectDraw return values.

  • WaitForVerticalBlank**
    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

WaitForVerticalBlank | DDRAWI_DIRECTDRAW_GBL | DirectDraw Structures

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.