mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 09:25:10 +00:00
add a note as to why I hackfixed it, so I don't forget
svn path=/trunk/; revision=27619
This commit is contained in:
parent
924a230291
commit
b0309a9b22
1 changed files with 3 additions and 0 deletions
|
@ -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])))
|
if (!LoadString(hDllInstance, nIdTitle, title, sizeof(title)/sizeof(title[0])))
|
||||||
return FALSE;
|
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));
|
return SUCCEEDED(CreateShellLink(path, exeName, _T(""), lpWorkingDir, NULL, 0, title));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue