Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

72 lines
1.4 KiB

  1. /*++
  2. Copyright (c) 1990 - 1994 Microsoft Corporation
  3. All rights reserved
  4. Module Name:
  5. dbgmain.c
  6. Abstract:
  7. This module provides all the NetOle/Argus Debugger extensions.
  8. The following extensions are supported:
  9. Author:
  10. Krishna Ganugapati (KrishnaG) 1-July-1993
  11. Revision History:
  12. --*/
  13. #define NOMINMAX
  14. #include <nt.h>
  15. #include <ntrtl.h>
  16. #include <nturtl.h>
  17. #include <windows.h>
  18. #include <stdlib.h>
  19. #include <math.h>
  20. #include <ntsdexts.h>
  21. #include <ctype.h>
  22. #include "dbglocal.h"
  23. DWORD dwGlobalAddress = 32;
  24. DWORD dwGlobalCount = 48;
  25. BOOL help(
  26. HANDLE hCurrentProcess,
  27. HANDLE hCurrentThread,
  28. DWORD dwCurrentPc,
  29. PNTSD_EXTENSION_APIS lpExtensionApis,
  30. LPSTR lpArgumentString)
  31. {
  32. PNTSD_OUTPUT_ROUTINE Print;
  33. PNTSD_GET_EXPRESSION EvalExpression;
  34. PNTSD_GET_SYMBOL GetSymbol;
  35. Print = lpExtensionApis->lpOutputRoutine;
  36. EvalExpression = lpExtensionApis->lpGetExpressionRoutine;
  37. GetSymbol = lpExtensionApis->lpGetSymbolRoutine;
  38. while (*lpArgumentString == ' ')
  39. lpArgumentString++;
  40. Print("Windows NT Argus/NetOle Subsystem - debugging extensions\n");
  41. Print("help - prints this list of debugging commands\n");
  42. Print("vtbl [addr] - dumps out a v-table starting at [addr]\n");
  43. return(TRUE);
  44. DBG_UNREFERENCED_PARAMETER(hCurrentProcess);
  45. DBG_UNREFERENCED_PARAMETER(hCurrentThread);
  46. DBG_UNREFERENCED_PARAMETER(dwCurrentPc);
  47. }