[PSDK][SHELL32]

* Fix ShellMessageBox{A,W} calling convention. Spotted by Clang.

svn path=/trunk/; revision=62397
This commit is contained in:
Amine Khaldi 2014-03-02 21:23:04 +00:00
parent 257374c12b
commit 4d03b99484
2 changed files with 2 additions and 4 deletions

View file

@ -309,7 +309,7 @@ BOOL WINAPI RegisterShellHook(
* ordinal. If you change the implementation here please update the code in * ordinal. If you change the implementation here please update the code in
* shlwapi as well. * shlwapi as well.
*/ */
EXTERN_C int WINAPI ShellMessageBoxW( EXTERN_C int ShellMessageBoxW(
HINSTANCE hInstance, HINSTANCE hInstance,
HWND hWnd, HWND hWnd,
LPCWSTR lpText, LPCWSTR lpText,
@ -367,7 +367,7 @@ EXTERN_C int WINAPI ShellMessageBoxW(
* NOTES * NOTES
* Exported by ordinal * Exported by ordinal
*/ */
EXTERN_C int WINAPI ShellMessageBoxA( EXTERN_C int ShellMessageBoxA(
HINSTANCE hInstance, HINSTANCE hInstance,
HWND hWnd, HWND hWnd,
LPCSTR lpText, LPCSTR lpText,

View file

@ -476,7 +476,6 @@ ShellAboutW(
_In_opt_ HICON hIcon); _In_opt_ HICON hIcon);
int int
WINAPI
ShellMessageBoxA( ShellMessageBoxA(
_In_opt_ HINSTANCE hAppInst, _In_opt_ HINSTANCE hAppInst,
_In_opt_ HWND hWnd, _In_opt_ HWND hWnd,
@ -486,7 +485,6 @@ ShellMessageBoxA(
...); ...);
int int
WINAPI
ShellMessageBoxW( ShellMessageBoxW(
_In_opt_ HINSTANCE hAppInst, _In_opt_ HINSTANCE hAppInst,
_In_opt_ HWND hWnd, _In_opt_ HWND hWnd,