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.

67 lines
2.0 KiB

  1. //*************************************************************
  2. //
  3. // Copyright (c) Microsoft Corporation 1998 - 2000
  4. // All rights reserved
  5. //
  6. // appschem.h
  7. //
  8. // This file contains declarations related to the wmi schema
  9. // for folder redirection policy objects
  10. //
  11. //*************************************************************
  12. //
  13. // WMI class names for the folder redirection classes
  14. //
  15. #define RSOP_REDIRECTED_FOLDER L"RSOP_FolderRedirectionPolicySetting"
  16. //
  17. // Attribute names for the RSOP_FolderRedirectionPolicyObject class
  18. //
  19. // Unique id
  20. #define RDR_ATTRIBUTE_ID L"id"
  21. // Path to which folder is redirected
  22. #define RDR_ATTRIBUTE_RESULT L"resultantPath"
  23. // Groups - Array of security groups
  24. #define RDR_ATTRIBUTE_GROUPS L"securityGroups"
  25. // Paths - Array of redirection paths
  26. #define RDR_ATTRIBUTE_PATHS L"redirectedPaths"
  27. // Installation Type: 1 = basic, 2 = maximum
  28. #define RDR_ATTRIBUTE_INSTALLATIONTYPE L"installationType"
  29. //
  30. // Enumerated values for installation type attribute
  31. //
  32. #define RDR_ATTRIBUTE_INSTALLATIONTYPE_VALUE_BASIC 1L
  33. #define RDR_ATTRIBUTE_INSTALLATIONTYPE_VALUE_MAX 2L
  34. // Grant Type - Grant user exclusive access
  35. #define RDR_ATTRIBUTE_GRANTTYPE L"grantType"
  36. // Move Type - true = moce contents of directory
  37. #define RDR_ATTRIBUTE_MOVETYPE L"moveType"
  38. // Policy Removal - 1 = leave folder in new location, 2 = redirect the folder back to the user profile location
  39. #define RDR_ATTRIBUTE_POLICYREMOVAL L"policyRemoval"
  40. //
  41. // Enumerated values for policyremoval attribute
  42. //
  43. #define RDR_ATTRIBUTE_POLICYREMOVAL_VALUE_REMAIN 1L
  44. #define RDR_ATTRIBUTE_POLICYREMOVAL_VALUE_REDIRECT 2L
  45. // Redirecting group
  46. #define RDR_ATTRIBUTE_REDIRECTING_GROUP L"redirectingGroup"
  47. //
  48. // Miscellaneous definitions
  49. //
  50. #define MAX_SZGUID_LEN 39