Windows: use system provided CM_Get_Device_Interface_PropertyW

This commit is contained in:
李通洲
2024-10-23 09:21:30 +08:00
parent 6cd7f6c2f6
commit 5c06d34b49
2 changed files with 0 additions and 18 deletions
@@ -11,15 +11,6 @@
#include <cfgmgr32.h>
#include <devpkey.h>
WINAPI CMAPI CONFIGRET CM_Get_Device_Interface_PropertyW(
_In_ LPCWSTR pszDeviceInterface,
_In_ const DEVPROPKEY *PropertyKey,
_Out_ DEVPROPTYPE *PropertyType,
_Out_ PBYTE PropertyBuffer,
_Inout_ PULONG PropertyBufferSize,
_In_ ULONG ulFlags
);
const char* ffDetectKeyboard(FFlist* devices /* List of FFKeyboardDevice */)
{
UINT nDevices = 0;
-9
View File
@@ -11,15 +11,6 @@
#include <cfgmgr32.h>
#include <devpkey.h>
WINAPI CMAPI CONFIGRET CM_Get_Device_Interface_PropertyW(
_In_ LPCWSTR pszDeviceInterface,
_In_ const DEVPROPKEY *PropertyKey,
_Out_ DEVPROPTYPE *PropertyType,
_Out_ PBYTE PropertyBuffer,
_Inout_ PULONG PropertyBufferSize,
_In_ ULONG ulFlags
);
const char* ffDetectMouse(FFlist* devices /* List of FFMouseDevice */)
{
UINT nDevices = 0;