private static extern Boolean HidD_GetAttributes(IntPtr hidDeviceObject, out HIDD_ATTRIBUTES attributes);
/// 获取设备属性 /// VID,PID internal void GETDeviceAttribute(IntPtr device, out HIDD_ATTRIBUTES attributes) { HidD_GetAttributes(device, out attributes); }