This is a method of the IDirectDraw Interface.
public void waitForVerticalBlank(int flags, int handle);