MacUSBNotificationMBS class
Online Documentation - Statistics - FAQ - Plugin Parts (All, Dependencies) - Class hierarchy
New in Version
22.2
22.3
22.4
22.5
23.0
23.1
23.2
23.3
23.4
23.5
24.0
24.1
The list of the topics,
classes,
interfaces,
controls,
modules,
global methods by category,
global methods by name,
screenshots,
licenses
and examples.
Platforms to show: All Mac Windows Linux Cross-Platform
MacUSBNotificationMBS class
The class for receiving notifications if an USB device has been attached or removed.
Please make a subclass so you can put your own code in the events.
Use WinUSBNotificationMBS for Windows.
- 2 events
- event DeviceAdded(properties as dictionary, NewDevice as boolean, ClassName as string, DeviceName as string, DeviceHandle as Integer)
- event DeviceRemoved(properties as dictionary, NewDevice as boolean, ClassName as string, DeviceName as string, DeviceHandle as Integer)
- property LastError as Integer
- method Constructor(vendor as Integer = 0, product as Integer = 0)
- 4 shared methods
- shared method GetUSBDeviceInfo(DeviceHandle as Integer, byref Vendor as string, byref Product as string, byref SerialNumber as string, byref Revision as Integer) as boolean
- shared method QueryBSDName(DeviceHandle as Integer) as string
- shared method Release(DeviceHandle as Integer)
- shared method Retain(DeviceHandle as Integer)
This class has no sub classes.
Some examples using this class:
Blog Entries
Release notes
The items on this page are in the following plugins: MBS USB Plugin.
MacUSBMBS
-
MapiFileMBS