CM_CONNECTION_STATE (Compact 2013)

3/26/2014

This enumeration defines the possible states of a connection.

Syntax

typedef enum CM_CONNECTION_STATE {
CMCS_DISCONNECTED = 0,
CMCS_DISCONNECTED_UNAVAILABLE,
CMCS_DISCONNECTED_DISABLED,
CMCS_CONNECTING = 100,
CMCS_CONNECTING_ASSOCIATING,
CMCS_CONNECTING_AUTHENTICATING,
CMCS_CONNECTING_WAITING_FOR_IP,
CMCS_CONNECTED = 200,
CMCS_SUSPENDED = 300,
CMCS_DISCONNECTING = 400
CMS_LAST

} CM_CONNECTION_STATE;

Element Definitions

  • CMCS_DISCONNECTED
    The connection has not been established.
  • CMCS_DISCONNECTED_UNAVAILABLE
    The connection has not been established and the equipment is either not ready or out of range.
  • CMCS_DISCONNECTED_DISABLED
    The connection is disabled by the configuration.
  • CMCS_CONNECTING
    The connection is in the process of being established.
  • CMCS_CONNECTING_ASSOCIATING
    The connection is in the process of associating.
  • CMCS_CONNECTING_AUTHENTICATING
    The connection is in the process of authenticating.
  • CMCS_CONNECTING_WAITING_FOR_IP
    The connection is waiting for an IP assignment.
  • CMCS_CONNECTED
    The connection is established.
  • CMCS_SUSPENDED
    The connection is suspended.
  • CMCS_DISCONNECTING
    The connection is in the process of being disconnected.
  • CMCS_LAST
    The last connection state.

Requirements

Header

cmnet.h

Library

cmnet.lib

See Also

Reference

Connection Manager Status and Notification Enumerations