USER32: modify CURSORICON_FindBestIcon/Cursor to use enumerator functions

Mike McCormack mike at codeweavers.com
Tue Jul 12 01:46:46 CDT 2005


This patch prepares for the removal of the 
CURSORICON_SimulateLoadingFromResourceW hack.

CURSORICONFILEDIR and CURSORICONDIR defined in include/cursoricon.h are 
nearly identical structures describing cursors or icons stored in a file 
or resource respectively.

Currently the differences between these structures is handled by 
converting the cursor/icon data stored in a file to the same structure 
as that stored in a resource, then loading it as a resouce.

This patch modifies CURSORICON_FindBestIcon/Cursor to accept an 
enumerator function that deals with the small differences between 
structures.

Mike


ChangeLog:
* modify CURSORICON_FindBestIcon/Cursor to use enumerator functions
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ci-3.diff
Type: text/x-patch
Size: 10314 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20050712/9b5688da/ci-3.bin


More information about the wine-patches mailing list