IMbnInterfaceManager interface
Provides access to IMbnInterface objects and notifications.
Members
The IMbnInterfaceManager interface inherits from the IUnknown interface. IMbnInterfaceManager also has these types of members:
Methods
The IMbnInterfaceManager interface has these methods.
| Method | Description |
|---|---|
| GetInterface |
Gets a specific interface. |
| GetInterfaces |
Gets a list of all available interfaces. |
Remarks
This interface can be used to access the following notification interfaces.
| Notification Sink to Register | IID |
|---|---|
| IMbnInterfaceManagerEvents | IID_IMbnInterfaceManagerEvents |
| IMbnInterfaceEvents | IID_IMbnInterfaceEvents |
| IMbnSignalEvents | IID_IMbnSignalEvents |
| IMbnPinManagerEvents | IID_IMbnPinManagerEvents |
| IMbnPinEvents | IID_IMbnPinEvents |
| IMbnRegistrationEvents | IID_IMbnRegistrationEvents |
| IMbnConnectionContextEvents | IID_IMbnConnectionContextEvents |
| IMbnSmsEvents | IID_IMbnSmsEvents |
| IMbnServiceActivationEvents | IID_IMbnServiceActivationEvents |
| IMbnVendorSpecificEvents | IID_IMbnVendorSpecificEvents |
The following procedure describes how to register for notifications.
- Get an IConnectionPointContainer interface by calling QueryInterface on an IMbnInterfaceManager object.
-
For each notification sink to register, call FindConnectionPoint on the returned interface and pass IID corresponding to the notification sink to riid.
- For each connection point returned by step 2, call Advise on the returned connection point and pass a pointer to an IUnknown interface on an object that implements the matching notification interface 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 |
|
IDL |
|