GetAdapterOrderMap (Compact 2013)
3/26/2014
This function obtains an adapter order map that indicates priority for interfaces on the local device.
Syntax
PIP_ADAPTER_ORDER_MAP WINAPI GetAdapterOrderMap(
void
);
Parameters
This function has no parameters.
Return Value
Returns an IP_ADAPTER_ORDER_MAP structure filled with adapter priority information. See the IP_ADAPTER_ORDER_MAP structure for more information.
Remarks
Interface indices appear in the order specified in the Adapters and Bindings dialog box in the Advanced Settings property sheet. This ordering is used as a tie breaker controlling the sequence in which interfaces are used on multi-homed systems for for situations including route selection, DNS name resolution, and other network related operations.
This function should not be called directly. Instead, use the IP_ADAPTER_INFO structure returned in a GetAdaptersInfo function call.
Note
The caller is responsible for calling the LocalFree function to free the array returned by GetAdapterOrderMap.
See Also
Reference
IP Helper Functions
IP_ADAPTER_ORDER_MAP
IP_ADAPTER_INFO