我的应用程序是用适用于Win32的C++Builder编写的。我的代码使用SHGetSpecialFolderLocation()用于获取CSIDL_APPDATA和CSIDL_MYDOCUMENTS路径的API。我在2018年12月4日的Microsoft网站上注意到它说:[SHGetSpecialFolderLocationisnotsupportedandmaybealteredorunavailableinthefuture.Instead,useSHGetFolderLocation.]然后对于SHGetFolderLocation它说:Deprecated目前获取这两条路径