Skip to content

Latest commit

 

History

History
121 lines (95 loc) · 2.89 KB

nc-ndkpi-ndk_fn_get_peer_address.md

File metadata and controls

121 lines (95 loc) · 2.89 KB
UID title description old-location tech.root ms.date keywords ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames f1_keywords topic_type api_type api_location api_name
NC:ndkpi.NDK_FN_GET_PEER_ADDRESS
NDK_FN_GET_PEER_ADDRESS (ndkpi.h)
The NdkGetPeerAddress (NDK_FN_GET_PEER_ADDRESS) function returns the remote address for an NDK connection.
netvista\ndk_fn_get_peer_address.htm
netvista
05/02/2018
NDK_FN_GET_PEER_ADDRESS callback function
NDK_FN_GET_PEER_ADDRESS, NDK_FN_GET_PEER_ADDRESS callback, NdkGetPeerAddress, NdkGetPeerAddress callback function [Network Drivers Starting with Windows Vista], ndkpi/NdkGetPeerAddress, netvista.ndk_fn_get_peer_address
ndkpi.h
Ndkpi.h
Windows
None supported,Supported in NDIS 6.30 and later.
Windows Server 2012
<=DISPATCH_LEVEL
Windows
NDK_FN_GET_PEER_ADDRESS
ndkpi/NDK_FN_GET_PEER_ADDRESS
APIRef
kbSyntax
UserDefined
ndkpi.h
NDK_FN_GET_PEER_ADDRESS

NDK_FN_GET_PEER_ADDRESS callback function

-description

The NdkGetPeerAddress (NDK_FN_GET_PEER_ADDRESS) function returns the remote address for an NDK connection.

-parameters

-param pNdkConnector [in]

A pointer to an NDK connector object (NDK_CONNECTOR).

-param pAddress

A remote address is returned in this buffer.

-param pAddressLength

The size, in bytes, of the address buffer for input, and the size, in bytes, of the actual address written into the buffer for output.

-returns

The NdkGetPeerAddress function returns one of the following NTSTATUS codes.

Return code Description
STATUS_SUCCESS
A remote address was written to the buffer in the pAddress parameter.
STATUS_BUFFER_TOO_SMALL
The buffer size specified in the *pAddressLength parameter input is too small. *pAddressLength output value is updated with the required buffer size.
Other status codes
An error occurred.

-remarks

NdkGetPeerAddress returns the remote address for a connection.

-see-also

NDK_CONNECTOR

NDK_CONNECTOR_DISPATCH