The information in this article applies to:
SUMMARYThis article shows you how to set tracing options to debug Network Driver Interface Specification (NDIS) wide area network (WAN) miniports on Windows 95 with Microsoft Dial-Up Networking 1.2x. It also includes the address of the Web site you can visit to download debug binaries. MORE INFORMATION
NDIS WAN miniports are binary compatible drivers for Windows NT 4.0 and
Windows 95. To use NDIS WAN miniports on Windows 95, you must install the
Microsoft Dial-Up Networking upgrade. You can get the latest Microsoft Dial-
Up Networking upgrade and debug binaries from the Device Driver Development
Support Web page, located at:
http://support.microsoft.com/support/ddk_hardware/Click the Windows DDK link and then the Device Driver Tools link. When you debug an NDIS WAN miniport on Windows 95, you can install several debug binaries. Ndis.vxd, Wan.tsp, and Isdnui.dll all emit trace information to a kernel debugger if the debug version of the respective driver is installed. To enable Ndis.vxd tracing, you must set the NdisTraceImpt symbol to TRUE in the debugger. For example:
This line sets the global variable NdisTraceImpt to TRUE, and Ndis.vxd begins emitting trace information once processing resumes. When tracing is enabled, Ndis.vxd emits a text string each time an NDIS API function is entered and exited. In addition, most Plug and Play and enumeration steps are logged with the debugger. NDIS tracing helps debug any NDIS client driver, including miniports, transport drivers, and NDIS network interface card (NIC) drivers. Wan.tsp and Isdnui.dll have more tracing options. You can set tracing options for these DLLs with an initialization file located in the base Windows directory. The debug versions of both DLLs refer to Bowman.ini using GetPrivateProfileString. The following sample code presents the format for Bowman.ini: Sample Code
All trace output is emitted to the current kernel debugger. REFERENCESWindows NT DDK documentation Additional query words: MSDUN NDIS Miniport
Keywords : NTDDKDebug ntddkndis |
Last Reviewed: November 9, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |