private HidD_GetInputReport ( |
||
HidDeviceObject | ||
lpReportBuffer | Byte | |
ReportBufferLength | ||
return | System.Boolean |
public bool ReadInputReport(byte[] data) { if (safeReadHandle == null) { safeReadHandle = OpenHandle(_devicePath, true); } return(NativeMethods.HidD_GetInputReport(safeReadHandle, data, data.Length)); }
public bool ReadInputReport(byte[] data) { EnsureReadHandleActive(); return(NativeMethods.HidD_GetInputReport(SafeReadHandle, data, data.Length)); }