I'm not really sure how to go about verifying this..this is what I've got so far:
Using regmon, windows does not seem to access the registry at all in relation to this function (when called with CSIDL_RESOURCES. The registry is accessed a lot with other values) I dug through some disassembly of this function in windows, and it seems there is some type of cache that may be referenced (at least, the debug symbols are named in a way that sounds like its a cache), but if I tweek some values to cause the function to not use the cache the function simply fails
On Friday 12 December 2003 10:48 pm, Alexandre Julliard wrote:
Kevin Koltzau kevin@plop.org writes:
Would it be acceptable to add a special case for SHGetSpecialFolderPath where szDefaultPath is returned without attempt to retrieve this value from the registry first?
Only if there is clear evidence that Windows does that too. We must not add a special case just to mask the fact that we don't know how it's really supposed to work.