IMbnPinEvents interface (mbnapi.h)

Important

Starting in Windows 10, version 1803, the Win32 APIs described in this section are replaced by the Windows Runtime APIs in the Windows.Networking.Connectivity namespace.

This interface is a notification interface used to indicate when asynchronous PIN requests have completed.

Inheritance

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

Methods

The IMbnPinEvents interface has these methods.

 
IMbnPinEvents::OnChangeComplete

Notification method called by the Mobile Broadband service to indicate that a PIN change operation has completed.
IMbnPinEvents::OnDisableComplete

Notification method called by the Mobile Broadband service to indicate that a PIN disable operation has completed.
IMbnPinEvents::OnEnableComplete

Notification method called by the Mobile Broadband service to indicate that a PIN enable operation has completed.
IMbnPinEvents::OnEnterComplete

Notification method called by the Mobile Broadband service to indicate that a PIN enter operation has completed.
IMbnPinEvents::OnUnblockComplete

Notification method called by the Mobile Broadband service to indicate that a PIN unblock operation has completed.

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_IMbnPinEvents to riid.
  3. Call Advise on the returned connection point and pass a pointer to an IUnknown interface on an object that implements IMbnPinEvents 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 | UWP apps]
Minimum supported server None supported
Target Platform Windows
Header mbnapi.h