Vertical Sync event
Is it possible to bind a function to the PC monitor's vertical sync? I've got a program which takes < 1/10 a frame to draw (75hz), and I'd like to relinquish control back to windows during the other 9/10 a frame. However, I haven't found a consistent way of guaranteeing that Windows will call my thread back at the next VSync.
I'm actually trying to fix my video refresh at EXACTLY 60hz, which means 15 of every 75 frames would not be updated. Not a problem, those 15, I'd just exit the function.
I've yet to find a way to do EXACTLY 60hz.
Anybody got any ideas?
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.

MykonineRank #2,671 · 521 reputationPosted Feb 10, 2005, 6:13 PM EST
erichood9 reputationPosted Feb 11, 2005, 3:42 AM EST