Oct 23, 2015 Post comments count0 Post likes count1 CoGetInterfaceAndReleaseStream does not mix with smart pointers Raymond Chen Old school meets new school.
Oct 22, 2015 Post comments count0 Post likes count2 What are the rules for CoMarshalInterface and CoUnmarshalInterface? Raymond Chen Keeping an eye on the reference gets a little harder.
Oct 21, 2015 Post comments count0 Post likes count1 What are the rules for CoMarshalInterThreadInterfaceInStream and CoGetInterfaceAndReleaseStream? Raymond Chen Keeping an eye on the reference.
Oct 20, 2015 Post comments count0 Post likes count1 What is COM marshaling and how do I use it? Raymond Chen Keeping an eye on the reference.
Oct 19, 2015 Post comments count0 Post likes count1 How do I get the user-customized name of a mapped network drive? Raymond Chen Ask the shell. That is, after all, how the shell displays is.
Oct 16, 2015 Post comments count0 Post likes count1 I have the handle to a file; how can I get the file name from the debugger? Raymond Chen Build the call on the stack.
Oct 15, 2015 Post comments count0 Post likes count2 What’s the difference between UuidFromString, IIDFromString, CLSIDFromString, GUIDFromString… Raymond Chen Mostly the same if what you have is a stringized GUID; otherwise...
Oct 12, 2015 Post comments count0 Post likes count1 How do I get the user-customed name of My Computer or Recycle Bin? Raymond Chen Ask the shell. That is, after all, how the shell displays it.
Oct 9, 2015 Post comments count0 Post likes count1 How does a shell namespace extension provide icons for virtual items that track the standard icons set by the user’s file associations? Raymond Chen Forward to the standard implementation.
Oct 8, 2015 Post comments count0 Post likes count1 What happens if you call VirtualAlloc to MEM_COMMIT a page you never MEM_RESERVE? Raymond Chen It is not guaranteed to succeed.