From 2e51110ebf134da7dda12f375d00d7cbb7aa154b Mon Sep 17 00:00:00 2001 From: smf- Date: Wed, 15 Jun 2016 15:10:54 +0100 Subject: The calling convention goes inside the brackets of pointers to functions. Allows compiling with MSVC (nw) Revision: 58dc78b6eba373d88fe7ef68f9ce3c2c43e635d6 Author: Giuseppe Gorgoglione Date: 28/05/2016 03:14:15 Message: Introduce dynamic_module This is a central cross-platform facility to dynamically bind functions from shared libraries. Updated all OSD modules to use it. --- src/osd/modules/input/input_rawinput.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/osd/modules/input/input_rawinput.cpp') diff --git a/src/osd/modules/input/input_rawinput.cpp b/src/osd/modules/input/input_rawinput.cpp index cfab7dcdb5a..c4f84642b2f 100644 --- a/src/osd/modules/input/input_rawinput.cpp +++ b/src/osd/modules/input/input_rawinput.cpp @@ -38,10 +38,10 @@ //============================================================ // Typedefs for dynamically loaded functions -typedef UINT WINAPI (*get_rawinput_device_list_ptr)(PRAWINPUTDEVICELIST, PUINT, UINT); -typedef UINT WINAPI (*get_rawinput_data_ptr)( HRAWINPUT, UINT, LPVOID, PUINT, UINT); -typedef UINT WINAPI (*get_rawinput_device_info_ptr)(HANDLE, UINT, LPVOID, PUINT); -typedef BOOL WINAPI (*register_rawinput_devices_ptr)(PCRAWINPUTDEVICE, UINT, UINT); +typedef UINT (WINAPI *get_rawinput_device_list_ptr)(PRAWINPUTDEVICELIST, PUINT, UINT); +typedef UINT (WINAPI *get_rawinput_data_ptr)( HRAWINPUT, UINT, LPVOID, PUINT, UINT); +typedef UINT (WINAPI *get_rawinput_device_info_ptr)(HANDLE, UINT, LPVOID, PUINT); +typedef BOOL (WINAPI *register_rawinput_devices_ptr)(PCRAWINPUTDEVICE, UINT, UINT); class safe_regkey { -- cgit v1.2.3