NAME

GetIfTable  (IPHLPAPI.@)

SYNOPSIS

 DWORD GetIfTable
 (
  MIB_IFTABLE* table,
  ULONG*       size,
  BOOL         sort
 )

DESCRIPTION

Get a table of local interfaces.

PARAMS

table [Out] buffer for local interfaces table.
size [In/Out] length of output buffer.
sort [In] whether to sort the table.

RETURNS

Success: NO_ERROR

Failure: error code from Winerror.h.

NOTES

If size is less than required, the function will return ERROR_INSUFFICIENT_BUFFER, and *pdwSize will be set to the required byte size. If sort is TRUE, the returned table will be sorted by interface index.

IMPLEMENTATION

Declared in "include/netioapi.h". gitlab.winehq.org/wine/wine/blob/master/include/netioapi.h

Implemented in "dlls/iphlpapi/iphlpapi_main.c". gitlab.winehq.org/wine/wine/blob/master/dlls/iphlpapi/iphlpapi_main.c

Debug channel "iphlpapi".


Copyright © 2024 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Nov 2024.