Skip to content

Latest commit

 

History

History
121 lines (95 loc) · 2.92 KB

nc-ndkpi-ndk_fn_get_local_address.md

File metadata and controls

121 lines (95 loc) · 2.92 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_LOCAL_ADDRESS
NDK_FN_GET_LOCAL_ADDRESS (ndkpi.h)
The NdkGetLocalAddress (NDK_FN_GET_LOCAL_ADDRESS) function returns the local address for an NDK connection.
netvista\ndk_fn_get_local_address.htm
netvista
05/02/2018
NDK_FN_GET_LOCAL_ADDRESS callback function
NDK_FN_GET_LOCAL_ADDRESS, NDK_FN_GET_LOCAL_ADDRESS callback, NdkGetLocalAddress, NdkGetLocalAddress callback function [Network Drivers Starting with Windows Vista], ndkpi/NdkGetLocalAddress, netvista.ndk_fn_get_local_address
ndkpi.h
Ndkpi.h
Windows
None supported,Supported in NDIS 6.30 and later.
Windows Server 2012
<=DISPATCH_LEVEL
Windows
NDK_FN_GET_LOCAL_ADDRESS
ndkpi/NDK_FN_GET_LOCAL_ADDRESS
APIRef
kbSyntax
UserDefined
ndkpi.h
NDK_FN_GET_LOCAL_ADDRESS

NDK_FN_GET_LOCAL_ADDRESS callback function

-description

The NdkGetLocalAddress (NDK_FN_GET_LOCAL_ADDRESS) function returns the local address for an NDK connection.

-parameters

-param pNdkConnector [in]

A pointer to an NDK connector object (NDK_CONNECTOR).

-param pAddress

A local address for a listener is returned in this buffer.

-param pAddressLength

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

-returns

The NdkGetLocalAddress function returns one of the following NTSTATUS codes.

Return code Description
STATUS_SUCCESS
The local 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

NdkGetLocalAddress returns the local address for a connection.

-see-also

NDK_CONNECTOR

NDK_CONNECTOR_DISPATCH