IMbnConnectionEvents::OnDisconnectComplete 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 that a disconnection operation has been performed.
Syntax
HRESULT OnDisconnectComplete(
[in] IMbnConnection *newConnection,
[in] ULONG requestID,
[in] HRESULT status
);
Parameters
[in] newConnection
An IMbnConnection interface that represents the connection that has been disconnected.
[in] requestID
The request ID assigned by the Mobile Broadband service to identify the disconnection operation.
[in] status
The operation completion status. This can only be S_OK.
Return value
This method must return S_OK.
Remarks
An application can use IMbnConnection to get the current connection state.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 7 [desktop apps | UWP apps] |
Minimum supported server | None supported |
Target Platform | Windows |
Header | mbnapi.h |