diff options
| author | 2016-06-15 15:10:54 +0100 | |
|---|---|---|
| committer | 2016-06-15 15:11:36 +0100 | |
| commit | 2e51110ebf134da7dda12f375d00d7cbb7aa154b (patch) | |
| tree | 5bf8e2f3c1e5487f2df6881e4a65c40865f762c7 /src/osd/modules/input/input_rawinput.cpp | |
| parent | 13526f680b58d04cb5351be2a8e7c3db2673666d (diff) | |
The calling convention goes inside the brackets of pointers to functions. Allows compiling with MSVC (nw)
Revision: 58dc78b6eba373d88fe7ef68f9ce3c2c43e635d6
Author: Giuseppe Gorgoglione <gorgogsp@gmail.com>
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.
Diffstat (limited to 'src/osd/modules/input/input_rawinput.cpp')
| -rw-r--r-- | src/osd/modules/input/input_rawinput.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
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 { |
