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
- Version
Version of this structure according to Connection Manager Common Constants.
- cPreference
The number of preferences in this structure. Always set to 1.
- Characteristic
A CM_CHARACTERISTIC enumeration value.
- Operator
A CM_PREFERENCE_OPERATOR enumeration value.
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