Skip to content

Latest commit

 

History

History
103 lines (86 loc) · 3.39 KB

nf-mbnapi-imbninterface-inemergencymode.md

File metadata and controls

103 lines (86 loc) · 3.39 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:mbnapi.IMbnInterface.InEmergencyMode
IMbnInterface::InEmergencyMode (mbnapi.h)
Determines whether the device is in emergency mode.
IMbnInterface interface [Microsoft Broadband Networks]
InEmergencyMode method
IMbnInterface.InEmergencyMode
IMbnInterface::InEmergencyMode
InEmergencyMode
InEmergencyMode method [Microsoft Broadband Networks]
InEmergencyMode method [Microsoft Broadband Networks]
IMbnInterface interface
mbn.imbninterface_inemergencymode
mbnapi/IMbnInterface::InEmergencyMode
mbn\imbninterface_inemergencymode.htm
mbn
b4ce2c10-627d-4cbe-a884-7bb8731c3bcf
12/05/2018
IMbnInterface interface [Microsoft Broadband Networks],InEmergencyMode method, IMbnInterface.InEmergencyMode, IMbnInterface::InEmergencyMode, InEmergencyMode, InEmergencyMode method [Microsoft Broadband Networks], InEmergencyMode method [Microsoft Broadband Networks],IMbnInterface interface, mbn.imbninterface_inemergencymode, mbnapi/IMbnInterface::InEmergencyMode
mbnapi.h
Windows
Windows 7 [desktop apps \| UWP apps]
None supported
Mbnapi.idl
Windows
19H1
IMbnInterface::InEmergencyMode
mbnapi/IMbnInterface::InEmergencyMode
c++
APIRef
kbSyntax
COM
mbnapi.h
IMbnInterface.InEmergencyMode

IMbnInterface::InEmergencyMode

-description

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.

Determines whether the device is in emergency mode.

-parameters

-param emergencyMode [out]

Points to VARIANT_TRUE if the device is in emergency mode, and VARIANT_FALSE if it is not.

-returns

This method can return one of these values.

Return code Description
S_OK
The method completed successfully.
E_PENDING
The information is not available. The Mobile Broadband service is currently probing for this information. The calling application can be notified when the data is available by registering for the OnEmergencyModeChange method of IMbnInterfaceEvents.

-remarks

If a device cannot register on the network for any reason, then the device may automatically register onto a network in emergency mode. For example, a device cannot register on the network if the SIM is not inserted, user subscription validity expired, or roaming is not enabled for user. In emergency mode, device can be used in limited mode for voice calls to emergency numbers.

-see-also

IMbnInterface