add a note as to why I hackfixed it, so I don't forget

svn path=/trunk/; revision=27619
This commit is contained in:
Ged Murphy 2007-07-12 22:02:47 +00:00
parent 924a230291
commit b0309a9b22

View file

@ -211,6 +211,9 @@ CreateShortcut(int csidl, LPCTSTR folder, UINT nIdName, LPCTSTR command, UINT nI
if (!LoadString(hDllInstance, nIdTitle, title, sizeof(title)/sizeof(title[0])))
return FALSE;
// FIXME: we should pass 'command' straight in here, but shell32 doesn't
// expand it, and explorer uses ShellExecuteEx anyway instead of calling
// shell32's STDMETHODCALLTYPE Resolve / IShellLinkW_fnResolve
return SUCCEEDED(CreateShellLink(path, exeName, _T(""), lpWorkingDir, NULL, 0, title));
}