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.

31 lines
921 B

  1. #include "dispdef.hxx"
  2. #include <stdio.h>
  3. char *g_HelpTable[] = {"-?", "/?", "--help", "help"};
  4. int g_nHelpTable = sizeof(g_HelpTable) / sizeof(char*);
  5. //
  6. // Add dispatch table entries below
  7. //
  8. DEFEXEC(ExecDefaultContainer);
  9. DEFEXEC(ExecDump);
  10. DEFEXEC(ExecEnum);
  11. DEFEXEC(ExecGet);
  12. DEFEXEC(ExecGroup);
  13. DEFEXEC(ExecSession);
  14. DEFEXEC(ExecShare);
  15. DEFEXEC(ExecUser);
  16. DISPENTRY g_DispTable[] = {
  17. {"default", NULL, ExecDefaultContainer},
  18. {"dump", NULL, ExecDump},
  19. {"enum", NULL, ExecEnum},
  20. {"get", NULL, ExecGet},
  21. {"group", NULL, ExecGroup},
  22. {"session", NULL, ExecSession},
  23. {"share", NULL, ExecShare},
  24. {"user", NULL, ExecUser}
  25. };
  26. int g_nDispTable = sizeof(g_DispTable) / sizeof(DISPENTRY);