IMbnConnectionContextEvents interface
This notification interface is used to handle asynchronous provisioned context events.
When to use
Clients interested in receiving event notifications when an IMbnConnectionContext object has been changed or set should implement this interface.
Members
The IMbnConnectionContextEvents interface inherits from the IUnknown interface. IMbnConnectionContextEvents also has these types of members:
Methods
The IMbnConnectionContextEvents interface has these methods.
| Method | Description |
|---|---|
| OnProvisionedContextListChange |
A provisioned context is available or updated. |
| OnSetProvisionedContextComplete |
The provisioned context in the device has been set. |
Remarks
The following procedure describes how to register for notifications.
- Get an IConnectionPointContainer interface by calling QueryInterface on an IMbnInterfaceManager object.
- Call FindConnectionPoint on the returned interface and pass IID_IMbnConnectionContextEvents to riid.
- Call Advise on the returned connection point and pass a pointer to an IUnknown interface on an object that implements IMbnConnectionContextEvents 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 only] |
|---|---|
|
Minimum supported server |
None supported |
|
IDL |
|