SHGetFolderPath Deprecated: What is alternative to retrieve path for Windows folders?

前端 未结 5 1890
被撕碎了的回忆
被撕碎了的回忆 2020-12-18 01:13

The SHGetFolderPath() function is deprecated beginning with Windows Vista: http://msdn.microsoft.com/en-us/library/bb762181%28v=VS.85%29.aspx

What is th

5条回答
  •  甜味超标
    2020-12-18 01:43

    It is linked right at the top, SHGetKnownFolderPath.

    CSIDL_COMMON_APPDATA is replaced by FOLDERID_ProgramData in the new API.

提交回复
热议问题