.\" -*- nroff -*- .\" Generated file - DO NOT EDIT! .TH GetAdapterIndex 3w "Oct 2012" "Wine API" "Wine API" .SH NAME \fBGetAdapterIndex\fR (IPHLPAPI.@) .SH SYNOPSIS DWORD GetAdapterIndex ( LPWSTR \fIAdapterName\fR, PULONG \fIIfIndex\fR ) .SH DESCRIPTION .PP Get interface index from its name. .SH PARAMS \fIAdapterName\fR \fB[In]\fR unicode string with the adapter name. .PP \fIIfIndex\fR \fB[Out]\fR returns found interface index. .PP .SH RETURNS .PP \fBSuccess:\fR \fBNO_ERROR\fR .PP \fBFailure:\fR error code from Winerror.h .SH IMPLEMENTATION .PP Declared in \fB"iphlpapi.h"\fR. .PP Implemented in \fB"dlls/iphlpapi/iphlpapi_main.c"\fR. .PP Debug channel \fB"iphlpapi"\fR.