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
00b55015
Commit
00b55015
authored
Dec 10, 2007
by
Andrew Riedi
Committed by
Alexandre Julliard
Dec 11, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32: Test the initial state of the cursor.
parent
93b64766
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
0 deletions
+18
-0
cursoricon.c
dlls/user32/tests/cursoricon.c
+18
-0
No files found.
dlls/user32/tests/cursoricon.c
View file @
00b55015
...
...
@@ -238,6 +238,23 @@ static void test_CopyImage_Bitmap(int depth)
HeapFree
(
GetProcessHeap
(),
0
,
info
);
}
static
void
test_initial_cursor
(
void
)
{
HCURSOR
cursor
,
cursor2
;
DWORD
error
;
cursor
=
GetCursor
();
/* Check what handle GetCursor() returns if a cursor is not set yet. */
SetLastError
(
0xdeadbeef
);
cursor2
=
LoadCursor
(
NULL
,
IDC_WAIT
);
todo_wine
{
ok
(
cursor
==
cursor2
,
"cursor (%p) is not IDC_WAIT (%p).
\n
"
,
cursor
,
cursor2
);
}
error
=
GetLastError
();
ok
(
error
==
0xdeadbeef
,
"Last error: 0x%08x
\n
"
,
error
);
}
static
void
test_icon_info_dbg
(
HICON
hIcon
,
UINT
exp_cx
,
UINT
exp_cy
,
UINT
exp_bpp
,
int
line
)
{
ICONINFO
info
;
...
...
@@ -460,6 +477,7 @@ START_TEST(cursoricon)
test_CopyImage_Bitmap
(
16
);
test_CopyImage_Bitmap
(
24
);
test_CopyImage_Bitmap
(
32
);
test_initial_cursor
();
test_CreateIcon
();
test_DestroyCursor
();
}
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