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,