IMbnMultiCarrierEvents::OnScanNetworkComplete 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.
This notification method is called by the Mobile Broadband service to indicate the completion of a ScanNetwork operation.
Syntax
HRESULT OnScanNetworkComplete(
[in] IMbnMultiCarrier *mbnInterface,
[in] ULONG requestID,
[in] HRESULT status
);
Parameters
[in] mbnInterface
An IMbnMultiCarrier object that represents the Mobile Broadband device ScanNetwork operation.
[in] requestID
The request ID assigned by the Mobile Broadband service to the ScanNetwork operation.
[in] status
A status code that indicates the outcome of ScanNetwork.
Return value
This method must return S_OK.
Remarks
If status is S_OK, the Mobile Broadband service successfully updated the cached list of visible providers. An application can then call the GetVisibleProviders method of the passed IMbnMultiCarrier to get the list of visible providers.
If multiple applications registered for notifications, then this method will be called on all registered applications. This means that an application that did not initiate the update operation will receive a notification.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 8 [desktop apps only] |
Minimum supported server | None supported |
Target Platform | Windows |
Header | mbnapi.h |