Bugfix: SetDlgItemText32 returns BOOL not void.

This commit is contained in:
Juergen Schmied 1998-11-24 20:29:28 +00:00 committed by Alexandre Julliard
parent 8090784a46
commit 2e120f8893
2 changed files with 6 additions and 6 deletions

View File

@ -9113,8 +9113,8 @@ void WINAPI SetDlgItemInt16(HWND16,INT16,UINT16,BOOL16);
void WINAPI SetDlgItemInt32(HWND32,INT32,UINT32,BOOL32);
#define SetDlgItemInt WINELIB_NAME(SetDlgItemInt)
void WINAPI SetDlgItemText16(HWND16,INT16,SEGPTR);
void WINAPI SetDlgItemText32A(HWND32,INT32,LPCSTR);
void WINAPI SetDlgItemText32W(HWND32,INT32,LPCWSTR);
BOOL32 WINAPI SetDlgItemText32A(HWND32,INT32,LPCSTR);
BOOL32 WINAPI SetDlgItemText32W(HWND32,INT32,LPCWSTR);
#define SetDlgItemText WINELIB_NAME_AW(SetDlgItemText)
VOID WINAPI SetDoubleClickTime16(UINT16);
BOOL32 WINAPI SetDoubleClickTime32(UINT32);

View File

@ -1377,18 +1377,18 @@ void WINAPI SetDlgItemText16( HWND16 hwnd, INT16 id, SEGPTR lpString )
/*******************************************************************
* 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)
*/
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 );
}