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.
Apr 15, 2016 Post comments count0 Post likes count1 What happens if I call EnumPropsEx while another thread is mutating the properties? Raymond Chen You get a best-effort.
Apr 8, 2016 Post comments count0 Post likes count1 Why does FindExecutable behave erratically for files with extensions longer than three characters? (And what can you do about it?) Raymond Chen Short file names strike again.
Apr 7, 2016 Post comments count0 Post likes count1 Why can’t the debugger call GetFinalPathNameByHandle via .call? Raymond Chen Because it doesn't know how.
Apr 6, 2016 Post comments count0 Post likes count1 How does GetFinalPathNameByHandle choose the name if there are multiple names due to hard links? Raymond Chen It picks the one you you used to open the file.
Mar 31, 2016 Post comments count0 Post likes count1 Why are there four functions for parsing strings into GUIDs, and why are they in three different DLLs? Raymond Chen Different historical contexts..
Mar 25, 2016 Post comments count0 Post likes count1 Fixing a floating point exception when operating on NaN Raymond Chen Generate it at compile time.
Mar 24, 2016 Post comments count0 Post likes count1 Why does PathIsUNC say that paths that begin with \\?\ are not UNCs? Raymond Chen Because they aren't.