Skip to content

Latest commit

 

History

History
44 lines (29 loc) · 1.02 KB

GetIfEntry.md

File metadata and controls

44 lines (29 loc) · 1.02 KB

Home

Function name : GetIfEntry

Group: IP Helper - Library: iphlpapi


The GetIfEntry function retrieves information for the specified interface on the local computer.


Declaration:

DWORD GetIfEntry(
  PMIB_IFROW pIfRow  // pointer to interface entry
);  

FoxPro declaration:

DECLARE INTEGER GetIfEntry IN iphlpapi;
	STRING @ pIfRow  

Parameters:

pIfRow [in, out] Pointer to a MIB_IFROW structure that, on successful return, receives information for an interface on the local computer.


Return value:

If the function succeeds, the return value is NO_ERROR (0). If the function fails, use FormatMessage to obtain the message string for the returned error.


Comments:

On input, set the dwIndex member of MIB_IFROW to the index of the interface for which to retrieve information.