GetIfTable3w
Usage
DWORD GetIfTable
(
PMIB_IFTABLE pIfTable,
PULONG pdwSize,
BOOL bOrder
)
Overview
Get a table of local interfaces.
Params
pIfTable [Out] buffer for local interfaces table.
pdwSize [In/Out] length of output buffer.
bOrder [In] whether to sort the table.
Returns
Success: NO_ERROR
Failure: error code from Winerror.h.
Notes
If pdwSize is less than required, the function will return ERROR_INSUFFICIENT_BUFFER, and *pdwSize will be set to the required byte size. If bOrder is TRUE, the returned table will be sorted by interface index.
Implementation
Declared in "iphlpapi.h".
Implemented in "dlls/iphlpapi/iphlpapi_main.c".
Debug channel "iphlpapi".
Releases
4 releases since Debian 4.0 (Etch); the text changed 3 times.