VM_OVERLAY_WAIT IS_MODAL, WAIT_FLAGS
Waits for the completion of one or more UI operations.
.UI_WAIT_NONE - No wait..UI_WAIT_WINDOW - Wait until the window moved to its final position..UI_WAIT_TEXT - Wait until all the text finished rendering..UI_WAIT_BTN_A - Wait until “A” is pressed..UI_WAIT_BTN_B - Wait until “B” is pressed..UI_WAIT_BTN_ANY - Wait until any button is pressed.