mirror of https://github.com/tongzx/nt5src
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.
59 lines
650 B
59 lines
650 B
/*++
|
|
|
|
Copyright (c) 1992 Microsoft Corporation
|
|
|
|
Module Name:
|
|
|
|
SERVICES.CXX
|
|
|
|
Abstract:
|
|
|
|
This is the main routine for the Win32 Service Controller and
|
|
Registry (Screg) RPC server process.
|
|
|
|
Author:
|
|
|
|
Dan Lafferty (danl) 25-Oct-1993
|
|
|
|
Modification History:
|
|
|
|
--*/
|
|
|
|
#include "precomp.hxx"
|
|
#include <ntrpcp.h>
|
|
|
|
|
|
extern "C"
|
|
int __cdecl
|
|
main (
|
|
int argc,
|
|
PCHAR argv[]
|
|
)
|
|
|
|
/*++
|
|
|
|
Routine Description:
|
|
|
|
Arguments:
|
|
|
|
|
|
Return Value:
|
|
|
|
|
|
--*/
|
|
{
|
|
//
|
|
// Initialize the RPC server
|
|
//
|
|
RpcpInitRpcServer();
|
|
|
|
SvcctrlMain(argc, argv);
|
|
|
|
|
|
//
|
|
// We should never get here!
|
|
//
|
|
ASSERT( FALSE );
|
|
|
|
return 0;
|
|
}
|