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.

101 lines
4.8 KiB

  1. //////////////////////////////////////////////////////////////////////////////
  2. //
  3. // Copyright (c) 1999-2000 Microsoft Corporation
  4. //
  5. // Module Name:
  6. // Schema.cpp
  7. //
  8. // Description:
  9. // Implementation of schema defined strings
  10. //
  11. // Author:
  12. // Jim Benton (jbenton) 5-Nov-2001
  13. //
  14. //////////////////////////////////////////////////////////////////////////////
  15. #include "pch.h"
  16. //////////////////////////////////////////////////////////////////////////////
  17. // Global Data
  18. //////////////////////////////////////////////////////////////////////////////
  19. //
  20. // class
  21. //
  22. const WCHAR * const PVDR_CLASS_DIFFVOLUMESUPPORT = L"Win32_ShadowDiffVolumeSupport";
  23. const WCHAR * const PVDR_CLASS_PROVIDER = L"Win32_ShadowProvider";
  24. const WCHAR * const PVDR_CLASS_SHADOW = L"Win32_ShadowCopy";
  25. const WCHAR * const PVDR_CLASS_SHADOWBY = L"Win32_ShadowBy";
  26. const WCHAR * const PVDR_CLASS_SHADOWFOR = L"Win32_ShadowFor";
  27. const WCHAR * const PVDR_CLASS_SHADOWON = L"Win32_ShadowOn";
  28. const WCHAR * const PVDR_CLASS_VOLUMESUPPORT = L"Win32_ShadowVolumeSupport";
  29. const WCHAR * const PVDR_CLASS_STORAGE = L"Win32_ShadowStorage";
  30. const WCHAR * const PVDR_CLASS_VOLUME = L"Win32_Volume";
  31. const WCHAR * const PVDR_CLASS_WRITER = L"Win32_ShadowWriter";
  32. //
  33. // Methods
  34. //
  35. const WCHAR * const PVDR_MTHD_CREATE = L"Create";
  36. //
  37. // Properties
  38. //
  39. const WCHAR * const PVDR_PROP_ALLOCATEDSPACE = L"AllocatedSpace";
  40. const WCHAR * const PVDR_PROP_CLSID = L"CLSID";
  41. const WCHAR * const PVDR_PROP_CONTEXT = L"Context";
  42. const WCHAR * const PVDR_PROP_COUNT = L"Count";
  43. const WCHAR * const PVDR_PROP_DEVICEOBJECT = L"DeviceObject";
  44. const WCHAR * const PVDR_PROP_DEVICEID = L"DeviceID";
  45. const WCHAR * const PVDR_PROP_DIFFVOLUME = L"DiffVolume";
  46. const WCHAR * const PVDR_PROP_DISPLAYNAME = L"DisplayName";
  47. const WCHAR * const PVDR_PROP_EXPOSEDNAME = L"ExposedName";
  48. const WCHAR * const PVDR_PROP_EXPOSEDPATH = L"ExposedPath";
  49. const WCHAR * const PVDR_PROP_FREESPACE = L"FreeSpace";
  50. const WCHAR * const PVDR_PROP_ID = L"ID";
  51. const WCHAR * const PVDR_PROP_LASTERROR = L"LastError";
  52. const WCHAR * const PVDR_PROP_MAXSPACE = L"MaxSpace";
  53. const WCHAR * const PVDR_PROP_NAME = L"Name";
  54. const WCHAR * const PVDR_PROP_ORIGINATINGMACHINE = L"OriginatingMachine";
  55. const WCHAR * const PVDR_PROP_PROVIDER = L"Provider";
  56. const WCHAR * const PVDR_PROP_PROVIDERID = L"ProviderID";
  57. const WCHAR * const PVDR_PROP_SERVICEMACHINE = L"ServiceMachine";
  58. const WCHAR * const PVDR_PROP_SETID = L"SetID";
  59. const WCHAR * const PVDR_PROP_SHADOW = L"ShadowCopy";
  60. const WCHAR * const PVDR_PROP_SHADOWID = L"ShadowID";
  61. const WCHAR * const PVDR_PROP_STATE = L"State";
  62. const WCHAR * const PVDR_PROP_STORAGE = L"Storage";
  63. const WCHAR * const PVDR_PROP_TIMESTAMP = L"InstallDate";
  64. const WCHAR * const PVDR_PROP_TYPE = L"Type";
  65. const WCHAR * const PVDR_PROP_USEDSPACE = L"UsedSpace";
  66. const WCHAR * const PVDR_PROP_VERSION = L"Version";
  67. const WCHAR * const PVDR_PROP_VERSIONID = L"VersionID";
  68. const WCHAR * const PVDR_PROP_VOLUME = L"Volume";
  69. const WCHAR * const PVDR_PROP_VOLUMENAME = L"VolumeName";
  70. // Shadow Attributes
  71. const WCHAR * const PVDR_PROP_PERSISTENT = L"Persistent";
  72. const WCHAR * const PVDR_PROP_CLIENTACCESSIBLE = L"ClientAccessible";
  73. const WCHAR * const PVDR_PROP_NOAUTORELEASE = L"NoAutoRelease";
  74. const WCHAR * const PVDR_PROP_NOWRITERS = L"NoWriters";
  75. const WCHAR * const PVDR_PROP_TRANSPORTABLE = L"Transportable";
  76. const WCHAR * const PVDR_PROP_NOTSURFACED = L"NotSurfaced";
  77. const WCHAR * const PVDR_PROP_HARDWAREASSISTED = L"HardwareAssisted";
  78. const WCHAR * const PVDR_PROP_DIFFERENTIAL = L"Differential";
  79. const WCHAR * const PVDR_PROP_PLEX = L"Plex";
  80. const WCHAR * const PVDR_PROP_IMPORTED = L"Imported";
  81. const WCHAR * const PVDR_PROP_EXPOSEDREMOTELY = L"ExposedRemotely";
  82. const WCHAR * const PVDR_PROP_EXPOSEDLOCALLY = L"ExposedLocally";
  83. // WBEM Properties
  84. const WCHAR * const PVDR_PROP_RETURNVALUE = L"ReturnValue";
  85. // Shadow Context Names
  86. const WCHAR * const VSS_CTX_NAME_BACKUP = L"Backup";
  87. const WCHAR * const VSS_CTX_NAME_FILESHAREBACKUP = L"FileShareBackup";
  88. const WCHAR * const VSS_CTX_NAME_NASROLLBACK = L"NASRollBack";
  89. const WCHAR * const VSS_CTX_NAME_APPROLLBACK = L"AppRollBack";
  90. const WCHAR * const VSS_CTX_NAME_CLIENTACCESSIBLE = L"ClientAccessible";
  91. const WCHAR * const VSS_CTX_NAME_ALL = L"All";