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