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
573fcad0
Commit
573fcad0
authored
Dec 09, 2007
by
Andrew Riedi
Committed by
Alexandre Julliard
Dec 10, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32: Uncomment and explain a test in test_DestroyCursor().
parent
e46751f5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
2 deletions
+9
-2
cursoricon.c
dlls/user32/tests/cursoricon.c
+9
-2
No files found.
dlls/user32/tests/cursoricon.c
View file @
573fcad0
...
...
@@ -411,9 +411,16 @@ static void test_DestroyCursor(void)
SetCursor
(
NULL
);
/* Trying to destroy the cursor properly fails now for some reason with ERROR_INVALID_CURSOR_HANDLE */
/* Trying to destroy the cursor properly fails now with
* ERROR_INVALID_CURSOR_HANDLE. This happens because we called
* DestroyCursor() 2+ times after calling SetCursor(). The calls to
* GetCursor() and SetCursor(NULL) in between make no difference. */
ret
=
DestroyCursor
(
cursor
);
/* ok(ret, "DestroyCursor failed, GetLastError=%d\n", GetLastError()); */
todo_wine
{
ok
(
!
ret
,
"DestroyCursor succeeded.
\n
"
);
error
=
GetLastError
();
ok
(
error
==
ERROR_INVALID_CURSOR_HANDLE
,
"Last error: 0x%08x
\n
"
,
error
);
}
DeleteObject
(
cursorInfo
.
hbmMask
);
DeleteObject
(
cursorInfo
.
hbmColor
);
...
...
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