Author: akhaldi
Date: Sun Mar  2 21:23:04 2014
New Revision: 62397

URL: http://svn.reactos.org/svn/reactos?rev=62397&view=rev
Log:
[PSDK][SHELL32]
* Fix ShellMessageBox{A,W} calling convention. Spotted by Clang.

Modified:
    trunk/reactos/dll/win32/shell32/shellord.cpp
    trunk/reactos/include/psdk/shellapi.h

Modified: trunk/reactos/dll/win32/shell32/shellord.cpp
URL: 
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/shell32/shellord.cpp?rev=62397&r1=62396&r2=62397&view=diff
==============================================================================
--- trunk/reactos/dll/win32/shell32/shellord.cpp        [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/shell32/shellord.cpp        [iso-8859-1] Sun Mar  2 
21:23:04 2014
@@ -309,7 +309,7 @@
  * ordinal. If you change the implementation here please update the code in
  * shlwapi as well.
  */
-EXTERN_C int WINAPI ShellMessageBoxW(
+EXTERN_C int ShellMessageBoxW(
     HINSTANCE hInstance,
     HWND hWnd,
     LPCWSTR lpText,
@@ -367,7 +367,7 @@
  * NOTES
  *     Exported by ordinal
  */
-EXTERN_C int WINAPI ShellMessageBoxA(
+EXTERN_C int ShellMessageBoxA(
     HINSTANCE hInstance,
     HWND hWnd,
     LPCSTR lpText,

Modified: trunk/reactos/include/psdk/shellapi.h
URL: 
http://svn.reactos.org/svn/reactos/trunk/reactos/include/psdk/shellapi.h?rev=62397&r1=62396&r2=62397&view=diff
==============================================================================
--- trunk/reactos/include/psdk/shellapi.h       [iso-8859-1] (original)
+++ trunk/reactos/include/psdk/shellapi.h       [iso-8859-1] Sun Mar  2 
21:23:04 2014
@@ -476,7 +476,6 @@
   _In_opt_ HICON hIcon);
 
 int
-WINAPI
 ShellMessageBoxA(
   _In_opt_ HINSTANCE hAppInst,
   _In_opt_ HWND hWnd,
@@ -486,7 +485,6 @@
   ...);
 
 int
-WINAPI
 ShellMessageBoxW(
   _In_opt_ HINSTANCE hAppInst,
   _In_opt_ HWND hWnd,


Reply via email to