(original) (raw)
On 11/28/2013 1:04 PM, Tim Delaney
wrote:
Except when it gets changed. Documentation should reflect the actual use in the code. If it uses the SHGetFolderPath, that is what should be documented; if it uses the environment variable, that is what should get documented. Users can easily change the environment variable (which might be a reason to use it, instead of SHGetFolderPath).
%LOCALAPPDATA% should always contain the same value as would be returned from SHGetFolderPath with CSIDL\_LOCAL\_APPDATA.