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.
60 lines
741 B
60 lines
741 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
|
|
//
|
|
|
|
if (NT_SUCCESS(RpcpInitRpcServer()))
|
|
{
|
|
SvcctrlMain(argc, argv);
|
|
}
|
|
|
|
//
|
|
// We should never get here!
|
|
//
|
|
ASSERT( FALSE );
|
|
|
|
return 0;
|
|
}
|