GetAdapterOrderMap function
Applies to: desktop apps only
The GetAdapterOrderMap function obtains an adapter order map that indicates priority for interfaces on the local computer.
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 multihomed systems 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.
Requirements
|
Minimum supported client | Windows XP |
|---|---|
|
Minimum supported server | Windows Server 2003 |
|
Header |
|
|
Library |
|
|
DLL |
|
See also
Send comments about this topic to Microsoft
Build date: 2/3/2012