Commit c4245a7f authored by Alexandre Julliard's avatar Alexandre Julliard

user32: Fixed the return value of DispatchMessageA/W.

parent 197f4059
......@@ -2961,10 +2961,10 @@ BOOL WINAPI TranslateMessage( const MSG *msg )
*
* See DispatchMessageW.
*/
LONG WINAPI DispatchMessageA( const MSG* msg )
LRESULT WINAPI DispatchMessageA( const MSG* msg )
{
WND * wndPtr;
LONG retval;
LRESULT retval;
WNDPROC winproc;
/* Process timer messages */
......@@ -3033,10 +3033,10 @@ LONG WINAPI DispatchMessageA( const MSG* msg )
* ECMA-234, Win32
*
*/
LONG WINAPI DispatchMessageW( const MSG* msg )
LRESULT WINAPI DispatchMessageW( const MSG* msg )
{
WND * wndPtr;
LONG retval;
LRESULT retval;
WNDPROC winproc;
/* Process timer messages */
......
......@@ -4475,8 +4475,8 @@ INT_PTR WINAPI DialogBoxIndirectParamW(HINSTANCE,LPCDLGTEMPLATEW,HWND,DLGPROC,
INT_PTR WINAPI DialogBoxParamA(HINSTANCE,LPCSTR,HWND,DLGPROC,LPARAM);
INT_PTR WINAPI DialogBoxParamW(HINSTANCE,LPCWSTR,HWND,DLGPROC,LPARAM);
#define DialogBoxParam WINELIB_NAME_AW(DialogBoxParam)
LONG WINAPI DispatchMessageA(const MSG*);
LONG WINAPI DispatchMessageW(const MSG*);
LRESULT WINAPI DispatchMessageA(const MSG*);
LRESULT WINAPI DispatchMessageW(const MSG*);
#define DispatchMessage WINELIB_NAME_AW(DispatchMessage)
INT WINAPI DlgDirListA(HWND,LPSTR,INT,INT,UINT);
INT WINAPI DlgDirListW(HWND,LPWSTR,INT,INT,UINT);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment