Occasions for Setting Miniport Driver Information
The MiniportOidRequest function in a connectionless miniport driver and the MiniportCoOidRequest function in a connection-oriented miniport driver are called during initialization. These functions can also be called:
During a hardware reset,
If a protocol calls NdisCloseAdapterEx.
MiniportOidRequest or MiniportCoOidRequest is called during hardware reset operation. In this case, MiniportOidRequest or MiniportCoOidRequest is called to reset the miniport driver to its initial state with respect to its addresses.
NDIS calls MiniportOidRequest or MiniportCoOidRequest when a miniport driver's NIC is closed by a protocol's NdisCloseAdapterEx call. Such a miniport driver will be requested to update its addressing information.