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.
39 lines
1.2 KiB
39 lines
1.2 KiB
/**********************************************************************/
|
|
/** Microsoft Windows NT **/
|
|
/** Copyright(c) Microsoft Corp., 1991 **/
|
|
/**********************************************************************/
|
|
|
|
/*
|
|
SrvCntrl.hxx
|
|
|
|
OLDNAME: NCPASVCS.CXX:
|
|
|
|
Service Controller interface prototypes.
|
|
|
|
|
|
FILE HISTORY:
|
|
DavidHov 11/16/92 Created
|
|
|
|
*/
|
|
#ifndef __SRVCNTRL_HXX__
|
|
#define __SRVCNTRL_HXX__
|
|
|
|
CLASS_DECLSPEC SC_MANAGER ;
|
|
|
|
|
|
FUNC_DECLSPEC APIERR NcpaStartService (
|
|
const TCHAR * pszSvcName, // Name of service
|
|
SC_MANAGER * pScMgr = NULL, // SVCCTRL hndl wrapper or NULL
|
|
BOOL fStartOk = TRUE, // TRUE if service may be running
|
|
INT cArgs = 0, // Count of args to pass to svc
|
|
const TCHAR * * pszParams = NULL ) ; // Arg list
|
|
|
|
|
|
FUNC_DECLSPEC APIERR NcpaStartGroup (
|
|
const TCHAR * pszGroupName, // Name of Group
|
|
SC_MANAGER * pScMgr = NULL, // SRVCTRL hndl wrapper or NULL
|
|
BOOL fIgnoreErrors = TRUE ) ; // TRUE if errors should be ignored
|
|
|
|
#endif
|
|
// End of NCPASVCS.HXX
|
|
|