Commit ff66d8ee authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

win32u: Remove no longer used __wine_set_user_driver PE entry point.

parent 4e19dbbb
......@@ -1223,9 +1223,9 @@ static const struct user_driver_funcs lazy_load_driver =
const struct user_driver_funcs *user_driver = &lazy_load_driver;
/******************************************************************************
* __wine_set_user_driver (win32u.@)
* __wine_set_user_driver (win32u.so)
*/
void CDECL __wine_set_user_driver( const struct user_driver_funcs *funcs, UINT version )
void __wine_set_user_driver( const struct user_driver_funcs *funcs, UINT version )
{
struct user_driver_funcs *driver, *prev;
......
......@@ -1249,7 +1249,6 @@ static struct unix_funcs unix_funcs =
__wine_get_vulkan_driver,
__wine_get_wgl_driver,
__wine_send_input,
__wine_set_user_driver,
};
NTSTATUS gdi_init(void)
......
......@@ -1322,7 +1322,6 @@
# Graphics drivers
@ cdecl __wine_send_input(long ptr ptr)
@ cdecl __wine_set_user_driver(ptr long)
# OpenGL
@ cdecl __wine_get_wgl_driver(long long)
......
......@@ -328,7 +328,6 @@ struct unix_funcs
const struct vulkan_funcs * (CDECL *get_vulkan_driver)( UINT version );
struct opengl_funcs * (CDECL *get_wgl_driver)( HDC hdc, UINT version );
BOOL (CDECL *wine_send_input)( HWND hwnd, const INPUT *input, const RAWINPUT *rawinput );
void (CDECL *set_user_driver)( const struct user_driver_funcs *funcs, UINT version );
};
/* clipboard.c */
......
......@@ -1408,15 +1408,6 @@ BOOL CDECL __wine_send_input( HWND hwnd, const INPUT *input, const RAWINPUT *raw
return unix_funcs->wine_send_input( hwnd, input, rawinput );
}
/***********************************************************************
* __wine_set_user_driver (win32u.@)
*/
void CDECL __wine_set_user_driver( const struct user_driver_funcs *funcs, UINT version )
{
if (!unix_funcs) return;
return unix_funcs->set_user_driver( funcs, version );
}
extern void wrappers_init( unixlib_handle_t handle )
{
const void *args;
......
......@@ -168,7 +168,7 @@ struct gdi_dc_funcs
};
/* increment this when you change the DC function table */
#define WINE_GDI_DRIVER_VERSION 79
#define WINE_GDI_DRIVER_VERSION 80
#define GDI_PRIORITY_NULL_DRV 0 /* null driver */
#define GDI_PRIORITY_FONT_DRV 100 /* any font driver */
......@@ -196,9 +196,9 @@ static inline void push_dc_driver( PHYSDEV *dev, PHYSDEV physdev, const struct g
/* support for window surfaces */
struct window_surface;
#ifdef WINE_UNIX_LIB
#ifndef __WINE_USE_MSVCRT
struct window_surface;
struct window_surface_funcs
{
......@@ -333,10 +333,10 @@ struct user_driver_funcs
void (*pThreadDetach)(void);
};
#endif /* __WINE_USE_MSVCRT */
extern void __wine_set_user_driver( const struct user_driver_funcs *funcs, UINT version );
#endif /* WINE_UNIX_LIB */
struct user_driver_funcs;
extern void CDECL __wine_set_user_driver( const struct user_driver_funcs *funcs, UINT version );
extern struct opengl_funcs * CDECL __wine_get_wgl_driver( HDC hdc, UINT version );
extern const struct vulkan_funcs * CDECL __wine_get_vulkan_driver( UINT version );
......
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