Commit 2e120f88 authored by Juergen Schmied's avatar Juergen Schmied Committed by Alexandre Julliard

Bugfix: SetDlgItemText32 returns BOOL not void.

parent 8090784a
...@@ -9113,8 +9113,8 @@ void WINAPI SetDlgItemInt16(HWND16,INT16,UINT16,BOOL16); ...@@ -9113,8 +9113,8 @@ void WINAPI SetDlgItemInt16(HWND16,INT16,UINT16,BOOL16);
void WINAPI SetDlgItemInt32(HWND32,INT32,UINT32,BOOL32); void WINAPI SetDlgItemInt32(HWND32,INT32,UINT32,BOOL32);
#define SetDlgItemInt WINELIB_NAME(SetDlgItemInt) #define SetDlgItemInt WINELIB_NAME(SetDlgItemInt)
void WINAPI SetDlgItemText16(HWND16,INT16,SEGPTR); void WINAPI SetDlgItemText16(HWND16,INT16,SEGPTR);
void WINAPI SetDlgItemText32A(HWND32,INT32,LPCSTR); BOOL32 WINAPI SetDlgItemText32A(HWND32,INT32,LPCSTR);
void WINAPI SetDlgItemText32W(HWND32,INT32,LPCWSTR); BOOL32 WINAPI SetDlgItemText32W(HWND32,INT32,LPCWSTR);
#define SetDlgItemText WINELIB_NAME_AW(SetDlgItemText) #define SetDlgItemText WINELIB_NAME_AW(SetDlgItemText)
VOID WINAPI SetDoubleClickTime16(UINT16); VOID WINAPI SetDoubleClickTime16(UINT16);
BOOL32 WINAPI SetDoubleClickTime32(UINT32); BOOL32 WINAPI SetDoubleClickTime32(UINT32);
......
...@@ -1377,18 +1377,18 @@ void WINAPI SetDlgItemText16( HWND16 hwnd, INT16 id, SEGPTR lpString ) ...@@ -1377,18 +1377,18 @@ void WINAPI SetDlgItemText16( HWND16 hwnd, INT16 id, SEGPTR lpString )
/******************************************************************* /*******************************************************************
* SetDlgItemText32A (USER32.478) * SetDlgItemText32A (USER32.478)
*/ */
void WINAPI SetDlgItemText32A( HWND32 hwnd, INT32 id, LPCSTR lpString ) BOOL32 WINAPI SetDlgItemText32A( HWND32 hwnd, INT32 id, LPCSTR lpString )
{ {
SendDlgItemMessage32A( hwnd, id, WM_SETTEXT, 0, (LPARAM)lpString ); return SendDlgItemMessage32A( hwnd, id, WM_SETTEXT, 0, (LPARAM)lpString );
} }
/******************************************************************* /*******************************************************************
* SetDlgItemText32W (USER32.479) * SetDlgItemText32W (USER32.479)
*/ */
void WINAPI SetDlgItemText32W( HWND32 hwnd, INT32 id, LPCWSTR lpString ) BOOL32 WINAPI SetDlgItemText32W( HWND32 hwnd, INT32 id, LPCWSTR lpString )
{ {
SendDlgItemMessage32W( hwnd, id, WM_SETTEXT, 0, (LPARAM)lpString ); return SendDlgItemMessage32W( hwnd, id, WM_SETTEXT, 0, (LPARAM)lpString );
} }
......
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