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 |
|
|---|---|
|
Library |
|
|
DLL |
|
See also