mirror of https://github.com/lianthony/NT4.0
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.
51 lines
491 B
51 lines
491 B
/*++
|
|
|
|
Copyright (c) 1992 Microsoft Corporation
|
|
|
|
Module Name:
|
|
|
|
scmain.c
|
|
|
|
Abstract:
|
|
|
|
This is a main routine that can be used to build an exe with only
|
|
the service controller in it.
|
|
|
|
Author:
|
|
|
|
DANL
|
|
|
|
--*/
|
|
|
|
#include <ntrpcp.h>
|
|
#include <svcctrl.h>
|
|
|
|
VOID
|
|
main (
|
|
int argc,
|
|
PUCHAR argv[]
|
|
)
|
|
|
|
/*++
|
|
|
|
Routine Description:
|
|
|
|
Arguments:
|
|
|
|
|
|
Return Value:
|
|
|
|
|
|
--*/
|
|
{
|
|
|
|
//
|
|
// Initialize the server
|
|
//
|
|
|
|
RpcpInitRpcServer();
|
|
|
|
|
|
SvcctrlMain(argc, argv);
|
|
|
|
}
|