Can someone tell me which parameter do I have to pass in 3rd argument of using SHGetSpecialFolderLocation(...) function in order to retrive the "Common Files" Folder? (C:/Program Files/Common Files)
Thanks in Advance
Printable View
Can someone tell me which parameter do I have to pass in 3rd argument of using SHGetSpecialFolderLocation(...) function in order to retrive the "Common Files" Folder? (C:/Program Files/Common Files)
Thanks in Advance
According to MSDN article "SHGetSpecialFolderLocation":As for using PIDLIST_ABSOLUTE* parameter - see the rxample in http://msdn.microsoft.com/en-us/library/bb757028.aspxQuote:
Remarks
With Windows 2000, this function is superseded by SHGetFolderLocation.
According to the MSDN article it's CSIDL_PROGRAM_FILES_COMMON (or CSIDL_PROGRAM_FILES_COMMONX86 in case of accessing x86 folder on x64 system).Quote:
retrive the "Common Files" Folder? (C:/Program Files/Common Files)