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.

91 lines
2.6 KiB

  1. //+--------------------------------------------------------------------------
  2. // Module Name: Dfsstr.h
  3. //
  4. // Copyright 1985-96, Microsoft Corporation
  5. //
  6. // Contents: This module is a common place for all strings in DFS.
  7. //
  8. //---------------------------------------------------------------------------
  9. #ifndef _DFSSTRING_H_
  10. #define _DFSSTRING_H_
  11. //
  12. // Display names for use by Dfs related code
  13. //
  14. #define DFS_COMPONENT_NAME L"Distributed File System"
  15. #define DFS_PROVIDER_NAME DFS_COMPONENT_NAME
  16. //
  17. // Commonly used strings and characters
  18. //
  19. #define UNICODE_PATH_SEP_STR L"\\"
  20. #define UNICODE_PATH_SEP L'\\'
  21. #define UNICODE_DRIVE_SEP_STR L":"
  22. #define UNICODE_DRIVE_SEP L':'
  23. //
  24. // Registry key and value names for storing Dfs volume information
  25. //
  26. #define VOLUMES_DIR L"Software\\Microsoft\\Dfs\\volumes\\"
  27. #define DOMAIN_ROOT_VOL L"domainroot"
  28. #define ROOT_SHARE_VALUE_NAME L"RootShare"
  29. #define CHANGE_LOG_DIR L"Software\\Microsoft\\Dfs\\ChangeLog\\"
  30. #define CHANGE_ID_VALUE_NAME L"ChangeId"
  31. #define MAX_CHANGES_VALUE_NAME L"MaxChanges"
  32. #define NUM_CHANGES_VALUE_NAME L"NumberOfChanges"
  33. #define CHANGES_KEY_NAME L"Changes"
  34. //
  35. // The share to connect with to get a referral
  36. //
  37. #define ROOT_SHARE_NAME L"\\IPC$"
  38. #define ROOT_SHARE_NAME_NOBS L"IPC$"
  39. //
  40. // Names of driver created objects
  41. //
  42. #define DFS_DEVICE_DIR L"\\Device\\WinDfs"
  43. #define ORG_NAME L"Root"
  44. #define DFS_DEVICE_ROOT L"\\Device\\WinDfs\\Root"
  45. #define DFS_DEVICE_ORG DFS_DEVICE_ROOT
  46. //
  47. // The share name used to identify UNC access to a Dfs name
  48. //
  49. #define DFS_SHARENAME L"\\DFS"
  50. #define DFS_SHARENAME_NOBS L"DFS"
  51. //
  52. // Registry key and value names for storing local volume information
  53. //
  54. #define REG_KEY_LOCAL_VOLUMES L"SYSTEM\\CurrentControlSet\\Services\\DFS\\LocalVolumes"
  55. #define REG_VALUE_ENTRY_PATH L"EntryPath"
  56. #define REG_VALUE_ENTRY_TYPE L"EntryType"
  57. #define REG_VALUE_STORAGE_ID L"StorageId"
  58. //
  59. // Registry key and value name for retrieving list of trusted domain names
  60. //
  61. #define REG_KEY_TRUSTED_DOMAINS L"SYSTEM\\CurrentControlSet\\Services\\NetLogon\\Parameters"
  62. #define REG_VALUE_TRUSTED_DOMAINS L"TrustedDomainList"
  63. //
  64. // The following two are related and must be kept in sync. One is the name
  65. // of the named pipe as used by user-level processes. The second names the
  66. // same pipe for kernel-mode code.
  67. //
  68. #define DFS_MESSAGE_PIPE L"\\\\.\\pipe\\DfsMessage"
  69. #define DFS_KERNEL_MESSAGE_PIPE L"\\Device\\NamedPipe\\DfsMessage"
  70. #endif //_DFSSTRING_H_