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
56b2ab24
Commit
56b2ab24
authored
Mar 21, 2008
by
Reece Dunn
Committed by
Alexandre Julliard
Mar 22, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32: Fixed the HiliteMenuItem tests to pass on Windows 9x.
parent
f3380958
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
6 deletions
+5
-6
menu.c
dlls/user32/tests/menu.c
+5
-6
No files found.
dlls/user32/tests/menu.c
View file @
56b2ab24
...
@@ -1903,18 +1903,17 @@ static void test_menu_hilitemenuitem( void )
...
@@ -1903,18 +1903,17 @@ static void test_menu_hilitemenuitem( void )
{
{
ok
(
!
HiliteMenuItem
(
NULL
,
hPopupMenu
,
1
,
MF_HILITE
|
MF_BYPOSITION
),
ok
(
!
HiliteMenuItem
(
NULL
,
hPopupMenu
,
1
,
MF_HILITE
|
MF_BYPOSITION
),
"HiliteMenuItem: call should have failed.
\n
"
);
"HiliteMenuItem: call should have failed.
\n
"
);
ok
(
GetLastError
()
==
ERROR_INVALID_WINDOW_HANDLE
,
"HiliteMenuItem: expected error ERROR_INVALID_WINDOW_HANDLE, got: %d
\n
"
,
GetLastError
());
}
}
ok
(
GetLastError
()
==
0xdeadbeef
||
/* 9x */
GetLastError
()
==
ERROR_INVALID_WINDOW_HANDLE
/* NT */
,
"HiliteMenuItem: expected error ERROR_INVALID_WINDOW_HANDLE, got: %d
\n
"
,
GetLastError
());
SetLastError
(
0xdeadbeef
);
SetLastError
(
0xdeadbeef
);
ok
(
!
HiliteMenuItem
(
hWnd
,
NULL
,
1
,
MF_HILITE
|
MF_BYPOSITION
),
ok
(
!
HiliteMenuItem
(
hWnd
,
NULL
,
1
,
MF_HILITE
|
MF_BYPOSITION
),
"HiliteMenuItem: call should have failed.
\n
"
);
"HiliteMenuItem: call should have failed.
\n
"
);
todo_wine
ok
(
GetLastError
()
==
0xdeadbeef
||
/* 9x */
{
GetLastError
()
==
ERROR_INVALID_MENU_HANDLE
/* NT */
,
ok
(
GetLastError
()
==
ERROR_INVALID_MENU_HANDLE
,
"HiliteMenuItem: expected error ERROR_INVALID_MENU_HANDLE, got: %d
\n
"
,
GetLastError
());
"HiliteMenuItem: expected error ERROR_INVALID_MENU_HANDLE, got: %d
\n
"
,
GetLastError
());
}
ok
(
!
(
GetMenuState
(
hPopupMenu
,
1
,
MF_BYPOSITION
)
&
MF_HILITE
),
ok
(
!
(
GetMenuState
(
hPopupMenu
,
1
,
MF_BYPOSITION
)
&
MF_HILITE
),
"HiliteMenuItem: Item 2 is hilited
\n
"
);
"HiliteMenuItem: Item 2 is hilited
\n
"
);
...
...
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