Author: janderwald
Date: Thu Apr 23 16:51:59 2009
New Revision: 40667
URL:
http://svn.reactos.org/svn/reactos?rev=40667&view=rev
Log:
- Revert my SHOpenWithDialog changes
Modified:
trunk/reactos/dll/win32/shell32/shlexec.c
Modified: trunk/reactos/dll/win32/shell32/shlexec.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/shell32/shlexec.…
==============================================================================
--- trunk/reactos/dll/win32/shell32/shlexec.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/shell32/shlexec.c [iso-8859-1] Thu Apr 23 16:51:59 2009
@@ -1431,8 +1431,6 @@
WCHAR msg[2048];
int error_code=GetLastError();
- //FIXME
- // call SHOpenWithDialog
if (retval == SE_ERR_NOASSOC)
LoadStringW(shell32_hInstance, IDS_SHLEXEC_NOASSOC, msg,
sizeof(msg)/sizeof(WCHAR));
else
@@ -1597,9 +1595,7 @@
Info.pcszClass = NULL;
Info.oaifInFlags = OAIF_ALLOW_REGISTRATION | OAIF_EXEC;
- if (SHOpenWithDialog(sei_tmp.hwnd, &Info))
- retval = 33; //FIXME
- else
+ //if (SHOpenWithDialog(sei_tmp.hwnd, &Info) != S_OK)
do_error_dialog(retval, sei_tmp.hwnd);
}
HeapFree(GetProcessHeap(), 0, wszApplicationName);
@@ -1827,9 +1823,7 @@
Info.pcszClass = NULL;
Info.oaifInFlags = OAIF_ALLOW_REGISTRATION | OAIF_EXEC;
- if (SHOpenWithDialog(sei_tmp.hwnd, &Info))
- retval = 33; //FIXME
- else
+ //if (SHOpenWithDialog(sei_tmp.hwnd, &Info) != S_OK)
do_error_dialog(retval, sei_tmp.hwnd);
}