次の方法で共有


2.2.1.2.23 MIB_BEST_IF

The MIB_BEST_IF structure stores the index of the interface that has the best route to a specific destination IPv4 address.

 typedef struct _MIB_BEST_IF {
   DWORD dwDestAddr;
   DWORD dwIfIndex;
 } MIB_BEST_IF,
  *PMIB_BEST_IF;

dwDestAddr: Specifies the IPv4 address of the destination address.

dwIfIndex: Specifies the index of the interface that has the best route to the destination address specified by the dwDestAddr member.