public static ushort How_Many_Of_MyDevices_Are_Attached(ushort ProductID) { IntPtr zero = IntPtr.Zero; IntPtr zero2 = IntPtr.Zero; Guid empty = Guid.Empty; string text = ""; ushort p_VendorID = 1240; return(USB.Count_Attached_PKSA(p_VendorID, ProductID, 29, ref zero, ref zero2, ref text, false, ref empty)); }
public static ushort How_Many_Of_MyDevices_Are_Attached(ushort ProductID) { IntPtr zero = IntPtr.Zero; IntPtr ptr2 = IntPtr.Zero; Guid empty = Guid.Empty; string str = ""; ushort num = 0x4d8; return(USB.Count_Attached_PKSA(num, ProductID, 0x1d, ref zero, ref ptr2, ref str, false, ref empty)); }
public static ushort How_Many_PICkitSerials_Are_Attached() { IntPtr zero = IntPtr.Zero; IntPtr ptr2 = IntPtr.Zero; Guid empty = Guid.Empty; string str = ""; ushort num = 0x36; ushort num2 = 0x4d8; return(USB.Count_Attached_PKSA(num2, num, 0x1d, ref zero, ref ptr2, ref str, false, ref empty)); }
public static ushort How_Many_PICkitSerials_Are_Attached() { IntPtr zero = IntPtr.Zero; IntPtr zero2 = IntPtr.Zero; Guid empty = Guid.Empty; string text = ""; ushort p_PoductID = 54; ushort p_VendorID = 1240; return(USB.Count_Attached_PKSA(p_VendorID, p_PoductID, 29, ref zero, ref zero2, ref text, false, ref empty)); }