RTM_PREF_INFO structure (rtmv2.h)
The RTM_PREF_INFO structure contains the information used when comparing any two routes. The value of the Preference member is given more weight than the value of the Metric member.
Syntax
typedef struct _RTM_PREF_INFO {
ULONG Metric;
ULONG Preference;
} RTM_PREF_INFO, *PRTM_PREF_INFO;
Members
Metric
Specifies a metric. The metric is specific to a particular routing protocol.
Preference
Specifies a preference. The preference is determined by the router policy.
Remarks
Preference is more important than metric. The metric is only checked if the preferences are equal.
Requirements
Requirement | Value |
---|---|
Minimum supported client | None supported |
Minimum supported server | Windows 2000 Server [desktop apps only] |
Header | rtmv2.h |