OnEvent Event
Fires for any event registered with RegisterEvent.
Syntax
Private Sub object_OnEvent( _ ByVal EventID As String, _ ByVal DeviceID As String, _ ByVal ItemID As String)
Parameters
- object
Object expression that resolves to the DeviceManager object.
- EventID
Required. String value.- DeviceID
Required. String value.- ItemID
Required. String value.
Remarks
For example code, see Display all the Properties for the Selected Device in Shared Samples.
Event Information
DISPID 1 Minimum operating systems Windows XP SP1