GetPerAdapterInfo (Windows CE 5.0)

Send Feedback

This function retrieves information about the adapter corresponding to the specified interface.

DWORDGetPerAdapterInfo( ULONGIfIndex,PIP_PER_ADAPTER_INFOpPerAdapterInfo, PULONGpOutBufLen);

Parameters

  • IfIndex
    [in] The index of an interface for which to retrieve adapter information.
  • pPerAdapterInfo
    [out] Pointer to an IP_PER_ADAPTER_INFO structure containing information about the adapter.
  • pOutBufLen
    [in, out] Pointer to the size, in bytes, of the structure indicated by the pPerAdapterInfo parameter. If this size is insufficient to hold the information, the function provides the required size, and returns an error code of ERROR_BUFFER_OVERFLOW.

Return Values

Returns NO_ERROR if successful. If the function fails, it returns an error code. For a complete list of error codes, see Error Values or the SDK header file Winerror.h.

Requirements

OS Versions: Windows CE 3.0 and later.
Header: Iphlpapi.h.
Link Library: Iphlpapi.lib.

See Also

IP Helper Functions | IP_PER_ADAPTER_INFO

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.