Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

IMbnInterface::InEmergencyMode method

Determines whether the device is in emergency mode.

Syntax


HRESULT InEmergencyMode(
  [out] VARIANT_BOOL *emergencyMode
);

Parameters

emergencyMode [out]

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

Return value

This method can return one of these values.

Return codeDescription
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.

Requirements

Minimum supported client

Windows 7 [desktop apps | Windows Store apps]

Minimum supported server

None supported

IDL

Mbnapi.idl

See also

IMbnInterface

 

 

Show: