windows-nt/Source/XPSP1/NT/base/headless/tcsrv/server/tcsrvt.c

37 lines
637 B
C
Raw Normal View History

2020-09-26 03:20:57 -05:00
/*
* 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;
}