Skip to content

Latest commit

 

History

History
156 lines (119 loc) · 5.15 KB

nf-ndis-ndisifquerybindingifindex.md

File metadata and controls

156 lines (119 loc) · 5.15 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
NF:ndis.NdisIfQueryBindingIfIndex
NdisIfQueryBindingIfIndex function (ndis.h)
The NdisIfQueryBindingIfIndex function retrieves the network interface indexes and NET_LUID values for the highest and lowest layered network interfaces that are associated with a specified protocol binding.
netvista\ndisifquerybindingifindex.htm
netvista
05/02/2018
NdisIfQueryBindingIfIndex function
NdisIfQueryBindingIfIndex, NdisIfQueryBindingIfIndex function [Network Drivers Starting with Windows Vista], ndis/NdisIfQueryBindingIfIndex, net_if_functions_ref_eacdb959-2a12-4688-9e83-7454c579e2d3.xml, netvista.ndisifquerybindingifindex
ndis.h
Ndis.h
Desktop
Supported in NDIS 6.0 and later.
Irql_Interfaces_Function
Ndis.lib
PASSIVE_LEVEL
Windows
NdisIfQueryBindingIfIndex
ndis/NdisIfQueryBindingIfIndex
APIRef
kbSyntax
LibDef
ndis.lib
ndis.dll
NdisIfQueryBindingIfIndex

NdisIfQueryBindingIfIndex function

-description

The NdisIfQueryBindingIfIndex function retrieves the network interface indexes and NET_LUID values for the highest and lowest layered network interfaces that are associated with a specified protocol binding.

-parameters

-param NdisBindingHandle [in]

A handle that identifies the binding for which NDIS should obtain the NET_LUID values and network interface indexes. NDIS provided this handle at the NdisBindingHandle parameter of the NdisOpenAdapterEx function.

-param pBoundIfIndex [out]

A pointer to a caller-supplied interface index variable. If NdisIfQueryBindingIfIndex succeeds, NDIS writes to this variable the network interface index of the network interface that is associated with the specified binding and is highest in the driver stack.

-param pBoundIfNetLuid [out]

A pointer to a caller-supplied NET_LUID variable. If NdisIfQueryBindingIfIndex succeeds, NDIS writes to this variable the NET_LUID value of the network interface that is associated with the specified binding and is highest in the driver stack.

-param pLowestIfIndex [out]

A pointer to a caller-supplied interface index variable. If NdisIfQueryBindingIfIndex succeeds, NDIS writes to this variable the network interface index of the network interface that is associated with the specified binding and is lowest in the driver stack.

-param pLowestIfNetLuid [out]

A pointer to a caller-supplied NET_LUID variable. If NdisIfQueryBindingIfIndex succeeds, NDIS writes to this variable the NET_LUID value of the network interface that is associated with the specified binding and is lowest in the driver stack.

-returns

NdisIfQueryBindingIfIndex returns one of the following status values:

Return code Description
NDIS_STATUS_SUCCESS
The operation completed successfully.
NDIS_STATUS_INTERFACE_NOT_FOUND
NdisIfQueryBindingIfIndex failed because the specified binding is not associated with a registered interface.

-remarks

NDIS protocol drivers can call the NdisIfQueryBindingIfIndex function to retrieve the network interface indexes and NET_LUID values that are associated with a binding.

NdisIfQueryBindingIfIndex provides the NET_LUID value and the interface index for the highest interface and lowest interface that are associated with the binding. These values are different, for example, if the miniport adapter that is directly associated with the specified binding is the virtual miniport of a filter intermediate driver or if there is a filter module that is configured over the miniport adapter.

Protocol drivers can also obtain the interface index and NET_LUID of the highest and the lowest interfaces in a driver stack in the NDIS_BIND_PARAMETERS structure.

-see-also

NDIS_BIND_PARAMETERS

NET_LUID

NdisOpenAdapterEx