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_NONEValue: 0 The connection state is unknown. |
MBN_ACTIVATION_STATE_ACTIVATEDThe connection has been established. |
MBN_ACTIVATION_STATE_ACTIVATINGThe device is establishing the connection. |
MBN_ACTIVATION_STATE_DEACTIVATEDThere is no connection. |
MBN_ACTIVATION_STATE_DEACTIVATINGThe device is in the process of disconnection. |
Requirements
| Minimum supported client | Windows 7 [desktop apps | UWP apps] |
| Minimum supported server | None supported |
| Header | mbnapi.h |