user32: Fixed the return value of DispatchMessageA/W.

This commit is contained in:
Alexandre Julliard 2007-08-07 17:45:10 +02:00
parent 197f4059ab
commit c4245a7fb6
2 changed files with 6 additions and 6 deletions

View File

@ -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 */

View File

@ -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);