Nov 9, 2016 Post comments count0 Post likes count1 Zeroing out my memory does cause them to page in faster after all Raymond Chen Thanks to a special check in the memory manager.
Nov 7, 2016 Post comments count0 Post likes count1 How do I programmatically add a folder to my Documents library? Raymond Chen You can use SHAddFolderPathToLibrary, but there's a catch.
Nov 3, 2016 Post comments count0 Post likes count1 Solving the problem instead of answering the question: How do I get this RichEdit control to look just like a static control? Raymond Chen That's not your problem.
Nov 2, 2016 Post comments count0 Post likes count1 What happens if you call RevertToSelf when not impersonating? Raymond Chen Nothing, but be careful.
Oct 28, 2016 Post comments count0 Post likes count1 Why does SetThreadPriority sometimes take a really long time? Raymond Chen Because you asked for it.
Oct 27, 2016 Post comments count0 Post likes count1 How to electrify your own fence: ProcessStrictHandleCheckPolicy Raymond Chen Don't touch that; it's a live wire.
Oct 26, 2016 Post comments count0 Post likes count1 Why does the documentation for ReadFile say that the lpNumberOfBytesRead parameter is optional when it is sometimes mandatory? Raymond Chen In the fine print, due to incomplete expressiveness.
Oct 21, 2016 Post comments count0 Post likes count1 Is there anything better than GetThreadTimes for obtaining per-thread CPU usage information? Raymond Chen QueryThreadCycleTime.
Oct 20, 2016 Post comments count0 Post likes count1 Using DuplicateHandle to help manage the ownership of kernel handles Raymond Chen That one's mine.
Oct 19, 2016 Post comments count0 Post likes count1 Three short questions about LogonUser (with answers!) Raymond Chen The answers are probably the most useful part.