Partager via


Connection Manager Connection Subtype Constants (Windows Embedded CE 6.0)

1/6/2010

The following tables show the constants that describe the subtype of the current connection type. These constants are used in the CONNMGR_CONNECTION_DETAILED_STATUS structure. The connection type constants are described in Connection Manager Connection Type Constants.

The following table shows the connection subtype for connections of type CM_CONNTYPE_UNKNOWN.

Value Description

CM_CONNSUBTYPE_UNKNOWN

The default connection subtype. The connection subtype is unknown.

The following table shows the connection subtypes for connections of type CM_CONNTYPE_CELLULAR.

Value Description

CM_CONNSUBTYPE_CELLULAR_UNKNOWN

The connection subtype is unknown.

CM_CONNSUBTYPE_CELLULAR_CSD

A CSD cellular connection. This type is treated as a dial-up connection. The CSD subtype is the default connection subtype for cellular connections.

CM_CONNSUBTYPE_CELLULAR_GPRS

A GPRS cellular connection.

CM_CONNSUBTYPE_CELLULAR_1XRTT

A 1xRTT cellular connection.

CM_CONNSUBTYPE_CELLULAR_1XEVDO

A 1xEVDO cellular connection. This connection subtype is treated like the CM_CONNSUBTYPE_CELLULAR_1XRTT subtype.

CM_CONNSUBTYPE_CELLULAR_1XEVDV

A 1xEVDV cellular connection. This connection subtype is treated like the CM_CONNSUBTYPE_CELLULAR_1XRTT subtype.

CM_CONNSUBTYPE_CELLULAR_EDGE

An EDGE cellular connection. This connection subtype is treated like the CM_CONNSUBTYPE_CELLULAR_GPRS subtype.

CM_CONNSUBTYPE_CELLULAR_UMTS

A UMTS cellular connection. This connection subtype is treated like the CM_CONNSUBTYPE_CELLULAR_GPRS subtype.

CM_CONNSUBTYPE_CELLULAR_VOICE

A voice cellular connection.

CM_CONNSUBTYPE_CELLULAR_PTT

A Push-To-Talk cellular connection. This is currently not supported.

CM_CONNSUBTYPE_CELLULAR_HSDPA

A High Speed Downlink Packet Access connection.

The following table shows the connection subtypes for connections of type CM_CONNTYPE_NIC.

Value Description

CM_CONNSUBTYPE_NIC_UNKNOWN

The connection subtype is unknown.

CM_CONNSUBTYPE_NIC_ETHERNET

A network connection using an Ethernet card.

CM_CONNSUBTYPE_NIC_WIFI

A radio-based network connection using a Wi-Fi card.

The following table shows the connection subtypes for connections of type CM_CONNTYPE_UNIMODEM.

Value Description

CM_CONNSUBTYPE_UNIMODEM_UNKNOWN

The connection subtype is unknown.

CM_CONNSUBTYPE_UNIMODEM_CSD

A CSD-based Unimodem connection. The CSD connection subtype is the default subtype for Unimodem-based connections.

CM_CONNSUBTYPE_UNIMODEM_OOB_CSD

This constant is not used.

CM_CONNSUBTYPE_UNIMODEM_NULL_MODEM

The Unimodem connection was established using a null modem.

CM_CONNSUBTYPE_UNIMODEM_EXTERNAL_MODEM

The Unimodem connection was established using an external modem.

CM_CONNSUBTYPE_UNIMODEM_INTERNAL_MODEM

The Unimodem connection was established using an internal modem.

CM_CONNSUBTYPE_UNIMODEM_PCMCIA_MODEM

The Unimodem connection was established using a PCMCIA modem.

CM_CONNSUBTYPE_UNIMODEM_IRCOMM_MODEM

The Unimodem connection was established using an IrCOMM modem.

CM_CONNSUBTYPE_UNIMODEM_DYNAMIC_MODEM

The Unimodem connection was established using a dynamic modem. This is usually a Bluetooth connection.

CM_CONNSUBTYPE_UNIMODEM_DYNAMIC_PORT

The Unimodem connection was established using a dynamic port. This is usually a Bluetooth connection.

The following table shows the connection subtypes for connections of type CM_CONNTYPE_VPN.

Value Description

CM_CONNSUBTYPE_VPN_UNKNOWN

The connection subtype is unknown.

CM_CONNSUBTYPE_VPN_L2TP

The connection to the VPN uses the L2TP protocol.

CM_CONNSUBTYPE_VPN_PPTP

The connection to the VPN uses the PPTP protocol.

The following table shows the connection subtypes for connections of type CM_CONNTYPE_PROXY.

Value Description

CM_CONNSUBTYPE_PROXY_UNKNOWN

The connection subtype is unknown. This is the default subtype.

CM_CONNSUBTYPE_PROXY_NULL

A direct Internet Protocol (IP) connection or tunnel is used to connect to the proxy server.

CM_CONNSUBTYPE_PROXY_HTTP

HTTP proxy is supported.

CM_CONNSUBTYPE_PROXY_WAP

WAP proxy (gateway) is supported.

CM_CONNSUBTYPE_PROXY_SOCKS4

SOCKS4 proxy is supported.

CM_CONNSUBTYPE_PROXY_SOCKS5

SOCKS5 proxy is supported.

The following table shows the connection subtypes for connections of type CM_CONNTYPE_PC.

Value Description

CM_CONNSUBTYPE_PC_UNKNOWN

The connection subtype is unknown.

CM_CONNSUBTYPE_PC_DESKTOPPASSTHROUGH

The connection to the PC is made using Desktop Pass-through (DTPT).

Requirements

Header connmgr_conntypes.h
Windows Embedded CE Windows CE .NET 4.2 and later

See Also

Reference

Connection Manager Constants
CONNMGR_CONNECTION_DETAILED_STATUS
Connection Manager Connection Type Constants

Other Resources