Partager via


CM_CONNECTION_DETAILS (Compact 2013)

3/26/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

  • szName
    A connection name.
  • szDescription
    Description for this connection.
  • szAdapter
    Name of the network adapter.
  • 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

See Also

Reference

Connection Manager Status and Notification Structures