user: Fix return type and argument type for GetDlgItemText{A,W}.
This commit is contained in:
parent
f1e120ba7e
commit
99020f8001
|
@ -1264,10 +1264,10 @@ BOOL WINAPI SetDlgItemTextW( HWND hwnd, INT id, LPCWSTR lpString )
|
||||||
/***********************************************************************
|
/***********************************************************************
|
||||||
* GetDlgItemTextA (USER32.@)
|
* GetDlgItemTextA (USER32.@)
|
||||||
*/
|
*/
|
||||||
INT WINAPI GetDlgItemTextA( HWND hwnd, INT id, LPSTR str, UINT len )
|
UINT WINAPI GetDlgItemTextA( HWND hwnd, INT id, LPSTR str, INT len )
|
||||||
{
|
{
|
||||||
if (str && (len > 0)) str[0] = '\0';
|
if (str && (len > 0)) str[0] = '\0';
|
||||||
return (INT)SendDlgItemMessageA( hwnd, id, WM_GETTEXT,
|
return (UINT)SendDlgItemMessageA( hwnd, id, WM_GETTEXT,
|
||||||
len, (LPARAM)str );
|
len, (LPARAM)str );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1275,10 +1275,10 @@ INT WINAPI GetDlgItemTextA( HWND hwnd, INT id, LPSTR str, UINT len )
|
||||||
/***********************************************************************
|
/***********************************************************************
|
||||||
* GetDlgItemTextW (USER32.@)
|
* GetDlgItemTextW (USER32.@)
|
||||||
*/
|
*/
|
||||||
INT WINAPI GetDlgItemTextW( HWND hwnd, INT id, LPWSTR str, UINT len )
|
UINT WINAPI GetDlgItemTextW( HWND hwnd, INT id, LPWSTR str, INT len )
|
||||||
{
|
{
|
||||||
if (str && (len > 0)) str[0] = '\0';
|
if (str && (len > 0)) str[0] = '\0';
|
||||||
return (INT)SendDlgItemMessageW( hwnd, id, WM_GETTEXT,
|
return (UINT)SendDlgItemMessageW( hwnd, id, WM_GETTEXT,
|
||||||
len, (LPARAM)str );
|
len, (LPARAM)str );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -4352,8 +4352,8 @@ HWND WINAPI GetDesktopWindow(void);
|
||||||
INT WINAPI GetDlgCtrlID(HWND);
|
INT WINAPI GetDlgCtrlID(HWND);
|
||||||
HWND WINAPI GetDlgItem(HWND,INT);
|
HWND WINAPI GetDlgItem(HWND,INT);
|
||||||
UINT WINAPI GetDlgItemInt(HWND,INT,BOOL*,BOOL);
|
UINT WINAPI GetDlgItemInt(HWND,INT,BOOL*,BOOL);
|
||||||
INT WINAPI GetDlgItemTextA(HWND,INT,LPSTR,UINT);
|
UINT WINAPI GetDlgItemTextA(HWND,INT,LPSTR,INT);
|
||||||
INT WINAPI GetDlgItemTextW(HWND,INT,LPWSTR,UINT);
|
UINT WINAPI GetDlgItemTextW(HWND,INT,LPWSTR,INT);
|
||||||
#define GetDlgItemText WINELIB_NAME_AW(GetDlgItemText)
|
#define GetDlgItemText WINELIB_NAME_AW(GetDlgItemText)
|
||||||
UINT WINAPI GetDoubleClickTime(void);
|
UINT WINAPI GetDoubleClickTime(void);
|
||||||
HWND WINAPI GetFocus(void);
|
HWND WINAPI GetFocus(void);
|
||||||
|
|
Loading…
Reference in New Issue