DOC: Do Not Need NdisTerminateWrapper in MiniportHalt |
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 kbOSWinNT400fix
Issue type : kbinfo
Technology : kbAudDeveloper kbWinDDKSearch kbWin32sSearch kbWin32DDKSearch kbWin32DDKNT400 kbWin32DDKNTSearch
|
Last Reviewed: March 7, 1999 © 2001 Microsoft Corporation. All rights reserved. Terms of Use. |