IMbnRegistrationEvents interface
Notification interface used to indicate when registration events have occurred.
Members
The IMbnRegistrationEvents interface inherits from the IUnknown interface. IMbnRegistrationEvents also has these types of members:
Methods
The IMbnRegistrationEvents interface has these methods.
| Method | Description |
|---|---|
| OnPacketServiceStateChange |
Indicates a change in the device packet service state. |
| OnRegisterModeAvailable |
Indicates that registration mode information is available. |
| OnRegisterStateChange |
Indicates a change in the device's registration state. |
| OnSetRegisterModeComplete |
Indicates that a set registration operation has completed. |
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_IMbnRegistrationEvents to riid.
- Call Advise on the returned connection point and pass a pointer to an IUnknown interface on an object that implements IMbnRegistrationEvents 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 |
|