Leaked source code of windows server 2003
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.

32 lines
2.2 KiB

  1. #include "stdafx.h"
  2. int InetIsThisExeAService(LPCTSTR lpFileNameToCheck, LPTSTR lpReturnServiceName);
  3. int InetIsThisExeAService_Worker(LPCTSTR lpServiceName, LPCTSTR lpFileNameToCheck);
  4. INT InetDisableService( LPCTSTR lpServiceName );
  5. INT InetStartService( LPCTSTR lpServiceName );
  6. DWORD InetQueryServiceStatus( LPCTSTR lpServiceName );
  7. INT InetStopService( LPCTSTR lpServiceName );
  8. INT InetDeleteService( LPCTSTR lpServiceName );
  9. INT InetCreateService( LPCTSTR lpServiceName, LPCTSTR lpDisplayName, LPCTSTR lpBinaryPathName, DWORD dwStartType, LPCTSTR lpDependencies);
  10. INT InetCreateDriver(LPCTSTR lpServiceName, LPCTSTR lpDisplayName, LPCTSTR lpBinaryPathName, DWORD dwStartType);
  11. INT InetConfigService( LPCTSTR lpServiceName, LPCTSTR lpDisplayName, LPCTSTR lpBinaryPathName, LPCTSTR lpDependencies);
  12. BOOL InetRegisterService(LPCTSTR pszMachine, LPCTSTR pszServiceName, GUID *pGuid, DWORD SapId, DWORD TcpPort, BOOL fAdd = TRUE);
  13. DWORD RetrieveServiceConfig(IN SC_HANDLE ServiceHandle,OUT LPQUERY_SERVICE_CONFIG *ServiceConfig);
  14. INT CheckifServiceExist( LPCTSTR lpServiceName );
  15. INT CheckifServiceExistAndDependencies( LPCTSTR lpServiceName );
  16. INT CheckifServiceMarkedForDeletion( LPCTSTR lpServiceName );
  17. int ValidateDependentService(LPCTSTR lpServiceToValidate, LPCTSTR lpServiceWhichIsDependent);
  18. int StopServiceAndDependencies(LPCTSTR ServiceName, int AddToRestartList);
  19. int KillService(SC_HANDLE ServiceHandle);
  20. INT InetConfigServiceInteractive(LPCTSTR lpServiceName, int AddInteractive);
  21. DWORD CreateDriver_Wrap(CString csDriverName, CString csDisplayName, CString csFileName,BOOL bDisplayMsgOnErrFlag);
  22. DWORD CreateService_wrap(CString csServiceName, CString csDisplayName, CString csBinPath, CString csDependencies, CString csDescription, BOOL bDisplayMsgOnErrFlag);
  23. int ServicesRestartList_Add(LPCTSTR szServiceName);
  24. int ServicesRestartList_EntryExists(LPCTSTR szServiceName);
  25. int ServicesRestartList_RestartServices(void);
  26. int IsThisServiceADriver(LPCTSTR lpServiceName);
  27. void SetServiceStart(LPTSTR szServiceName, DWORD dwServiceStart);
  28. BOOL IsServiceDisabled(LPTSTR szServiceName);
  29. BOOL ChangeServiceDependency(LPTSTR szServiceName, BOOL bAddDependency, LPTSTR szDependantService);