예제 #1
0
 /// <Summary>Gets a USB device (driver specific) property from usb handle.</Summary>
 public virtual bool GetProperty(KUSB_PROPERTY PropertyType, ref int PropertySize, Array Value)
 {
     return driverAPI.GetProperty(mHandleStruct, PropertyType, ref PropertySize, Marshal.UnsafeAddrOfPinnedArrayElement(Value, 0));
 }
예제 #2
0
 /// <Summary>Gets a USB device (driver specific) property from usb handle.</Summary>
 public virtual bool GetProperty(KUSB_PROPERTY PropertyType, ref int PropertySize, IntPtr Value)
 {
     return driverAPI.GetProperty(mHandleStruct, PropertyType, ref PropertySize, Value);
 }
예제 #3
0
 /// <Summary>Gets a USB device (driver specific) property from usb handle.</Summary>
 public bool GetProperty(KUSB_PROPERTY PropertyType, ref uint PropertySize, Array Value)
 {
     return driverAPI.GetProperty(handle, PropertyType, ref PropertySize, Marshal.UnsafeAddrOfPinnedArrayElement(Value, 0));
 }
예제 #4
0
 public static extern bool UsbK_GetProperty([In] KUSB_HANDLE InterfaceHandle, KUSB_PROPERTY PropertyType, ref uint PropertySize, IntPtr Value);
예제 #5
0
 /// <Summary>Gets a USB device (driver specific) property from usb handle.</Summary>
 public bool GetProperty(KUSB_PROPERTY PropertyType, ref uint PropertySize, IntPtr Value)
 {
     return driverAPI.GetProperty(handle, PropertyType, ref PropertySize, Value);
 }