3.7 Halt Handler

A miniport must supply a MiniportHalt function to NdisMRegisterMiniport. The definition of MiniportHalt is:

VOID
    MiniportHalt(
        IN NDIS_HANDLE MiniportAdapterContext
        );

MiniportHalt can be called:

MiniportHalt should undo everything that MiniportInitialize did including the following: