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
a897e13f
Commit
a897e13f
authored
Oct 21, 2013
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32: Get rid of the CreateCursorIcon driver entry point.
parent
639c202e
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
16 deletions
+0
-16
cursoricon.c
dlls/user32/cursoricon.c
+0
-3
driver.c
dlls/user32/driver.c
+0
-12
user_private.h
dlls/user32/user_private.h
+0
-1
No files found.
dlls/user32/cursoricon.c
View file @
a897e13f
...
...
@@ -972,7 +972,6 @@ done:
list_add_head
(
&
icon_cache
,
&
info
->
entry
);
}
release_icon_ptr
(
hObj
,
info
);
USER_Driver
->
pCreateCursorIcon
(
hObj
);
}
else
{
...
...
@@ -1609,7 +1608,6 @@ HICON WINAPI CopyIcon( HICON hIcon )
release_icon_ptr
(
hNew
,
ptrNew
);
}
release_icon_ptr
(
hIcon
,
ptrOld
);
if
(
hNew
)
USER_Driver
->
pCreateCursorIcon
(
hNew
);
return
hNew
;
}
...
...
@@ -2212,7 +2210,6 @@ HICON WINAPI CreateIconIndirect(PICONINFO iconinfo)
}
release_icon_ptr
(
hObj
,
info
);
USER_Driver
->
pCreateCursorIcon
(
hObj
);
}
return
hObj
;
}
...
...
dlls/user32/driver.c
View file @
a897e13f
...
...
@@ -67,7 +67,6 @@ static const USER_DRIVER *load_driver(void)
GET_USER_FUNC
(
UnloadKeyboardLayout
);
GET_USER_FUNC
(
UnregisterHotKey
);
GET_USER_FUNC
(
VkKeyScanEx
);
GET_USER_FUNC
(
CreateCursorIcon
);
GET_USER_FUNC
(
DestroyCursorIcon
);
GET_USER_FUNC
(
SetCursor
);
GET_USER_FUNC
(
GetCursorPos
);
...
...
@@ -205,10 +204,6 @@ static SHORT CDECL nulldrv_VkKeyScanEx( WCHAR ch, HKL layout )
return
-
1
;
}
static
void
CDECL
nulldrv_CreateCursorIcon
(
HCURSOR
cursor
)
{
}
static
void
CDECL
nulldrv_DestroyCursorIcon
(
HCURSOR
cursor
)
{
}
...
...
@@ -439,7 +434,6 @@ static USER_DRIVER null_driver =
nulldrv_UnregisterHotKey
,
nulldrv_VkKeyScanEx
,
/* cursor/icon functions */
nulldrv_CreateCursorIcon
,
nulldrv_DestroyCursorIcon
,
nulldrv_SetCursor
,
nulldrv_GetCursorPos
,
...
...
@@ -559,11 +553,6 @@ static SHORT CDECL loaderdrv_VkKeyScanEx( WCHAR ch, HKL layout )
return
load_driver
()
->
pVkKeyScanEx
(
ch
,
layout
);
}
static
void
CDECL
loaderdrv_CreateCursorIcon
(
HCURSOR
cursor
)
{
load_driver
()
->
pCreateCursorIcon
(
cursor
);
}
static
void
CDECL
loaderdrv_DestroyCursorIcon
(
HCURSOR
cursor
)
{
load_driver
()
->
pDestroyCursorIcon
(
cursor
);
...
...
@@ -787,7 +776,6 @@ static USER_DRIVER lazy_load_driver =
loaderdrv_UnregisterHotKey
,
loaderdrv_VkKeyScanEx
,
/* cursor/icon functions */
loaderdrv_CreateCursorIcon
,
loaderdrv_DestroyCursorIcon
,
loaderdrv_SetCursor
,
loaderdrv_GetCursorPos
,
...
...
dlls/user32/user_private.h
View file @
a897e13f
...
...
@@ -73,7 +73,6 @@ typedef struct tagUSER_DRIVER {
void
(
CDECL
*
pUnregisterHotKey
)(
HWND
,
UINT
,
UINT
);
SHORT
(
CDECL
*
pVkKeyScanEx
)(
WCHAR
,
HKL
);
/* cursor/icon functions */
void
(
CDECL
*
pCreateCursorIcon
)(
HCURSOR
);
void
(
CDECL
*
pDestroyCursorIcon
)(
HCURSOR
);
void
(
CDECL
*
pSetCursor
)(
HCURSOR
);
BOOL
(
CDECL
*
pGetCursorPos
)(
LPPOINT
);
...
...
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