NdisDeregisterMac

VOID
   NdisDeregisterMac(
       OUT PNDIS_STATUS Status,
       IN NDIS_HANDLE NdisMacHandle
       );

NdisDeregisterMac is called by a NIC driver’s MacUnload function.

Parameters

Status

Points to the caller-supplied variable in which this function returns the final status of the deregistration. Possible values are:

NDIS_STATUS_FAILURE
NDIS_STATUS_NOT_ACCEPTED
NDIS_STATUS_PENDING
NDIS_STATUS_SUCCESS

NdisMacHandle

Specifies the handle that the NDIS interface library associates with the NIC driver.

Comments

NdisDeregisterMac removes the driver from the NDIS interface library connection.

Callers of NdisDeregisterMac run at IRQL PASSIVE_LEVEL.

See Also

MacUnload, NdisRegisterMac