Freigeben über


CM_PREFERENCES (Compact 2013)

3/26/2014

This structure describes the order in which connections will be tried to connect an application.

Syntax

typedef struct CM_PREFERENCES {
    DWORD Version;
    DWORD cPreference;
    struct {
        CM_CHARACTERISTIC Characteristic;
        CM_PREFERENCE_OPERATOR Operator;
        DWORD Value; 
    } Preference[1];
} CM_PREFERENCES;

Members

  • cPreference
    The number of preferences in this structure. Always set to 1.
  • Value
    The value of the Characteristic parameter of the connection.

    For example, if the Characteristic is CMCH_BANDWIDTH_KBITPS, this value could be 56000.

  • Preference[1]
    The name of this substructure and the number of times it is allowed to occur in the structure.

Requirements

Header

cmnet.h

Library

cmnet.lib

See Also

Reference

Connection Manager Connectivity Structures
CM_CHARACTERISTIC
Connection Manager Common Constants
CM_PREFERENCE_OPERATOR