DCompositionWaitForCompositorClock
Gavin Williams
781
Reputation points
uint waitResult;
do
{
waitResult = DCompositionWaitForCompositorClock(1, null, 1000);
} while (waitResult == (uint)(0 + 1));
How can I get this code to sleep until the compositor frame (and what is that?) and also how can I get it to ignore the compositor signal and just sleep for 1 seconds (see the 1000 in timeOutInMS).
And how do I use HANDLE in C# to create events?
Windows for business | Windows Client for IT Pros | User experience | Other
Sign in to answer