it's SHGetSpecialFolderLocation not SHGetSpecialFolderPath

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4356 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
kichik 2005-10-22 13:25:10 +00:00
parent c8b40f40f4
commit 872e35f0e7

View file

@ -93,13 +93,13 @@ int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInst,LPSTR lpszCmdParam,
// workaround for bug #1008632 // workaround for bug #1008632
// http://sourceforge.net/tracker/index.php?func=detail&aid=1008632&group_id=22049&atid=373085 // http://sourceforge.net/tracker/index.php?func=detail&aid=1008632&group_id=22049&atid=373085
// //
// without this, SHGetSpecialFolderPath doesn't always recognize some // without this, SHGetSpecialFolderLocation doesn't always recognize
// special folders, like the desktop folder for all users, on Windows // some special folders, like the desktop folder for all users, on
// 9x. unlike SHGetSpecialFolderPath, which is not available on all // Windows 9x. unlike SHGetSpecialFolderPath, which is not available
// versions of Windows, SHGetSpecialFolderLocation doesn't try too // on all versions of Windows, SHGetSpecialFolderLocation doesn't try
// hard to make sure the caller gets what he asked for. so we give it // too hard to make sure the caller gets what he asked for. so we give
// a little push in the right direction by doing part of the work for // it a little push in the right direction by doing part of the work
// it. // for it.
// //
// part of what SHGetFileInfo does, is to convert a path into an idl. // part of what SHGetFileInfo does, is to convert a path into an idl.
// to do this conversion, it first needs to initialize the list of // to do this conversion, it first needs to initialize the list of