This article was previously published under Q232515
This article has been archived. It is offered "as is" and will no longer be updated.
There is additional Network Driver Interface Specification (NDIS) debugging information available in Windows 98 and Windows 98 SE. This article describes how to access that additional information using the global symbols, ndisdebuglevel and ndisdebugsystems.
Listed below are level and component NDIS debugging flags. These flags are set through the debugger, and provide trace information as execution passes through NDIS. These flags can be ORed together.
Execute the WDEB386 or WDEB98 debugger with the /B option to break the debugger after driver loading finishes and before VMM initialization begins. At the break, set the NDIS trace important flag, and go:
e ndistraceimpt 1
After returning from WrapperSyCriticalInit, break into the system and set the ORed value of the trace information in which you are interested. Enter the ORed value in Intel byte order. Use of these flags requires the Windows 98/SE debug binary version of the Ndis.vxd device driver.
EXAMPLE: Set the level trace information for ERROR in the debugger in the following manner:
e ndisdebuglevel 00 20 00 00
EXAMPLE: Set the component trace information for RECEIVE and SEND in the debugger in the following manner:
e ndisdebugsystems 0C 00 00 00
PLUG AND PLAY
Windows Machine Instrumentation
All trace output is emitted to the current kernel debugger.