Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
8486b201
Commit
8486b201
authored
Mar 16, 2011
by
Erich Hoover
Committed by
Alexandre Julliard
Mar 17, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32: Downgrade GetCursorFrameInfo FIXME to a TRACE unless the second parameter is non-zero.
parent
274e5db7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
2 deletions
+19
-2
cursoricon.c
dlls/user32/cursoricon.c
+19
-2
No files found.
dlls/user32/cursoricon.c
View file @
8486b201
...
...
@@ -1878,8 +1878,23 @@ HICON WINAPI LoadIconA(HINSTANCE hInstance, LPCSTR name)
/**********************************************************************
* GetCursorFrameInfo (USER32.@)
*
* NOTES
* So far no use has been found for the second parameter, it is currently presumed
* that this parameter is reserved for future use.
*
* PARAMS
* hCursor [I] Handle to cursor for which to retrieve information
* reserved [I] No purpose has been found for this parameter (may be NULL)
* istep [I] The step of the cursor for which to retrieve information
* rate_jiffies [O] Pointer to DWORD that receives the frame-specific delay (cannot be NULL)
* num_steps [O] Pointer to DWORD that receives the number of steps in the cursor (cannot be NULL)
*
* RETURNS
* Success: Handle to a frame of the cursor (specified by istep)
* Failure: NULL cursor (0)
*/
HCURSOR
WINAPI
GetCursorFrameInfo
(
HCURSOR
hCursor
,
DWORD
unk1
,
DWORD
istep
,
DWORD
*
rate_jiffies
,
DWORD
*
num_steps
)
HCURSOR
WINAPI
GetCursorFrameInfo
(
HCURSOR
hCursor
,
DWORD
reserved
,
DWORD
istep
,
DWORD
*
rate_jiffies
,
DWORD
*
num_steps
)
{
struct
cursoricon_object
*
ptr
;
HCURSOR
ret
=
0
;
...
...
@@ -1889,7 +1904,9 @@ HCURSOR WINAPI GetCursorFrameInfo(HCURSOR hCursor, DWORD unk1, DWORD istep, DWOR
if
(
!
(
ptr
=
get_icon_ptr
(
hCursor
)))
return
0
;
FIXME
(
"semi-stub! %p => %d %d %p %p
\n
"
,
hCursor
,
unk1
,
istep
,
rate_jiffies
,
num_steps
);
TRACE
(
"%p => %d %d %p %p
\n
"
,
hCursor
,
reserved
,
istep
,
rate_jiffies
,
num_steps
);
if
(
reserved
!=
0
)
FIXME
(
"Second parameter non-zero (%d), please report this!
\n
"
,
reserved
);
icon_steps
=
get_icon_steps
(
ptr
);
if
(
istep
<
icon_steps
||
!
ptr
->
is_ani
)
...
...
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