Vanara.PInvoke.Hid
4.2.1
Prefix Reserved
dotnet add package Vanara.PInvoke.Hid --version 4.2.1
NuGet\Install-Package Vanara.PInvoke.Hid -Version 4.2.1
<PackageReference Include="Vanara.PInvoke.Hid" Version="4.2.1" />
<PackageVersion Include="Vanara.PInvoke.Hid" Version="4.2.1" />
<PackageReference Include="Vanara.PInvoke.Hid" />
paket add Vanara.PInvoke.Hid --version 4.2.1
#r "nuget: Vanara.PInvoke.Hid, 4.2.1"
#:package Vanara.PInvoke.Hid@4.2.1
#addin nuget:?package=Vanara.PInvoke.Hid&version=4.2.1
#tool nuget:?package=Vanara.PInvoke.Hid&version=4.2.1
Vanara.PInvoke.Hid NuGet Package
PInvoke API (methods, structures and constants) imported from Windows Human Interface Devices (hid.dll).
What is Vanara?
Vanara is a community project that contains various .NET assemblies which have P/Invoke functions, interfaces, enums and structures from Windows libraries. Each assembly is associated with one or a few tightly related libraries.
Issues?
First check if it's already fixed by trying the MyGet build. If you're still running into problems, file an issue.
Included in Vanara.PInvoke.Hid
Functions | Enumerations | Structures |
---|---|---|
HidD_FlushQueue HidD_FreePreparsedData HidD_GetAttributes HidD_GetFeature HidD_GetHidGuid HidD_GetIndexedString HidD_GetInputReport HidD_GetManufacturerString HidD_GetNumInputBuffers HidD_GetPhysicalDescriptor HidD_GetPreparsedData HidD_GetProductString HidD_GetSerialNumberString HidD_Hello HidD_SetFeature HidD_SetNumInputBuffers HidD_SetOutputReport HidNotifyPresence HidP_FreeCollectionDescription HidP_GetButtonArray HidP_GetButtonCaps HidP_GetCaps HidP_GetCollectionDescription HidP_GetData HidP_GetExtendedAttributes HidP_GetLinkCollectionNodes HidP_GetScaledUsageValue HidP_GetSpecificButtonCaps HidP_GetSpecificValueCaps HidP_GetUsages HidP_GetUsagesEx HidP_GetUsageValue HidP_GetUsageValueArray HidP_GetValueCaps HidP_GetVersion HidP_GetVersionInternal HidP_InitializeReportForID HidP_MaxDataListLength HidP_MaxUsageListLength HidP_SetButtonArray HidP_SetData HidP_SetScaledUsageValue HidP_SetUsages HidP_SetUsageValue HidP_SetUsageValueArray HidP_TranslateUsagesToI8042ScanCodes HidP_UnsetUsages HidP_UsageAndPageListDifference HidP_UsageListDifference HidRegisterMinidriver HIDSPICX_DEVICE_CONFIG_INIT HidSpiCxDeviceConfigure HidSpiCxDeviceInitConfig HidSpiCxNotifyDeviceReset VHF_CONFIG_INIT VhfAsyncOperationComplete VhfCreate VhfDelete VhfReadReportSubmit VhfStart | HIDP_GETCOLDESC_RESULT HIDP_KEYBOARD_DIRECTION HIDP_LINK_COLLECTION HIDP_REPORT_TYPE HIDSPICXFUNCENUM USAGE USAGE_VALUE KBDMOU I8042_BUTTONS I8042_PORT_TYPE MOUSE_RESET_SUBSTATE KEYBOARD_SCAN_STATE MOUSE_STATE TRANSMIT_STATE KEYBOARD_INPUT_FLAGS LED_FLAGS MOUSE_BUTTON_FLAG MOUSE_IDENTIFIER MOUSE_INPUT_FLAG | HID_COLLECTION_INFORMATION HID_XFER_PACKET HIDP_COLLECTION_DESC HIDP_DEVICE_DESC HIDP_GETCOLDESC_DBG HIDP_REPORT_IDS HIDP_BUTTON_ARRAY_DATA HIDP_BUTTON_CAPS HIDP_CAPS HIDP_DATA HIDP_EXTENDED_ATTRIBUTES HIDP_KEYBOARD_MODIFIER_STATE HIDP_LINK_COLLECTION_NODE HIDP_UNKNOWN_TOKEN HIDP_VALUE_CAPS PHIDP_PREPARSED_DATA PHIDP_REPORT_DESCRIPTOR USAGE_AND_PAGE HID_DESCRIPTOR HID_DEVICE_ATTRIBUTES HID_DEVICE_EXTENSION HID_MINIDRIVER_REGISTRATION HID_SUBMIT_IDLE_NOTIFICATION_CALLBACK_INFO PDEVICE_OBJECT PDRIVER_OBJECT PFILE_OBJECT HIDD_ATTRIBUTES HIDSPICX_DEVICE_CONFIG HIDSPICX_DRIVER_GLOBALS HIDSPICX_REPORT CONNECT_DATA INTERNAL_I8042_HOOK_KEYBOARD INTERNAL_I8042_HOOK_MOUSE INTERNAL_I8042_START_INFORMATION OUTPUT_PACKET INDICATOR_LIST KEYBOARD_ATTRIBUTES KEYBOARD_EXTENDED_ATTRIBUTES KEYBOARD_ID KEYBOARD_INDICATOR_PARAMETERS KEYBOARD_INDICATOR_TRANSLATION KEYBOARD_INPUT_DATA KEYBOARD_TYPEMATIC_PARAMETERS KEYBOARD_UNIT_ID_PARAMETER MOUSE_ATTRIBUTES MOUSE_INPUT_DATA MOUSE_UNIT_ID_PARAMETER VHF_CONFIG VHFHANDLE VHFOPERATIONHANDLE <Reserved>e__FixedBuffer <_args>e__FixedBuffer RangeUnion NotRangeUnion <Reserved>e__FixedBuffer <Reserved>e__FixedBuffer <Reserved>e__FixedBuffer <Reserved>e__FixedBuffer RangeUnion NotRangeUnion <Reserved2>e__FixedBuffer HID_DESCRIPTOR_DESC_LIST <Reserved>e__FixedBuffer <Reserved>e__FixedBuffer <Reserved>e__FixedBuffer |
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 is compatible. net5.0-windows was computed. net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 is compatible. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net8.0-windows7.0 is compatible. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net9.0-windows7.0 is compatible. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 is compatible. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 is compatible. |
.NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 is compatible. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETCoreApp 3.1
- Microsoft.Win32.Registry (>= 5.0.0)
- System.Security.AccessControl (>= 6.0.1)
- Vanara.Core (>= 4.2.1)
- Vanara.PInvoke.WindowsDriverFramework (>= 4.2.1)
-
.NETFramework 4.8
- System.ComponentModel.Annotations (>= 5.0.0)
- System.Memory (>= 4.5.5)
- Vanara.Core (>= 4.2.1)
- Vanara.PInvoke.WindowsDriverFramework (>= 4.2.1)
-
.NETStandard 2.0
- Microsoft.Win32.Registry (>= 5.0.0)
- System.ComponentModel.Annotations (>= 5.0.0)
- System.Memory (>= 4.5.5)
- System.Security.AccessControl (>= 6.0.1)
- System.ValueTuple (>= 4.6.1)
- Vanara.Core (>= 4.2.1)
- Vanara.PInvoke.WindowsDriverFramework (>= 4.2.1)
-
.NETStandard 2.1
- Microsoft.Win32.Registry (>= 5.0.0)
- System.ComponentModel.Annotations (>= 5.0.0)
- System.Memory (>= 4.5.5)
- System.Runtime.CompilerServices.Unsafe (>= 6.1.2)
- System.Security.AccessControl (>= 6.0.1)
- Vanara.Core (>= 4.2.1)
- Vanara.PInvoke.WindowsDriverFramework (>= 4.2.1)
-
net5.0
- Microsoft.Win32.Registry (>= 5.0.0)
- System.Security.AccessControl (>= 6.0.1)
- Vanara.Core (>= 4.2.1)
- Vanara.PInvoke.WindowsDriverFramework (>= 4.2.1)
-
net6.0
- Microsoft.Win32.Registry (>= 5.0.0)
- System.Security.AccessControl (>= 6.0.1)
- Vanara.Core (>= 4.2.1)
- Vanara.PInvoke.WindowsDriverFramework (>= 4.2.1)
-
net7.0
- Microsoft.Win32.Registry (>= 5.0.0)
- System.Security.AccessControl (>= 6.0.1)
- Vanara.Core (>= 4.2.1)
- Vanara.PInvoke.WindowsDriverFramework (>= 4.2.1)
-
net8.0-windows7.0
- Vanara.Core (>= 4.2.1)
- Vanara.PInvoke.WindowsDriverFramework (>= 4.2.1)
-
net9.0-windows7.0
- Vanara.Core (>= 4.2.1)
- Vanara.PInvoke.WindowsDriverFramework (>= 4.2.1)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Vanara.PInvoke.Hid:
Package | Downloads |
---|---|
Vanara.Library
The full set of packages associated with the Vanara PInvoke Libraries. |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last Updated |
---|---|---|
4.2.1 | 0 | 9/9/2025 |
Currently implements:
Functions
HidD_FlushQueue HidD_FreePreparsedData HidD_GetAttributes HidD_GetFeature HidD_GetHidGuid HidD_GetIndexedString HidD_GetInputReport HidD_GetManufacturerString HidD_GetNumInputBuffers HidD_GetPhysicalDescriptor HidD_GetPreparsedData HidD_GetProductString HidD_GetSerialNumberString HidD_Hello HidD_SetFeature HidD_SetNumInputBuffers HidD_SetOutputReport HidNotifyPresence HidP_FreeCollectionDescription HidP_GetButtonArray HidP_GetButtonCaps HidP_GetCaps HidP_GetCollectionDescription HidP_GetData HidP_GetExtendedAttributes HidP_GetLinkCollectionNodes HidP_GetScaledUsageValue HidP_GetSpecificButtonCaps HidP_GetSpecificValueCaps HidP_GetUsages HidP_GetUsagesEx HidP_GetUsageValue HidP_GetUsageValueArray HidP_GetValueCaps HidP_GetVersion HidP_GetVersionInternal HidP_InitializeReportForID HidP_MaxDataListLength HidP_MaxUsageListLength HidP_SetButtonArray HidP_SetData HidP_SetScaledUsageValue HidP_SetUsages HidP_SetUsageValue HidP_SetUsageValueArray HidP_TranslateUsagesToI8042ScanCodes HidP_UnsetUsages HidP_UsageAndPageListDifference HidP_UsageListDifference HidRegisterMinidriver HidSpiCxDeviceConfigure HidSpiCxDeviceInitConfig HidSpiCxNotifyDeviceReset HIDSPICX_DEVICE_CONFIG_INIT VhfAsyncOperationComplete VhfCreate VhfDelete VhfReadReportSubmit VhfStart VHF_CONFIG_INIT
Structures
<Reserved2>e__FixedBuffer <Reserved>e__FixedBuffer <Reserved>e__FixedBuffer <Reserved>e__FixedBuffer <Reserved>e__FixedBuffer <Reserved>e__FixedBuffer <Reserved>e__FixedBuffer <Reserved>e__FixedBuffer <Reserved>e__FixedBuffer <_args>e__FixedBuffer CONNECT_DATA HIDD_ATTRIBUTES HIDP_BUTTON_ARRAY_DATA HIDP_BUTTON_CAPS HIDP_CAPS HIDP_COLLECTION_DESC HIDP_DATA HIDP_DEVICE_DESC HIDP_EXTENDED_ATTRIBUTES HIDP_GETCOLDESC_DBG HIDP_KEYBOARD_MODIFIER_STATE HIDP_LINK_COLLECTION_NODE HIDP_REPORT_IDS HIDP_UNKNOWN_TOKEN HIDP_VALUE_CAPS HIDSPICX_DEVICE_CONFIG HIDSPICX_DRIVER_GLOBALS HIDSPICX_REPORT HID_COLLECTION_INFORMATION HID_DESCRIPTOR HID_DESCRIPTOR_DESC_LIST HID_DEVICE_ATTRIBUTES HID_DEVICE_EXTENSION HID_MINIDRIVER_REGISTRATION HID_SUBMIT_IDLE_NOTIFICATION_CALLBACK_INFO HID_XFER_PACKET INDICATOR_LIST INTERNAL_I8042_HOOK_KEYBOARD INTERNAL_I8042_HOOK_MOUSE INTERNAL_I8042_START_INFORMATION KEYBOARD_ATTRIBUTES KEYBOARD_EXTENDED_ATTRIBUTES KEYBOARD_ID KEYBOARD_INDICATOR_PARAMETERS KEYBOARD_INDICATOR_TRANSLATION KEYBOARD_INPUT_DATA KEYBOARD_TYPEMATIC_PARAMETERS KEYBOARD_UNIT_ID_PARAMETER MOUSE_ATTRIBUTES MOUSE_INPUT_DATA MOUSE_UNIT_ID_PARAMETER NotRangeUnion NotRangeUnion OUTPUT_PACKET PDEVICE_OBJECT PDRIVER_OBJECT PFILE_OBJECT PHIDP_PREPARSED_DATA PHIDP_REPORT_DESCRIPTOR RangeUnion RangeUnion USAGE_AND_PAGE VHFHANDLE VHFOPERATIONHANDLE VHF_CONFIG