windows-nt/Source/XPSP1/NT/base/screg/sc/ntsdexts
2020-09-26 16:20:57 +08:00
..
makefile Add source files 2020-09-26 16:20:57 +08:00
readme.txt Add source files 2020-09-26 16:20:57 +08:00
scexts.cxx Add source files 2020-09-26 16:20:57 +08:00
scexts.def Add source files 2020-09-26 16:20:57 +08:00
scexts.rc Add source files 2020-09-26 16:20:57 +08:00
sources Add source files 2020-09-26 16:20:57 +08:00

Put scexts.dll into the NT System32 directory.
Debugger extensions can be accessed by using either one of two methods:

1) Invoke ntsd normally, and refer to the dll name for
   each extension call.

    ntsd -p <processid for program>

    !scexts.help
    !scexts.ServiceRecord

(2) Invoke ntsd with the following:

    ntsd -a scexts.dll -p<processid>

    Then extensions can simply be referenced by name.
     !help
     !ServiceRecord

    NOTE:  The argument order is important. I forget which way is correct.
    Either the -a or the -p must come first. It doesn't work the
    other way around.