Share via


NdisIfDeregisterProvider (Compact 2013)

3/26/2014

This 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
    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 make sure that it has no 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

Header

ndis.h

See Also

Reference

NDIS Network Interface Functions
NdisIfDeregisterInterface
NdisIfRegisterProvider