Source code of Windows XP (NT5)
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.

36 lines
2.3 KiB

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