Partager via


DeviceManager.OnEvent event

Fires for any event registered with RegisterEvent.

Syntax

DeviceManager.OnEvent( _
  ByVal EventID As BSTR, _
  ByVal DeviceID As BSTR, _
  ByVal ItemID As BSTR _
)

Parameters

EventID [in]

Required. String value.

DeviceID [in]

Required. String value.

ItemID [in]

Required. String value.

Return value

This event does not return a value.

Remarks

For example code, see Display all the Properties for the Selected Device in Shared Samples.

Requirements

Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2003 R2 [desktop apps only]
Header
Wiaaut.h
IDL
Wiaaut.idl