Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
99020f80
Commit
99020f80
authored
Feb 14, 2006
by
Troy Rollo
Committed by
Alexandre Julliard
Feb 14, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user: Fix return type and argument type for GetDlgItemText{A,W}.
parent
f1e120ba
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
dialog.c
dlls/user/dialog.c
+4
-4
winuser.h
include/winuser.h
+2
-2
No files found.
dlls/user/dialog.c
View file @
99020f80
...
...
@@ -1264,10 +1264,10 @@ BOOL WINAPI SetDlgItemTextW( HWND hwnd, INT id, LPCWSTR lpString )
/***********************************************************************
* GetDlgItemTextA (USER32.@)
*/
INT
WINAPI
GetDlgItemTextA
(
HWND
hwnd
,
INT
id
,
LPSTR
str
,
U
INT
len
)
UINT
WINAPI
GetDlgItemTextA
(
HWND
hwnd
,
INT
id
,
LPSTR
str
,
INT
len
)
{
if
(
str
&&
(
len
>
0
))
str
[
0
]
=
'\0'
;
return
(
INT
)
SendDlgItemMessageA
(
hwnd
,
id
,
WM_GETTEXT
,
return
(
U
INT
)
SendDlgItemMessageA
(
hwnd
,
id
,
WM_GETTEXT
,
len
,
(
LPARAM
)
str
);
}
...
...
@@ -1275,10 +1275,10 @@ INT WINAPI GetDlgItemTextA( HWND hwnd, INT id, LPSTR str, UINT len )
/***********************************************************************
* GetDlgItemTextW (USER32.@)
*/
INT
WINAPI
GetDlgItemTextW
(
HWND
hwnd
,
INT
id
,
LPWSTR
str
,
U
INT
len
)
UINT
WINAPI
GetDlgItemTextW
(
HWND
hwnd
,
INT
id
,
LPWSTR
str
,
INT
len
)
{
if
(
str
&&
(
len
>
0
))
str
[
0
]
=
'\0'
;
return
(
INT
)
SendDlgItemMessageW
(
hwnd
,
id
,
WM_GETTEXT
,
return
(
U
INT
)
SendDlgItemMessageW
(
hwnd
,
id
,
WM_GETTEXT
,
len
,
(
LPARAM
)
str
);
}
...
...
include/winuser.h
View file @
99020f80
...
...
@@ -4352,8 +4352,8 @@ HWND WINAPI GetDesktopWindow(void);
INT
WINAPI
GetDlgCtrlID
(
HWND
);
HWND
WINAPI
GetDlgItem
(
HWND
,
INT
);
UINT
WINAPI
GetDlgItemInt
(
HWND
,
INT
,
BOOL
*
,
BOOL
);
INT
WINAPI
GetDlgItemTextA
(
HWND
,
INT
,
LPSTR
,
U
INT
);
INT
WINAPI
GetDlgItemTextW
(
HWND
,
INT
,
LPWSTR
,
U
INT
);
UINT
WINAPI
GetDlgItemTextA
(
HWND
,
INT
,
LPSTR
,
INT
);
UINT
WINAPI
GetDlgItemTextW
(
HWND
,
INT
,
LPWSTR
,
INT
);
#define GetDlgItemText WINELIB_NAME_AW(GetDlgItemText)
UINT
WINAPI
GetDoubleClickTime
(
void
);
HWND
WINAPI
GetFocus
(
void
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment