NdisReEnumerateProtocolBindings (NDIS 5.1) function

Note   NDIS 5. x has been deprecated and is superseded by NDIS 6. x. For new NDIS driver development, see Network Drivers Starting with Windows Vista. For information about porting NDIS 5. x drivers to NDIS 6. x, see Porting NDIS 5.x Drivers to NDIS 6.0.

NdisReEnumerateProtocolBindings causes NDIS to call the driver's ProtocolBindAdapter function one time for each network adapter for which the driver is configured to bind but to which the driver is not currently bound.

Syntax

VOID NdisReEnumerateProtocolBindings(
  _In_ NDIS_HANDLE NdisProtocolHandle
);

Parameters

  • NdisProtocolHandle [in]
    A handle representing the calling protocol driver. The driver obtained this handle with a previous call to NdisRegisterProtocol.

Return value

None

Remarks

A protocol or an intermediate driver calls NdisReEnumerateProtocolBindings to rebind to one or more adapters.

An intermediate driver should call NdisReEnumerateProtocolBindings after its ProtocolPnPEvent function receives a NetEventReconfigure on a NULLProtocolBindingContext. NDIS will then call the driver's ProtocolBindAdapter function once for each adapter for which the driver is now configured to bind.

NDIS might complete the binding operations after the call to NdisReEnumerateProtocolBindings returns. That is, NDIS might complete bindings to the miniport adapters for which the protocol driver is configured to bind but to which the protocol driver is not currently bound at a later time.

Requirements

Target platform

Universal

Version

See NdisReEnumerateProtocolBindings.

Header

Ndis.h (include Ndis.h)

Library

Ndis.lib

IRQL

PASSIVE_LEVEL

See also

MiniportHalt

MiniportInitialize

NdisRegisterProtocol

ProtocolBindAdapter

ProtocolPnPEvent

 

 

Send comments about this topic to Microsoft