IMbnConnectionEvents::OnConnectComplete method
Notification method that signals the completion of a connection operation.
Syntax
HRESULT OnConnectComplete( [in] IMbnConnection *newConnection, [in] ULONG requestID, [in] HRESULT status );
Parameters
- newConnection [in]
-
An IMbnConnection interface that represents the device on which the connection operation has completed.
- requestID [in]
-
The request ID assigned by the Mobile Broadband service to identify the connection operation.
- status [in]
-
The completion status.
A calling application can expect one of the following values.
Return value
This method must return S_OK.
Remarks
Once an activation context is established, an application can use IMbnConnection to get the current connection state.
When the connection operation results in an error, an application can call the GetActivationNetworkError method of the IMbnConnection interface to obtain network error information.
Requirements
|
Minimum supported client |
Windows 7 [desktop apps | Windows Store apps] |
|---|---|
|
Minimum supported server |
None supported |
|
IDL |
|
See also