NdisIfDeregisterProvider function

The NdisIfDeregisterProvider function deregisters an interface provider that was previously registered by a call to the NdisIfRegisterProvider function.

Syntax


VOID NdisIfDeregisterProvider(
  _In_  NDIS_HANDLE NdisProviderHandle
);

Parameters

NdisProviderHandle [in]

A handle that identifies the network interface provider. The caller obtained this handle from a previous call to the NdisIfRegisterProvider function.

Return value

None

Remarks

NDIS drivers call the NdisIfDeregisterProvider function to deregister as a network interface provider. NDIS drivers should deregister as interface providers when they are unloaded.

The interface provider must ensure that it does not have any interfaces registered when it calls NdisIfDeregisterProvider. To deregister interfaces, the provider must call the NdisIfDeregisterInterface function once for each registered interface.

The provider must not use the provider handle that it passed at the NdisProviderHandle parameter after it calls NdisIfDeregisterProvider.

Requirements

Version

Supported in NDIS 6.0 and later.

Header

Ndis.h (include Ndis.h)

IRQL

PASSIVE_LEVEL

DDI compliance rules

Irql_Interfaces_Function

See also

NdisIfDeregisterInterface
NdisIfRegisterProvider

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft