CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Apr 2005
    Posts
    1,828

    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

  2. #2
    VictorN's Avatar
    VictorN is offline Super Moderator Power Poster
    Join Date
    Jan 2003
    Location
    Hanover Germany
    Posts
    20,396

    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

  3. #3
    Join Date
    Nov 2000
    Location
    Voronezh, Russia
    Posts
    6,620

    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).
    Best regards,
    Igor

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured