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.

43 lines
1.2 KiB

  1. //+-------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 1996 - 1999.
  5. //
  6. // File: cisvcex.hxx
  7. //
  8. //--------------------------------------------------------------------------
  9. #pragma once
  10. #define wcsCiSvcName L"CiSvc"
  11. #include <notifary.hxx>
  12. extern "C"
  13. {
  14. enum ECiSvcActionType
  15. {
  16. eNetPause,
  17. eNetContinue,
  18. eNetStop,
  19. // active types for an individual catalog
  20. eCatRO, // set catalog read-only
  21. eCatW, // set catalog writable
  22. eStopCat, // stop a catalog
  23. eNoQuery, // stop listen to clients
  24. // operations on a volume
  25. eLockVol, // a volume being locked
  26. eUnLockVol,
  27. // other
  28. eNoCatWork
  29. };
  30. SCODE StopCiSvcWork( ECiSvcActionType type, WCHAR wcVol = 0 );
  31. void StartCiSvcWork( CDrvNotifArray & pDrvNotifArray );
  32. void CiSvcMain( DWORD dwNumServiceArgs,
  33. LPWSTR * awcsServiceArgs );
  34. void SvcEntry_CiSvc( DWORD NumArgs,
  35. LPWSTR * ArgsArray,
  36. void * pSvcsGlobalData,
  37. HANDLE SvcRefHandle );
  38. }