Share via


CM_CONNECTION_SELECTION (Compact 2013)

3/26/2014

This structure contains options that are used in the selection of a connection.

Syntax

typedef struct CM_CONNECTION_SELECTION
{   
    CM_CONNECTION_SELECTION_TYPE Selection;
    union
    {
                WCHAR szName[CM_CONNECTION_NAME_LENGTH];
        CM_CONNECTION_TYPE Type;
        CM_CONNECTION_DEVICE_TYPE DeviceType;
        CM_CONNECTION_NETWORK_TYPE NetworkType;
    };
} CM_CONNECTION_SELECTION;

Members

  • Selection
    One of the CM_CONNECTION_SELECTION_TYPE enumeration values.

    If CMST_CONNECTION_ALL is specified, the following parameters are ignored; otherwise one of the following parameters is used, depending on the CM_CONNECTION_SELECTION_TYPE value.

  • szName
    A connection name.

Remarks

This structure is intended to be a sub structure of other structures. Therefore, it does not have a "version" field.

Requirements

Header

cmnet.h

See Also

Reference

Connection Manager Policy Structures