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.

36 lines
673 B

  1. /*
  2. * Copyright (c) Microsoft Corporation
  3. *
  4. * Module Name :
  5. * tcsrvt.c
  6. *
  7. * This is the main file containing the service setup routines
  8. *
  9. * Sadagopan Rajaram -- Oct 14, 1999
  10. *
  11. */
  12. #include "tcsrv.h"
  13. #include "tcsrvc.h"
  14. #include "proto.h"
  15. int __cdecl
  16. main (
  17. INT argc,
  18. CHAR **argv
  19. )
  20. {
  21. int i;
  22. SERVICE_TABLE_ENTRY DispatchTable[] = {
  23. { _T("TCSERV"), ServiceEntry },
  24. { NULL, NULL }
  25. };
  26. if (!StartServiceCtrlDispatcher( DispatchTable))
  27. {
  28. OutputDebugStringA(" [TCSERV] StartServiceCtrlDispatcher error");
  29. }
  30. return 0;
  31. }