I have the handle to a file; how can I get the file name from the debugger? October 16, 2015 Oct 16, 2015 10/16/15 Raymond Chen Build the call on the stack.
What’s the difference between UuidFromString, IIDFromString, CLSIDFromString, GUIDFromString… October 15, 2015 Oct 15, 2015 10/15/15 Raymond Chen Mostly the same if what you have is a stringized GUID; otherwise...
The MoveSecurityAttributes policy affects only how Explorer recalculates ACLs when a file is moved; everybody else is on their own October 14, 2015 Oct 14, 2015 10/14/15 Raymond Chen GUI policies tend not to apply to command line tools.
Why do Saturation and Luminance go all the way to 240, but Hue goes only to 239? And why 239 anyway? October 13, 2015 Oct 13, 2015 10/13/15 Raymond Chen Mapping a floating point number to a byte.
How do I get the user-customed name of My Computer or Recycle Bin? October 12, 2015 Oct 12, 2015 10/12/15 Raymond Chen Ask the shell. That is, after all, how the shell displays it.
Learning about farm animals from my niece October 9, 2015 Oct 9, 2015 10/9/15 Raymond Chen Things you don't learn in biology class.
How does a shell namespace extension provide icons for virtual items that track the standard icons set by the user’s file associations? October 9, 2015 Oct 9, 2015 10/9/15 Raymond Chen Forward to the standard implementation.
What happens if you call VirtualAlloc to MEM_COMMIT a page you never MEM_RESERVE? October 8, 2015 Oct 8, 2015 10/8/15 Raymond Chen It is not guaranteed to succeed.
How do we change permissions on a share as fast as Explorer does it? October 7, 2015 Oct 7, 2015 10/7/15 Raymond Chen First, make sure you're changing the permissions on a share.
First, try reading the error message, episode 4: Even programmers see error messages without reading them October 6, 2015 Oct 6, 2015 10/6/15 Raymond Chen Here we go again.