From 492010b325bf31d80b195775688c033864d594c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E9=80=9A=E6=B4=B2?= Date: Wed, 9 Oct 2024 23:14:52 +0800 Subject: [PATCH] Mouse / Keyboard: try fixing x86 link errors --- src/detection/keyboard/keyboard_windows.c | 2 +- src/detection/mouse/mouse_windows.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/detection/keyboard/keyboard_windows.c b/src/detection/keyboard/keyboard_windows.c index b04e35d6c..cf8acabb3 100644 --- a/src/detection/keyboard/keyboard_windows.c +++ b/src/detection/keyboard/keyboard_windows.c @@ -11,7 +11,7 @@ #include #include -CMAPI CONFIGRET CM_Get_Device_Interface_PropertyW( +WINAPI CMAPI CONFIGRET CM_Get_Device_Interface_PropertyW( _In_ LPCWSTR pszDeviceInterface, _In_ const DEVPROPKEY *PropertyKey, _Out_ DEVPROPTYPE *PropertyType, diff --git a/src/detection/mouse/mouse_windows.c b/src/detection/mouse/mouse_windows.c index 29273fcd9..094390d35 100644 --- a/src/detection/mouse/mouse_windows.c +++ b/src/detection/mouse/mouse_windows.c @@ -11,7 +11,7 @@ #include #include -CMAPI CONFIGRET CM_Get_Device_Interface_PropertyW( +WINAPI CMAPI CONFIGRET CM_Get_Device_Interface_PropertyW( _In_ LPCWSTR pszDeviceInterface, _In_ const DEVPROPKEY *PropertyKey, _Out_ DEVPROPTYPE *PropertyType,