Leaked source code of windows server 2003
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.9 KiB

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