Jun 6, 2016 Post comments count0 Post likes count1 If I create multiple selectors each of size 4GB, do I get a combined address space larger than 4GB? Raymond Chen Not really
Jun 3, 2016 Post comments count0 Post likes count1 Why does SetFileValidData fail even though I enabled the SE_MANAGE_VOLUME_NAME privilege? Raymond Chen It's all in the timing.
Jun 2, 2016 Post comments count0 Post likes count1 How can I tell whether a file is on a removable drive, a fixed drive, or a remote drive? Raymond Chen Beware of the volume mount point.
Jun 1, 2016 Post comments count0 Post likes count1 Why does SHGetKnownFolderPath fail when impersonating? Raymond Chen Because there's a special way to call it for impersonation.
May 30, 2016 Post comments count0 Post likes count1 Printing the name and position of the focused item on the desktop Raymond Chen You already know how to get the view, so ask the view.
May 27, 2016 Post comments count0 Post likes count1 Diagnosing a crash in unloaded_something.dll Raymond Chen Find out what used to be loaded there.
May 26, 2016 Post comments count0 Post likes count1 Debugging session: Which of the many things happening in this single line of code is the one that crashed? Raymond Chen Let's go to the disassembly.
May 25, 2016 Post comments count0 Post likes count2 How can I generate a stack backtrace that is independent of ASLR? Raymond Chen Use module offsets rather than absolute addresses.
May 20, 2016 Post comments count0 Post likes count1 How long do I have to keep the SECURITY_ATTRIBUTES and SECURITY_DESCRIPTOR structures valid after using them to create a file? Raymond Chen Once CreateFile returns, they aren't needed any more.
May 19, 2016 Post comments count0 Post likes count1 Why did the friendly name for the Network Service account change? Raymond Chen Nobody promised it wouldn't.