IMbnMultiCarrierEvents::OnSetHomeProviderComplete 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 SetHomeProvider operation.
Syntax
HRESULT OnSetHomeProviderComplete(
[in] IMbnMultiCarrier *mbnInterface,
[in] ULONG requestID,
[in] HRESULT status
);
Parameters
[in] mbnInterface
An IMbnMultiCarrier object that represents the Mobile Broadband device SetHomeProvider operation.
[in] requestID
The request ID assigned by the Mobile Broadband service to the SetHomeProvider operation.
[in] status
A status code that indicates the outcome of SetHomeProvider.
Return value
This method must return S_OK.
Remarks
If status is S_OK, the home provider for the interface has been successfully set to the new provider by SetHomeProvider. Otherwise, the original home provider is not changed and the previous states, such as connection, packet service etc, of the interface remain unchanged.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 8 [desktop apps only] |
Minimum supported server | None supported |
Target Platform | Windows |
Header | mbnapi.h |