typedef struct _DD_WAITFORVERTICALBLANKDATA{
PDD_DIRECTDRAW_GLOBAL lpDD;
DWORD dwFlags;
DWORD bIsInVB;
DWORD hEvent;
HRESULT ddRVal;
VOID * WaitForVerticalBlank;
} DD_WAITFORVERTICALBLANKDATA;
The DD_WAITFORVERTICALBLANKDATA structure is passed to the DirectDraw hardware interface’s WaitForVerticalBlank object callback.
|
Value |
Meaning |
|
DDWAITVB_I_TESTVB |
Driver should simply return the current status of the vertical blank. |
|
DDWAITVB_BLOCKBEGIN |
Driver should return from WaitForVerticalBlank only when the vertical blank interval begins. |
|
DDWAITVB_BLOCKEND |
Driver should return from WaitForVerticalBlank only when the vertical blank interval ends and display begins. |