开发者

How to get the public desktop folder path in XP (C++)?

开发者 https://www.devze.com 2023-02-10 02:49 出处:网络
I need a way to get the path of the public desktop folder that has to work on XP as well as the newer flavours of Windows and must be (human) language-independent. There doesn\'t seem to be a setting

I need a way to get the path of the public desktop folder that has to work on XP as well as the newer flavours of Windows and must be (human) language-independent. There doesn't seem to be a setting in the environment variables that covers 开发者_JS百科this folder.

SHGetKnownFolderPath() only works in Vista and later, so I need to know if there's another function that will work for me.


call SHGetSpecialFolderLocation with CSIDL_COMMON_DESKTOPDIRECTORY

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号