GetUniDirectionalAdapterInfo (Compact 2013)

3/26/2014

This function retrieves information about the unidirectional adapters installed on the local device. A unidirectional adapter is an adapter that can receive datagrams, but not transmit them.

Syntax

DWORD GetUniDirectionalAdapterInfo(
  PIP_UNIDIRECTIONAL_ADAPTER_ADDRESS pIPIfInfo,
  PULONG dwOutBufLen 
);

Parameters

  • pIPIfInfo
    [out] Pointer to an IP_UNIDIRECTIONAL_ADAPTER_ADDRESS structure that contains information about the unidirectional adapters installed on the local device.
  • dwOutBufLen
    [in, out] Pointer to the size of the structure indicated by the pIPIfInfo parameter.

Return Value

If the function succeeds, the return value is NO_ERROR.

If the function fails, use FormatMessage to obtain the message string for the returned error.

Requirements

Header

iphlpapi.h

Library

Iphlpapi.lib

See Also

Reference

IP Helper Functions
IP_UNIDIRECTIONAL_ADAPTER_ADDRESS

Other Resources

IP Helper