MBN_ACTIVATION_STATE enumeration (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.

The MBN_ACTIVATION_STATE enumerated type indicates the current data connection state.

Syntax

typedef enum MBN_ACTIVATION_STATE {
  MBN_ACTIVATION_STATE_NONE = 0,
  MBN_ACTIVATION_STATE_ACTIVATED,
  MBN_ACTIVATION_STATE_ACTIVATING,
  MBN_ACTIVATION_STATE_DEACTIVATED,
  MBN_ACTIVATION_STATE_DEACTIVATING
} ;

Constants

 
MBN_ACTIVATION_STATE_NONE
Value: 0
The connection state is unknown.
MBN_ACTIVATION_STATE_ACTIVATED
The connection has been established.
MBN_ACTIVATION_STATE_ACTIVATING
The device is establishing the connection.
MBN_ACTIVATION_STATE_DEACTIVATED
There is no connection.
MBN_ACTIVATION_STATE_DEACTIVATING
The device is in the process of disconnection.

Requirements

Requirement Value
Minimum supported client Windows 7 [desktop apps | UWP apps]
Minimum supported server None supported
Header mbnapi.h