IMbnConnectionEvents::OnVoiceCallStateChange 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 change in the voice call state of a device.

Syntax

HRESULT OnVoiceCallStateChange(
  [in] IMbnConnection *newConnection
);

Parameters

[in] newConnection

An IMbnConnection interface that represents the connection for which the voice call state has changed.

Return value

This method must return S_OK.

Remarks

OnVoiceCallStateChange is called when voice call state is available or when there is a change in the voice call state. An application can use IMbnConnection to get the updated voice call state.

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

IMbnConnectionEvents