[SHELL32] Fix MSVC warning warning C4390 by adding a bit more debug info.

This commit is contained in:
Hermès Bélusca-Maïto 2019-12-25 19:02:48 +01:00
parent dfa3065e19
commit 1ee511a10c
No known key found for this signature in database
GPG key ID: 3B2539C65E7B93D0

View file

@ -274,7 +274,7 @@ HRESULT CSendToMenu::CreateSendToFiles(LPCWSTR pszSendTo)
hr = CreateShellLink(szSendToFile, szTarget, NULL, NULL, NULL,
szShell32, -IDI_SHELL_MY_DOCUMENTS, NULL);
if (FAILED_UNEXPECTEDLY(hr))
;
ERR("CreateShellLink(%S, %S) failed!\n", szSendToFile, szTarget);
/* create desklink */
StringCbCopyW(szSendToFile, sizeof(szSendToFile), pszSendTo);