July 27th, 2011, 01:28 AM
#1
SHGetSpecialFolderLocation
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
July 27th, 2011, 02:08 AM
#2
Re: SHGetSpecialFolderLocation
According to MSDN article "SHGetSpecialFolderLocation":
Remarks
With Windows 2000, this function is superseded by
SHGetFolderLocation .
As for using PIDLIST_ABSOLUTE* parameter - see the rxample in http://msdn.microsoft.com/en-us/library/bb757028.aspx
Victor Nijegorodov
July 27th, 2011, 06:47 AM
#3
Re: SHGetSpecialFolderLocation
retrive the "Common Files" Folder? (C:/Program Files/Common Files)
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).
Posting Permissions
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
Forum Rules
Click Here to Expand Forum to Full Width
Bookmarks