转载自微软网站。
#define PCMCIA_DEBUG_ALL 0xFFFFFFFF #define PCMCIA_DEBUG_TUPLES 0x00000001 #define PCMCIA_DEBUG_ENABLE 0x00000002 #define PCMCIA_DEBUG_PARSE 0x00000004 #define PCMCIA_DUMP_CONFIG 0x00000008 #define PCMCIA_DEBUG_INFO 0x00000010 #define PCMCIA_DEBUG_IOCTL 0x00000020 #define PCMCIA_DEBUG_DPC 0x00000040 #define PCMCIA_DEBUG_ISR 0x00000080 #define PCMCIA_DEBUG_CANCEL 0x00000100 #define PCMCIA_DUMP_SOCKET 0x00000200 #define PCMCIA_READ_TUPLE 0x00000400 #define PCMCIA_SEARCH_PCI 0x00000800 #define PCMCIA_DEBUG_FAIL 0x00008000 #define PCMCIA_PCCARD_READY 0x00010000 #define PCMCIA_DEBUG_DETECT 0x00020000 #define PCMCIA_COUNTERS 0x00040000 #define PCMCIA_DEBUG_OVERRIDES 0x00080000 #define PCMCIA_DEBUG_IRQMASK 0x00100000
[ModemUI] ; DumpFlags: ; 00000001 DCB ; 00000002 MODEMSETTINGS ; 00000004 DEVCAPS DumpFlags=0x0000000f ; TraceFlags: ; 00000001 Warnings ; 00000002 Errors ; 00000004 General ; 00000008 Function trace TraceFlags=0x0000000f ; BreakFlags: ; 00000001 Break on validate ; 00000040 Break on process attach ; 00000100 Break on API enter BreakFlags=0x00000000 ;; -------------------------------------------------------------------- [Modem] ; DumpFlags: DumpFlags=0x0000000f ; TraceFlags: ; 00000001 Warnings ; 00000002 Errors ; 00000004 General ; 00000008 Function trace ; 00010000 Detection queries ; 00020000 Class installer trace TraceFlags=0x0003000f ; BreakFlags: ; 00000001 Break on validate ; 00000040 Break on process attach ; 00000100 Break on API enter BreakFlags=0x00000000 ;; -------------------------------------------------------------------- [SerialUI] ; DumpFlags: ; 00000001 DCB DumpFlags=0x00000000 ; TraceFlags: ; 00000001 Warnings ; 00000002 Errors ; 00000004 General ; 00000008 Function trace TraceFlags=0x00000000 ; BreakFlags: ; 00000001 Break on validate ; 00000040 Break on process attach ; 00000100 Break on API enter BreakFlags=0x00000000 ;; -------------------------------------------------------------------- [Unimdm] ; DumpFlags: DumpFlags=0x0000000f ; TraceFlags: ; 00000001 Warnings ; 00000002 Errors ; 00000004 General ; 00000008 Function trace ; 00010000 dwDeviceID related ; 00020000 hdLine related ; 00040000 hdCall related ; 00080000 pLineDev related ; 00100000 pModemInfo related TraceFlags=0x001f000f ; BreakFlags: ; 00000001 Break on validate ; 00000040 Break on process attach ; 00000080 Break on process detach ; 00000100 Break on API enter BreakFlags=0x00000000
ed NT!Kd_NTOSPNP_Mask 0xFFFFFFFF ed NT!Kd_PNPMGR_Mask 0xFFFFFFFF
ed nt!PnpEnumDebugLevel 2
ULONG DbgPrintEx(IN ULONG ComponentID, IN ULONG Level, IN PCHAR Format, . . . . [arguments]);
x NT!Kd_*_Mask