 |
GetInterfaceInfo ..msdn Add comment W32 Constants Translate this page |
 |
 |
|
The GetInterfaceInfo function obtains a list of the network interface adapters on the local system. |
 |
 |
| Code examples: |
 |
|
|
 |
 |
| Declaration: |
 |
 |
DWORD GetInterfaceInfo(
PIP_INTERFACE_INFO pIfTable,
PULONG dwOutBufLen
);
|
 |
 |
 |
| FoxPro declaration: |
 |
 |
DECLARE INTEGER GetInterfaceInfo IN iphlpapi;
STRING @ pIfTable,;
LONG @ dwOutBufLen
|
 |
 |
 |
| Parameters: |
 |
pIfTable
[in] Pointer to a buffer that specifies a IP_INTERFACE_INFO structure that contains the list of adapters.
dwOutBufLen
[out] Pointer to a DWORD variable. If the buffer pointed to by the pIfTable parameter is NULL, or is not large enough to contain the list of adapters, GetInterfaceInfo receives the required size in this DWORD variable. |
 |
 |
| Return value: |
 |
| If the function succeeds, the return value is NO_ERROR. |
 |
 |
| My comment: |
 |
| Normally this functionality is achieved through IPCONFIG /all call. |
 |
 |
| Word Index links for the GetInterfaceInfo : |
 |
|
|
 |
 |
| Translate this page: |
 |
|
 |
 |
| • |
 |
| Created: | 2002-12-02 11:45:43 | | Modified: | 2002-12-02 11:52:33 | Visited in last 7 days: 14 |