This is maybe an oblique question:
I’m writing an emulator in VB6 (silly me). For smooth window refreshing in the emulator itself, I would like to grab the vertical sync of the monitor. Are there any Windows API calls I can use? Or is this an impossible request?
This is best achieved using the DirectX API WaitForVerticalBlank, part of DirectDraw from v7 onward, I believe. Much simpler than rooting around in RasterStatus.