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.

42 lines
1.2 KiB

  1. #ifndef _FSA_
  2. #define _FSA_
  3. // fsa.h
  4. //
  5. // This header file collects up all the FSA and related objects
  6. // and common function definitions. The COM objects are available in
  7. // FSA.EXE.
  8. #include "wsb.h"
  9. // A definition for 1% and 100% as used by the resource's configured HsmLevel.
  10. #define FSA_HSMLEVEL_1 10000000
  11. #define FSA_HSMLEVEL_100 1000000000
  12. // Records types for FSA Unmanage database
  13. #define UNMANAGE_REC_TYPE 1
  14. // Macros to convert the Hsm management levels into percentages (and the inverse
  15. // macro, as well)
  16. #define CONVERT_TO_PCT(__x) ( (__x) / FSA_HSMLEVEL_1 )
  17. #define CONVERT_TO_HSMNUM(__x) ( (__x) * FSA_HSMLEVEL_1 )
  18. // COM Interface & LibraryDefintions
  19. #include "fsadef.h"
  20. #include "fsaint.h"
  21. #include "fsalib.h"
  22. // Common Functions
  23. #include "fsatrace.h"
  24. // Recall notification
  25. #include "fsantfy.h"
  26. // Fsa lives now in Remote Storage Server service thus its appid apply here
  27. // (This may change in the future if Fsa may reside in Client service as well)
  28. // RsServ AppID {FD0E2EC7-4055-4A49-9AA9-1BF34B39438E}
  29. static const GUID APPID_RemoteStorageFileSystemAgent =
  30. { 0xFD0E2EC7, 0x4055, 0x4A49, { 0x9A, 0xA9, 0x1B, 0xF3, 0x4B, 0x39, 0x43, 0x8E } };
  31. #endif // _FSA_