Expand Minimize

GetUniDirectionalAdapterInfo function

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

Syntax


DWORD GetUniDirectionalAdapterInfo(
  _Out_  PIP_UNIDIRECTIONAL_ADAPTER_ADDRESS pIPIfInfo,
  _Out_  PULONG dwOutBufLen
);

Parameters

pIPIfInfo [out]

Pointer to an IP_UNIDIRECTIONAL_ADAPTER_ADDRESS structure that receives information about the unidirectional adapters installed on the local computer.

dwOutBufLen [out]

Pointer to a ULONG variable that receives the size of the structure pointed to 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

DLL

Iphlpapi.dll

See also

IP Helper Start Page
IP Helper Function Reference
IP_UNIDIRECTIONAL_ADAPTER_ADDRESS

 

 

Community Additions

ADD
Show:
© 2015 Microsoft