IMbnConnectionManagerEvents::OnConnectionRemoval method (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.

Notification method that indicates a connection was removed from the system.

Syntax

HRESULT OnConnectionRemoval(
  [in] IMbnConnection *oldConnection
);

Parameters

[in] oldConnection

An IMbnConnection interface that represents the device removed from the system.

Return value

This method must return S_OK.

Requirements

Requirement Value
Minimum supported client Windows 7 [desktop apps | UWP apps]
Minimum supported server None supported
Target Platform Windows
Header mbnapi.h

See also

IMbnConnectionManagerEvents