hidapi 2.6.5

Rust-y wrapper around hidapi
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use crate::{HidDevice, HidResult};
pub use windows_sys::core::GUID;

impl HidDevice {
    /// Get the container ID for a HID device.
    ///
    /// This function returns the `DEVPKEY_Device_ContainerId` property of the
    /// given device. This can be used to correlate different interfaces/ports
    /// on the same hardware device.
    pub fn get_container_id(&self) -> HidResult<GUID> {
        self.inner.get_container_id()
    }
}