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.

61 lines
1.7 KiB

  1. ///////////////////////////////////////////////////////////////////////////////
  2. //
  3. // Copyright (c) Microsoft Corporation
  4. //
  5. // SYNOPSIS
  6. //
  7. // Declares various constants used by IAS.
  8. //
  9. ///////////////////////////////////////////////////////////////////////////////
  10. #ifndef IASDEFS_H
  11. #define IASDEFS_H
  12. #pragma once
  13. //////////
  14. // The name of the IAS Service.
  15. //////////
  16. #define IASServiceName L"IAS"
  17. //////////
  18. // The name of the IAS Program
  19. // Used for forming ProgID's of the format Program.Component.Version.
  20. //////////
  21. #define IASProgramName IASServiceName
  22. //////////
  23. // Macro to munge a component string literal into a full ProgID.
  24. //////////
  25. #define IAS_PROGID(component) IASProgramName L"." L#component
  26. //////////
  27. // Registry key where the policy info is stored.
  28. //////////
  29. #define IAS_POLICY_KEY \
  30. L"SYSTEM\\CurrentControlSet\\Services\\RemoteAccess\\Policy"
  31. //////////
  32. // Microsoft's Vendor ID
  33. //////////
  34. #define IAS_VENDOR_MICROSOFT 311
  35. // to get 3705: 4096 - RADIUS "header" (packet type...) - the overhead
  36. // of putting the filters bytes into VSAs (overhead of each VSA).
  37. #define MAX_FILTER_SIZE 3705
  38. // Database versions.
  39. const LONG IAS_WIN2K_VERSION = 0;
  40. const LONG IAS_WHISTLER1_VERSION = 1;
  41. const LONG IAS_WHISTLER_BETA1_VERSION = 2;
  42. const LONG IAS_WHISTLER_BETA2_VERSION = 3;
  43. const LONG IAS_WHISTLER_RC1_VERSION = 4;
  44. const LONG IAS_WHISTLER_RC1A_VERSION = 5;
  45. const LONG IAS_WHISTLER_RC1B_VERSION = 6;
  46. const LONG IAS_WHISTLER_RC2_VERSION = 7;
  47. const LONG IAS_CURRENT_VERSION = IAS_WHISTLER_RC2_VERSION;
  48. // This is used by the datastore as well as simtable to limit the size of
  49. // what can be saved to the database.
  50. const size_t PROPERTY_VALUE_LENGTH = 8192;
  51. #endif // IASDEFS_H