CM_CONNECTION_DETAILS (Compact 7)
3/12/2014
This structure contains details of a connection.
Syntax
typedef struct CM_CONNECTION_DETAILS {
DWORD Version;
WCHAR szName [CM_CONNECTION_NAME_LENGTH ];
WCHAR szDescription [CM_CONNECTION_DESCRIPTION_LENGTH ];
WCHAR szAdapter [CM_CONNECTION_ADAPTER_NAME_LENGTH];
CM_CONNECTION_TYPE Type;
CM_CONNECTION_DEVICE_TYPE Device;
CM_CONNECTION_NETWORK_TYPE Network;
CM_CONNECTION_STATE State;
DWORD Characteristic[CMCH_LAST];
DWORD cIpAddr;
SOCKADDR_STORAGE IpAddr[1];
} CM_CONNECTION_DETAILS;
Members
- Version
Version of this structure according to Connection Manager Common Constants.
- szName
A connection name.
- szDescription
Description for this connection.
- szAdapter
Name of the network adapter.
- Type
The CM_CONNECTION_TYPE of the network adapter.
- Device
The CM_CONNECTION_DEVICE_TYPE of the network adapter.
- Network
The CM_CONNECTION_NETWORK_TYPE of the connection.
- State
The CM_CONNECTION_STATE enumeration value of the connection.
- Characteristic
The CM_CHARACTERISTIC enumeration value of the connection.
- cIpAddr
Count of IP Addresses in this structure. Always set to 1.
- IpAddr[1]
Pointer to the IP Address of this connection.
Requirements
Header |
cmnet.h |
Library |
cmnet.lib |