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