Skip to content

Commit 5c06d34

Browse files
committed
Windows: use system provided CM_Get_Device_Interface_PropertyW
1 parent 6cd7f6c commit 5c06d34

File tree

2 files changed

+0
-18
lines changed

2 files changed

+0
-18
lines changed

src/detection/keyboard/keyboard_windows.c

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,6 @@
1111
#include <cfgmgr32.h>
1212
#include <devpkey.h>
1313

14-
WINAPI CMAPI CONFIGRET CM_Get_Device_Interface_PropertyW(
15-
_In_ LPCWSTR pszDeviceInterface,
16-
_In_ const DEVPROPKEY *PropertyKey,
17-
_Out_ DEVPROPTYPE *PropertyType,
18-
_Out_ PBYTE PropertyBuffer,
19-
_Inout_ PULONG PropertyBufferSize,
20-
_In_ ULONG ulFlags
21-
);
22-
2314
const char* ffDetectKeyboard(FFlist* devices /* List of FFKeyboardDevice */)
2415
{
2516
UINT nDevices = 0;

src/detection/mouse/mouse_windows.c

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,6 @@
1111
#include <cfgmgr32.h>
1212
#include <devpkey.h>
1313

14-
WINAPI CMAPI CONFIGRET CM_Get_Device_Interface_PropertyW(
15-
_In_ LPCWSTR pszDeviceInterface,
16-
_In_ const DEVPROPKEY *PropertyKey,
17-
_Out_ DEVPROPTYPE *PropertyType,
18-
_Out_ PBYTE PropertyBuffer,
19-
_Inout_ PULONG PropertyBufferSize,
20-
_In_ ULONG ulFlags
21-
);
22-
2314
const char* ffDetectMouse(FFlist* devices /* List of FFMouseDevice */)
2415
{
2516
UINT nDevices = 0;

0 commit comments

Comments
 (0)