For more information, see Halting a Miniport Adapter. If MiniportInitializeEx returns NDIS_STATUS_SUCCESS, the driver should release all the resources for the adapter in the MiniportHaltEx function. For more information, see Starting a Miniport Adapter. NDIS can call the MiniportRestart function to transition the adapter to the Running state. NET_BUFFER and NET_BUFFER_LIST pools (see Miniport Driver Send and Receive Operations).Īfter MiniportInitializeEx returns successfully, the adapter is in the Paused state. Typically, MiniportInitializeEx allocates adapter-specific resources in the following order: The miniport driver specifies the adapter attributes in the NDIS_MINIPORT_ADAPTER_ATTRIBUTES structure that MiniportInitializeEx passes to NdisMSetMiniportAttributes. The time-out interval for calling its MiniportCheckForHangEx function.A pointer to a driver-allocated context area.Obtains information about the hardware resources for the adapter.Ĭalls the NdisMSetMiniportAttributes and provides the following attributes that are associated with the adapter: Obtains configuration information for the adapter. The adapter is in the Initializing state.Ī miniport driver typically performs the following tasks in MiniportInitializeEx: Until MiniportInitializeEx returns, NDIS submits no requests for the adapter being initialized. For more information about miniport driver initialization, see Initializing a Miniport Driver. NDIS can call MiniportInitializeEx at any time after the driver is initialized. NDIS calls the miniport driver's MiniportInitializeEx function to initialize an adapter for network I/O operations. Subsequently, the Plug and Play (PnP) manager sends NDIS a Plug and Play IRP to start the device. When a networking device becomes available, the system loads the required NDIS miniport driver, if it is not already loaded.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |