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
dbd7ee3c
Commit
dbd7ee3c
authored
Aug 08, 2005
by
Francois Gouget
Committed by
Alexandre Julliard
Aug 08, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
CreateWindow(parent=NULL, ctlid!=0) should fail.
parent
82776020
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
0 deletions
+12
-0
win.c
dlls/user/tests/win.c
+12
-0
No files found.
dlls/user/tests/win.c
View file @
dbd7ee3c
...
...
@@ -2805,12 +2805,24 @@ static void test_scroll(void)
static
void
test_params
(
void
)
{
HWND
hwnd
;
INT
rc
;
/* Just a param check */
SetLastError
(
0xdeadbeef
);
rc
=
GetWindowText
(
hwndMain2
,
NULL
,
1024
);
ok
(
rc
==
0
,
"GetWindowText: rc=%d err=%ld
\n
"
,
rc
,
GetLastError
());
hwnd
=
CreateWindow
(
"LISTBOX"
,
"TestList"
,
(
LBS_STANDARD
&
~
LBS_SORT
),
0
,
0
,
100
,
100
,
NULL
,
(
HMENU
)
1
,
NULL
,
0
);
todo_wine
{
ok
(
hwnd
==
NULL
,
"CreateWindow(parent=NULL, ctlid!=0) should have failed
\n
"
);
}
/* NT sets LastError to ERROR_INVALID_MENU_HANDLE
* but Win9x leaves it unchanged. So no test.
*/
}
static
void
test_AWRwindow
(
LPCSTR
class
,
LONG
style
,
LONG
exStyle
,
BOOL
menu
)
...
...
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