Connection Manager Status Constants

Send Feedback

The following table shows the constants that describe the current status of the connection.

Value Description
CONNMGR_STATUS_UNKNOWN The status is unknown.
CONNMGR_STATUS_CONNECTED The connection is established.
CONNMGR_STATUS_SUSPENDED The connection has been established, but has been suspended.
CONNMGR_STATUS_DISCONNECTED The connection is disconnected.
CONNMGR_STATUS_CONNECTIONFAILED The connection has failed and cannot be re-established. This may be because the connection request was terminated when a more secure connection was established.
CONNMGR_STATUS_CONNECTIONCANCELED The user aborted the connection, or the connection request was terminated because a more secure connection was established.
CONNMGR_STATUS_CONNECTIONDISABLED The connection can be made, but the connection itself is disabled. This value is returned only to clients that set the bDisabled value in the CONNMGR_CONNECTIONINFO structure.
CONNMGR_STATUS_NOPATHTODESTINATION No path to the destination is available.
CONNMGR_STATUS_WAITINGFORPATH A path to the destination exists but is not presently available (for example, the device is out of radio range or is not plugged into its cradle).
CONNMGR_STATUS_WAITINGFORPHONE A voice call is in progress and is using resources that this connection requires.
CONNMGR_STATUS_PHONEOFF The phone has been turned off.
CONNMGR_STATUS_EXCLUSIVECONFLICT The connection could not be established because it would multi-home an exclusive connection.
CONNMGR_STATUS_NORESOURCES The Connection Manager failed to allocate resources to make the connection.
CONNMGR_STATUS_CONNECTIONLINKFAILED The connection link was prematurely disconnected.
CONNMGR_STATUS_AUTHENTICATIONFAILED The user is could not be authenticated.
CONNMGR_STATUS_WAITINGCONNECTION The device is attempting to connect.
CONNMGR_STATUS_WAITINGFORRESOURCE Another client is using resources that this connection requires.
CONNMGR_STATUS_WAITINGFORNETWORK The device is waiting for a task with a higher priority to connect to the network before connecting to the same network. This status value is returned only to clients that specify a priority of CONNMGR_PRIORITY_LOWBKGND when requesting a connection.
CONNMGR_STATUS_WAITINGDISCONNECTION The connection is being disconnected.
CONNMGR_STATUS_WAITINGCONNECTIONABORT The device is aborting connection attempt.

See Also

CONNMGR_CONNECTIONINFO

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.