Commit 86c4a369 authored by Alexandre Julliard's avatar Alexandre Julliard

user32: Remove the CURSORICONINFO parameter in the CreateCursorIcon driver entry point.

parent e25049e8
...@@ -1156,7 +1156,7 @@ static HICON CURSORICON_CreateIconFromBMI( BITMAPINFO *bmi, ...@@ -1156,7 +1156,7 @@ static HICON CURSORICON_CreateIconFromBMI( BITMAPINFO *bmi,
GetBitmapBits( hAndBits, sizeAnd, info + 1 ); GetBitmapBits( hAndBits, sizeAnd, info + 1 );
GetBitmapBits( hXorBits, sizeXor, (char *)(info + 1) + sizeAnd ); GetBitmapBits( hXorBits, sizeXor, (char *)(info + 1) + sizeAnd );
release_icon_ptr( hObj, info ); release_icon_ptr( hObj, info );
USER_Driver->pCreateCursorIcon( hObj, &info->data ); USER_Driver->pCreateCursorIcon( hObj );
} }
else else
{ {
...@@ -1776,7 +1776,7 @@ HICON WINAPI CopyIcon( HICON hIcon ) ...@@ -1776,7 +1776,7 @@ HICON WINAPI CopyIcon( HICON hIcon )
ptrNew->mask = copy_bitmap( ptrOld->mask ); ptrNew->mask = copy_bitmap( ptrOld->mask );
release_icon_ptr( hIcon, ptrOld ); release_icon_ptr( hIcon, ptrOld );
release_icon_ptr( hNew, ptrNew ); release_icon_ptr( hNew, ptrNew );
USER_Driver->pCreateCursorIcon( hNew, &ptrNew->data ); USER_Driver->pCreateCursorIcon( hNew );
return hNew; return hNew;
} }
...@@ -2241,7 +2241,7 @@ HICON WINAPI CreateIconIndirect(PICONINFO iconinfo) ...@@ -2241,7 +2241,7 @@ HICON WINAPI CreateIconIndirect(PICONINFO iconinfo)
} }
} }
release_icon_ptr( hObj, info ); release_icon_ptr( hObj, info );
USER_Driver->pCreateCursorIcon( hObj, &info->data ); USER_Driver->pCreateCursorIcon( hObj );
} }
return hObj; return hObj;
} }
......
...@@ -217,7 +217,7 @@ static SHORT CDECL nulldrv_VkKeyScanEx( WCHAR ch, HKL layout ) ...@@ -217,7 +217,7 @@ static SHORT CDECL nulldrv_VkKeyScanEx( WCHAR ch, HKL layout )
return -1; return -1;
} }
static void CDECL nulldrv_CreateCursorIcon( HCURSOR cursor, struct tagCURSORICONINFO *info ) static void CDECL nulldrv_CreateCursorIcon( HCURSOR cursor )
{ {
} }
...@@ -570,9 +570,9 @@ static SHORT CDECL loaderdrv_VkKeyScanEx( WCHAR ch, HKL layout ) ...@@ -570,9 +570,9 @@ static SHORT CDECL loaderdrv_VkKeyScanEx( WCHAR ch, HKL layout )
return load_driver()->pVkKeyScanEx( ch, layout ); return load_driver()->pVkKeyScanEx( ch, layout );
} }
static void CDECL loaderdrv_CreateCursorIcon( HCURSOR cursor, struct tagCURSORICONINFO *info ) static void CDECL loaderdrv_CreateCursorIcon( HCURSOR cursor )
{ {
load_driver()->pCreateCursorIcon( cursor, info ); load_driver()->pCreateCursorIcon( cursor );
} }
static void CDECL loaderdrv_DestroyCursorIcon( HCURSOR cursor ) static void CDECL loaderdrv_DestroyCursorIcon( HCURSOR cursor )
......
...@@ -51,8 +51,6 @@ enum wine_internal_message ...@@ -51,8 +51,6 @@ enum wine_internal_message
WM_WINE_LAST_DRIVER_MSG = 0x80001fff WM_WINE_LAST_DRIVER_MSG = 0x80001fff
}; };
struct tagCURSORICONINFO;
typedef struct tagUSER_DRIVER { typedef struct tagUSER_DRIVER {
/* keyboard functions */ /* keyboard functions */
HKL (CDECL *pActivateKeyboardLayout)(HKL, UINT); HKL (CDECL *pActivateKeyboardLayout)(HKL, UINT);
...@@ -68,7 +66,7 @@ typedef struct tagUSER_DRIVER { ...@@ -68,7 +66,7 @@ typedef struct tagUSER_DRIVER {
BOOL (CDECL *pUnloadKeyboardLayout)(HKL); BOOL (CDECL *pUnloadKeyboardLayout)(HKL);
SHORT (CDECL *pVkKeyScanEx)(WCHAR, HKL); SHORT (CDECL *pVkKeyScanEx)(WCHAR, HKL);
/* cursor/icon functions */ /* cursor/icon functions */
void (CDECL *pCreateCursorIcon)(HCURSOR,struct tagCURSORICONINFO *); void (CDECL *pCreateCursorIcon)(HCURSOR);
void (CDECL *pDestroyCursorIcon)(HCURSOR); void (CDECL *pDestroyCursorIcon)(HCURSOR);
void (CDECL *pSetCursor)(HCURSOR); void (CDECL *pSetCursor)(HCURSOR);
BOOL (CDECL *pGetCursorPos)(LPPOINT); BOOL (CDECL *pGetCursorPos)(LPPOINT);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment