WaitForVerticalBlank

DWORD (APIENTRY *PDD_WAITFORVERTICALBLANK)(
    PDD_WAITFORVERTICALBLANKDATA  lpWaitForVerticalBlank
);

WaitForVerticalBlank returns the vertical blank status of the device.

Parameters

lpWaitForVerticalBlank
Pointer to a DD_WAITFORVERTICALBLANKDATA structure that contains the information required to perform the vertical blank status.

Return Value

WaitForVerticalBlank returns a DDHAL_DRIVER_Xxx callback code that indicates how the driver handled the call. These return codes are defined in ddrawint.h.