コード例 #1
0
 public ushort GetFeatureReportBufferLength()
 {
     return(SLABHIDDevice_DLL.HidDevice_GetFeatureReportBufferLength(m_hid));
 }
コード例 #2
0
 public byte GetInputReport_Interrupt(byte[] buffer, uint bufferSize, uint numReports, ref uint bytesReturned)
 {
     return(SLABHIDDevice_DLL.HidDevice_GetInputReport_Interrupt(m_hid, buffer, bufferSize, numReports, ref bytesReturned));
 }
コード例 #3
0
 public byte GetInputReport_Control(byte[] buffer, uint bufferSize)
 {
     return(SLABHIDDevice_DLL.HidDevice_GetInputReport_Control(m_hid, buffer, bufferSize));
 }
コード例 #4
0
 public static byte GetHidIndexedString(uint deviceIndex, ushort vid, ushort pid, uint stringIndex, StringBuilder deviceString, uint deviceStringLength)
 {
     return(SLABHIDDevice_DLL.HidDevice_GetHidIndexedString(deviceIndex, vid, pid, stringIndex, deviceString, deviceStringLength));
 }
コード例 #5
0
 public byte SetOutputReport_Interrupt(byte[] buffer, uint bufferSize)
 {
     return(SLABHIDDevice_DLL.HidDevice_SetOutputReport_Interrupt(m_hid, buffer, bufferSize));
 }
コード例 #6
0
 public int CancelIo()
 {
     return(SLABHIDDevice_DLL.HidDevice_CancelIo(m_hid));
 }
コード例 #7
0
 public void SetTimeouts(uint getReportTimeout, uint setReportTimeout)
 {
     SLABHIDDevice_DLL.HidDevice_SetTimeouts(m_hid, getReportTimeout, setReportTimeout);
 }
コード例 #8
0
 public uint GetHandle()
 {
     return(SLABHIDDevice_DLL.HidDevice_GetHandle(m_hid));
 }
コード例 #9
0
 public byte GetString(byte hidStringType, StringBuilder deviceString, uint deviceStringLength)
 {
     return(SLABHIDDevice_DLL.HidDevice_GetString(m_hid, hidStringType, deviceString, deviceStringLength));
 }
コード例 #10
0
 public byte Open(uint deviceIndex, ushort vid, ushort pid, uint numInputBuffers)
 {
     return(SLABHIDDevice_DLL.HidDevice_Open(ref m_hid, deviceIndex, vid, pid, numInputBuffers));
 }
コード例 #11
0
 public int IsOpened()
 {
     return(SLABHIDDevice_DLL.HidDevice_IsOpened(m_hid));
 }
コード例 #12
0
 public static byte GetHidLibraryVersion(ref byte major, ref byte minor, ref int release)
 {
     return(SLABHIDDevice_DLL.HidDevice_GetHidLibraryVersion(ref major, ref minor, ref release));
 }
コード例 #13
0
 public static void GetHidGuid(ref Guid hidGuid)
 {
     SLABHIDDevice_DLL.HidDevice_GetHidGuid(ref hidGuid);
 }
コード例 #14
0
 public static byte GetHidAttributes(uint deviceIndex, ushort vid, ushort pid, ref ushort deviceVid, ref ushort devicePid, ref ushort deviceReleaseNumber)
 {
     return(SLABHIDDevice_DLL.HidDevice_GetHidAttributes(deviceIndex, vid, pid, ref deviceVid, ref devicePid, ref deviceReleaseNumber));
 }
コード例 #15
0
 public uint GetMaxReportRequest()
 {
     return(SLABHIDDevice_DLL.HidDevice_GetMaxReportRequest(m_hid));
 }
コード例 #16
0
 public byte GetIndexedString(uint stringIndex, StringBuilder deviceString, uint deviceStringLength)
 {
     return(SLABHIDDevice_DLL.HidDevice_GetIndexedString(m_hid, stringIndex, deviceString, deviceStringLength));
 }
コード例 #17
0
 public int FlushBuffers()
 {
     return(SLABHIDDevice_DLL.HidDevice_FlushBuffers(m_hid));
 }
コード例 #18
0
 public byte GetAttributes(ref ushort deviceVid, ref ushort devicePid, ref ushort deviceReleaseNumber)
 {
     return(SLABHIDDevice_DLL.HidDevice_GetAttributes(m_hid, ref deviceVid, ref devicePid, ref deviceReleaseNumber));
 }
コード例 #19
0
 public void GetTimeouts(ref uint getReportTimeout, ref uint setReportTimeout)
 {
     SLABHIDDevice_DLL.HidDevice_GetTimeouts(m_hid, ref getReportTimeout, ref setReportTimeout);
 }
コード例 #20
0
 public byte SetFeatureReport_Control(byte[] buffer, uint bufferSize)
 {
     return(SLABHIDDevice_DLL.HidDevice_SetFeatureReport_Control(m_hid, buffer, bufferSize));
 }
コード例 #21
0
 public byte Close()
 {
     return(SLABHIDDevice_DLL.HidDevice_Close(m_hid));
 }
コード例 #22
0
 // Public Methods
 public static uint GetNumHidDevices(ushort vid, ushort pid)
 {
     return(SLABHIDDevice_DLL.HidDevice_GetNumHidDevices(vid, pid));
 }