File:  [WindowsNT SDKs] / q_a / samples / ntsd / readme.txt
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Thu Aug 9 18:29:36 2018 UTC (7 years, 9 months ago) by root
Branches: msft, MAIN
CVS tags: ntsdk-oct-1992, ntsdk-nov-1993, ntsdk-jul-1993, HEAD
Microsoft Windows NT Build 328 10-12-1992

 Sample: Writing NTSD Extensions

Summary:

This article and the associated sample demonstrate how to
write a NTSD extension for the NTSD debugger.
More Information:

While debugging, we often find ourselves looking up certain
fields of a certain structure in the program. Traditionally,
this involves dumping the address of the structure in
question and locating the specific fields in the dump, which
is often very tedious and inefficient.

In NTSD, the programmers can write a dumping routine to be
called by the NTSD debugger.

The routine has to be in a DLL and has the following
prototype:

   void Routine (HANDLE, HANDLE, HANDLE,
PNTSD_EXTENSION_APIS, LPSTR);

   See the file DEBUG.C, which is part of the NTSD sample,
for details.

Then, to invoke the routine in NTSD, the user would do the
following:

   !module.routine argument




unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.