The information in this article applies to:
SUMMARYThe 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). MORE INFORMATIONDuring 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 |
Last Reviewed: March 5, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |