Platforms to show: All Mac Windows Linux Cross-Platform
WinHIDMBS class
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
class | USB | MBS USB Plugin | 7.5 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
For newer development, please use our HIDAPIMBS class.
Updated in version 10.4 of plugins to ignore devices which you don't have permissions to access them. So you will now see devices with VendorID=0 and ProductID=0.
This class can be used in three different ways. First normal with Connect and ReadMessage/SendMessage. Second with InstallListener and SendMessage/Poll functions. Third low level via GetInputReport and SetOutputReport.
- 10 properties
- property FeatureReportByteLength as Integer
- property HidHandle as Integer
- property InputReportByteLength as Integer
- property Lasterror as Integer
- property LasterrorString as String
- property OutputReportByteLength as Integer
- property PnPHandle as Integer
- property ReadHandle as Integer
- property ThreadHandle as Integer
- property WriteHandle as Integer
- 21 methods
- method Close
- method Connect as boolean
- method DevicePath as string
- method Disconnect
- method FindFirstDevice as boolean
- method FindNextDevice as boolean
- method GetInputReport(data as MemoryBlock, Offset as Integer = 0, Length as Integer = 0) as boolean
- method InstallListener(PollSize as Integer) as boolean
- method Manufacturer as string
- method PollMemory as memoryblock
- method PollString as string
- method Product as string
- method ProductID as Integer
- method ReadMessage(length as Integer, timeOut as Integer = 0) as string
- method ReadMessageMemory(length as Integer, timeOut as Integer = 0) as memoryblock
- method SendMessage(data as string) as Integer
- method SendMessageMemory(data as memoryblock, Offset as Integer = 0, length as Integer = 0) as Integer
- method SerialNumber as string
- method SetOutputReport(data as MemoryBlock, Offset as Integer = 0, Length as Integer = 0) as boolean
- method VendorID as Integer
- method VersionNumber as Integer
This class has no sub classes.
Some examples using this class:
Blog Entries
- MBS Xojo / Real Studio Plugins, version 15.0pr10
- MBS Xojo / Real Studio Plugins, version 13.3pr2
- MonkeyBread Software Releases the MBS Real Studio plug-ins in version 12.2
- MBS Real Studio Plugins, version 11.3pr10
- Notes...
- MBS REALbasic Plugins Version 10.4 release notes
- MBS REALbasic Plugins, version 10.4pr3
- MBS REALbasic plug-ins version 9.4
Xojo Developer Magazine
The items on this page are in the following plugins: MBS USB Plugin.
WinGestureInfoMBS - WinHTTPClientAutoProxyOptionsMBS