Re: user32: Test the initial state of the cursor.
10 Dec
2007
10 Dec
'07
11:08 a.m.
"Andrew Riedi" <andrewriedi(a)gmail.com> writes:
+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 == (HCURSOR) 0x00010015, "Cursor handle is %p, not 0x00010015.\n", cursor);
It doesn't make sense to hardcode handle values, it's not a behavior we want to replicate. -- Alexandre Julliard julliard(a)winehq.org
6667
Age (days ago)
6667
Last active (days ago)
0 comments
1 participants
participants (1)
-
Alexandre Julliard