VOID
NdisDeregisterMac(
OUT PNDIS_STATUS Status,
IN NDIS_HANDLE NdisMacHandle
);
NdisDeregisterMac is called by a NIC driver’s MacUnload function.
NDIS_STATUS_FAILURE
NDIS_STATUS_NOT_ACCEPTED
NDIS_STATUS_PENDING
NDIS_STATUS_SUCCESS
NdisDeregisterMac removes the driver from the NDIS interface library connection.
Callers of NdisDeregisterMac run at IRQL PASSIVE_LEVEL.