开发者

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

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜