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.

78 lines
2.0 KiB

  1. //////////////////////////////////////////////////////////////////////////////
  2. //
  3. // Copyright (c) 1998 Microsoft Corporation
  4. //
  5. // Module Name:
  6. //
  7. // aaaahndl.c
  8. //
  9. // Abstract:
  10. //
  11. // Handlers for aaaa commands
  12. //
  13. // Revision History:
  14. //
  15. // pmay
  16. // Thierry Perraut 04/02/1999
  17. //////////////////////////////////////////////////////////////////////////////
  18. #include "stdafx.h"
  19. #include "strdefs.h"
  20. #include "rmstring.h"
  21. #include "aaaamon.h"
  22. #include "aaaahndl.h"
  23. #include "aaaaconfig.h"
  24. //////////////////////////////////////////////////////////////////////////////
  25. // AaaaDumpScriptHeader
  26. //
  27. // Routine Description:
  28. //
  29. // Dumps the header of a script to the given file or to the
  30. // screen if the file is NULL.
  31. //
  32. //////////////////////////////////////////////////////////////////////////////
  33. DWORD AaaaDumpScriptHeader(IN HANDLE hFile)
  34. {
  35. DisplayMessage(g_hModule, MSG_AAAA_SCRIPTHEADER);
  36. DisplayMessageT( DMP_AAAA_PUSHD );
  37. return NO_ERROR;
  38. }
  39. //////////////////////////////////////////////////////////////////////////////
  40. // AaaaDumpScriptFooter
  41. //
  42. // Routine Description:
  43. //
  44. // Dumps the header of a script to the given file or to the
  45. // screen if the file is NULL.
  46. //////////////////////////////////////////////////////////////////////////////
  47. DWORD AaaaDumpScriptFooter(IN HANDLE hFile)
  48. {
  49. DisplayMessageT( DMP_AAAA_POPD );
  50. DisplayMessage(g_hModule, MSG_AAAA_SCRIPTFOOTER);
  51. return NO_ERROR;
  52. }
  53. //////////////////////////////////////////////////////////////////////////////
  54. // AaaaDump
  55. //////////////////////////////////////////////////////////////////////////////
  56. DWORD
  57. WINAPI
  58. AaaaDump(
  59. IN LPCWSTR pwszRouter,
  60. IN OUT LPWSTR *ppwcArguments,
  61. IN DWORD dwArgCount,
  62. IN LPCVOID pvData
  63. )
  64. {
  65. AaaaDumpScriptHeader( NULL );
  66. AaaaConfigDumpConfig();
  67. DisplayMessageT(MSG_NEWLINE);
  68. AaaaDumpScriptFooter( NULL );
  69. return NO_ERROR;
  70. }