Expand Minimize

IMbnInterfaceEvents interface

This interface is a notification interface used to handle asynchronous IMbnInterface method calls as well as changes in the device state.

Members

The IMbnInterfaceEvents interface inherits from the IUnknown interface. IMbnInterfaceEvents also has these types of members:

Methods

The IMbnInterfaceEvents interface has these methods.

MethodDescription
OnEmergencyModeChange

The emergency mode has changed.

OnHomeProviderAvailable

Home provider information is available.

OnInterfaceCapabilityAvailable

Device capability information is available.

OnPreferredProvidersChange

The list of preferred providers has changed.

OnReadyStateChange

The ready state has changed.

OnScanNetworkComplete

An operation to scan the network has completed.

OnSetPreferredProvidersComplete

An operation to change the preferred provider completed.

OnSubscriberInformationChange

The subscriber information has changed.

 

Remarks

The following procedure describes how to register for notifications.

  1. Get an IConnectionPointContainer interface by calling QueryInterface on an IMbnInterfaceManager object.
  2. Call FindConnectionPoint on the returned interface and pass IID_IMbnInterfaceEvents to riid.
  3. Call Advise on the returned connection point and pass a pointer to an IUnknown interface on an object that implements IMbnInterfaceEvents to pUnk.

Notifications can be terminated by calling Unadvise on the connection point returned in step 2.

To view some code that registers for COM notifications, see the Client section of the COM Connection Points article.

Requirements

Minimum supported client

Windows 7 [desktop apps | Windows Store apps]

Minimum supported server

None supported [desktop apps | Windows Store apps]

IDL

Mbnapi.idl

 

 

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.