IMbnConnectionEvents::OnConnectStateChange method

Notification method that indicates whether the connection state of the device has changed.

Syntax


HRESULT OnConnectStateChange(
  [in] IMbnConnection *newConnection
);

Parameters

newConnection [in]

An IMbnConnection interface that represents the connection on which the state has changed due to a system or network initiated change.

Return value

This method must return S_OK.

Remarks

An application can use IMbnConnection to get the updated connection state.

Requirements

Minimum supported client

Windows 7 [desktop apps | Windows Store apps]

Minimum supported server

None supported

IDL

Mbnapi.idl

See also

IMbnConnectionEvents

 

 

Show: