DOC: Do Not Need NdisTerminateWrapper in MiniportHaltID: Q192482
|
The NDIS Library Function Reference for NdisTerminateWrapper states that a driver should call NdisTerminateWrapper from its MiniportHalt function when its last NIC is being removed. This is incorrect. The miniport driver does not have to terminate the wrapper by calling NdisTerminateWrapper, and the NdisMTerminateWrapper function does not exist (Microsoft samples do not use NdisTerminateWrapper anymore).
During the netcard removal operation, the miniport driver removes associated resources by calling NdisMDeregisterInterrupt. After the resources are removed, the miniport driver calls NdisMDeregisterIoPortRange and NdisMUnmapIoSpace, through which the NDIS wrapper informs the operating system that the netcard has been removed. The NDIS wrapper guarantees that there will be no requests or sends while the netcard is being disabled.
Additional query words: NdisMDeregisterInterrupt MiniportHalt NdisTerminateWrapper
Keywords : kbDDK kbNDIS kbNTOS400fix
Version :
Platform :
Issue type : kbinfo
Last Reviewed: March 5, 1999