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
36 lines
673 B
/*
|
|
* Copyright (c) Microsoft Corporation
|
|
*
|
|
* Module Name :
|
|
* tcsrvt.c
|
|
*
|
|
* This is the main file containing the service setup routines
|
|
*
|
|
* Sadagopan Rajaram -- Oct 14, 1999
|
|
*
|
|
*/
|
|
|
|
|
|
#include "tcsrv.h"
|
|
#include "tcsrvc.h"
|
|
#include "proto.h"
|
|
|
|
int __cdecl
|
|
main (
|
|
INT argc,
|
|
CHAR **argv
|
|
)
|
|
{
|
|
int i;
|
|
|
|
SERVICE_TABLE_ENTRY DispatchTable[] = {
|
|
{ _T("TCSERV"), ServiceEntry },
|
|
{ NULL, NULL }
|
|
};
|
|
|
|
if (!StartServiceCtrlDispatcher( DispatchTable))
|
|
{
|
|
OutputDebugStringA(" [TCSERV] StartServiceCtrlDispatcher error");
|
|
}
|
|
return 0;
|
|
}
|