Sure, xor'ing a register with itself is the idiom for zeroing it out, but why not sub? Somehow xor became the most popular version. devblogs.microsoft.com devblogs.microsoft.com / feeds devblogs-microsoft-com-oldnewthing / / #creative / / 18 hours 18h Share
How did code handle 24-bit-per-pixel formats when using video cards with bank-switched memory? You still have to use aligned accesses, even though the pixels might not be aligned. devblogs.microsoft.com devblogs.microsoft.com / feeds devblogs-microsoft-com-oldnewthing / / #creative / / 1 day 1d Share
Forgotten message from the past: LB_INITSTORAGE Preallocating memory to avoid quadratic behavior. devblogs.microsoft.com devblogs.microsoft.com / feeds devblogs-microsoft-com-oldnewthing / / #creative / / 4 days 4d Share
What's up with window message 0x0091? We're getting it with unexpected parameters Trespassing on system messages. devblogs.microsoft.com devblogs.microsoft.com / feeds devblogs-microsoft-com-oldnewthing / / #creative / / 5 days 5d Share
Why is there a long delay between a thread exiting and the WaitForSingleObject returning? Maybe it didn't really exit. devblogs.microsoft.com devblogs.microsoft.com / feeds devblogs-microsoft-com-oldnewthing / / #creative / / 6 days 6d Share
Why was there a red telephone at every receptionist desk? Not a direct line to Bill Gates's office. devblogs.microsoft.com devblogs.microsoft.com / feeds devblogs-microsoft-com-oldnewthing / / #creative / / 7 days 7d Share
Finding a duplicated item in an array of N integers in the range 1 to N 1 Taking advantage of special characteristics of the array. devblogs.microsoft.com devblogs.microsoft.com / feeds devblogs-microsoft-com-oldnewthing / / #creative / / 8 days 8d Share
How do you add or remove a handle from an active WaitForMultipleObjects? part 2 Waiting for the waiting thread to acknowledge the change. devblogs.microsoft.com devblogs.microsoft.com / feeds devblogs-microsoft-com-oldnewthing / / #creative / / 11 days 11d Share
How do you add or remove a handle from an active WaitForMultipleObjects? You can't, but you can cooperate with the other thread. devblogs.microsoft.com devblogs.microsoft.com / feeds devblogs-microsoft-com-oldnewthing / / #creative / / 12 days 12d Share
How do you add or remove a handle from an active MsgWaitForMultipleObjects? You can't, but you can arrange for the waiter to do it for you. devblogs.microsoft.com devblogs.microsoft.com / feeds devblogs-microsoft-com-oldnewthing / / #creative / / 13 days 13d Share