May 18, 2016 Post comments count0 Post likes count1 Why doesn’t RevertToSelf undo the most recent SetThreadToken? Raymond Chen It removes all impersonation; it doesn't restore it.
May 13, 2016 Post comments count0 Post likes count1 Why am I being told that my message ID is too large? Raymond Chen Look at the message format.
May 12, 2016 Post comments count0 Post likes count1 How come a duplicated token doesn’t behave identically to the original? Raymond Chen The inside's the same, but the outside is different.
May 11, 2016 Post comments count0 Post likes count1 What’s the difference between duplicating the handle to a token and duplicating a token? Raymond Chen Are you sharing an object or are you creating two objects?
May 6, 2016 Post comments count0 Post likes count1 Is it okay to acquire an SRWLOCK recursively? (And why not?) Raymond Chen The documentation says it's not allowed, so it's not allowed.
May 5, 2016 Post comments count0 Post likes count1 How can I write an unkillable program, redux Raymond Chen License to not be killed.
May 4, 2016 Post comments count0 Post likes count1 How can I detect whether the user’s keyboard has a Break key? Raymond Chen Looking at the problem the wrong way.
Apr 29, 2016 Post comments count0 Post likes count1 What does QueryThreadCycleTime actually count? Raymond Chen Whatever the CPU wants.
Apr 28, 2016 Post comments count0 Post likes count1 Is there an API for redrawing a specific window from another application? Raymond Chen Once again, turns out to be the wrong question.
Apr 22, 2016 Post comments count0 Post likes count1 Should I be concerned that WaitForSingleObject is taking a large percentage of my performance test’s execution time Raymond Chen What you've got there, my friend, is a WaitForSingleObject stress test.