GetAdapterIndex function iphlpapi
The GetAdapterIndex function obtains the index of an adapter, given its name.
DWORD GetAdapterIndex(
LPWSTR AdapterName,
PULONG IfIndex
);
Implementation
int GetAdapterIndex(Pointer<Utf16> AdapterName, Pointer<Uint32> IfIndex) =>
_GetAdapterIndex(AdapterName, IfIndex);