This method of the DirectDraw Class retrieves the status of the vertical blank.
public int getVerticalBlankStatus();
Returns 1 if a vertical blank is occurring; otherwise, returns 0.
To synchronize with the vertical blank, use the waitForVerticalBlank method.
getScanLine, waitForVerticalBlank