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.

129 lines
4.9 KiB

  1. //////////////////////////////////////////////////////////////////////////////
  2. //
  3. // Copyright (c) 1999-2000 Microsoft Corporation
  4. //
  5. // Module Name:
  6. // Common.h
  7. //
  8. // Description:
  9. // Definition of schema defined strings
  10. //
  11. // Author:
  12. // Jim Benton (jbenton) 15-Oct-2001
  13. //
  14. // Notes:
  15. //
  16. //////////////////////////////////////////////////////////////////////////////
  17. #pragma once
  18. typedef enum _STORAGE_CREATE_ERROR {
  19. VSS_STORAGE_CREATE_RC_NO_ERROR = 0,
  20. VSS_STORAGE_CREATE_RC_ACCESS_DENIED,
  21. VSS_STORAGE_CREATE_RC_INVALID_ARG,
  22. VSS_STORAGE_CREATE_RC_VOLUME_NOT_FOUND,
  23. VSS_STORAGE_CREATE_RC_VOLUME_NOT_SUPPORTED,
  24. VSS_STORAGE_CREATE_RC_OBJECT_ALREADY_EXISTS,
  25. VSS_STORAGE_CREATE_RC_MAXIMUM_NUMBER_OF_DIFFAREA_REACHED,
  26. VSS_STORAGE_CREATE_RC_PROVIDER_VETO,
  27. VSS_STORAGE_CREATE_RC_PROVIDER_NOT_REGISTERED,
  28. VSS_STORAGE_CREATE_RC_UNEXPECTED_PROVIDER_FAILURE,
  29. VSS_STORAGE_CREATE_RC_UNEXPECTED
  30. } STORAGE_CREATE_ERROR, *PSTORAGE_CREATE_ERROR;
  31. typedef enum _SHADOW_CREATE_ERROR {
  32. VSS_SHADOW_CREATE_RC_NO_ERROR = 0,
  33. VSS_SHADOW_CREATE_RC_ACCESS_DENIED,
  34. VSS_SHADOW_CREATE_RC_INVALID_ARG,
  35. VSS_SHADOW_CREATE_RC_VOLUME_NOT_FOUND,
  36. VSS_SHADOW_CREATE_RC_VOLUME_NOT_SUPPORTED,
  37. VSS_SHADOW_CREATE_RC_UNSUPPORTED_CONTEXT,
  38. VSS_SHADOW_CREATE_RC_INSUFFICIENT_STORAGE,
  39. VSS_SHADOW_CREATE_RC_VOLUME_IN_USE,
  40. VSS_SHADOW_CREATE_RC_MAXIMUM_NUMBER_OF_SNAPSHOTS_REACHED,
  41. VSS_SHADOW_CREATE_RC_SHADOW_COPY_IN_PROGRESS,
  42. VSS_SHADOW_CREATE_RC_PROVIDER_VETO,
  43. VSS_SHADOW_CREATE_RC_PROVIDER_NOT_REGISTERED,
  44. VSS_SHADOW_CREATE_RC_UNEXPECTED_PROVIDER_FAILURE,
  45. VSS_SHADOW_CREATE_RC_UNEXPECTED
  46. } SHADOW_CREATE_ERROR, *PSHADOW_CREATE_ERROR;
  47. //
  48. // Class
  49. //
  50. extern const WCHAR * const PVDR_CLASS_DIFFVOLUMESUPPORT;
  51. extern const WCHAR * const PVDR_CLASS_PROVIDER;
  52. extern const WCHAR * const PVDR_CLASS_SHADOW;
  53. extern const WCHAR * const PVDR_CLASS_SHADOWBY;
  54. extern const WCHAR * const PVDR_CLASS_SHADOWFOR;
  55. extern const WCHAR * const PVDR_CLASS_SHADOWON;
  56. extern const WCHAR * const PVDR_CLASS_STORAGE;
  57. extern const WCHAR * const PVDR_CLASS_VOLUME;
  58. extern const WCHAR * const PVDR_CLASS_VOLUMESUPPORT;
  59. extern const WCHAR * const PVDR_CLASS_WRITER;
  60. //
  61. // Methods
  62. //
  63. extern const WCHAR * const PVDR_MTHD_CREATE;
  64. //
  65. // Properties
  66. //
  67. extern const WCHAR * const PVDR_PROP_ALLOCATEDSPACE;
  68. extern const WCHAR * const PVDR_PROP_CLSID;
  69. extern const WCHAR * const PVDR_PROP_CONTEXT;
  70. extern const WCHAR * const PVDR_PROP_COUNT;
  71. extern const WCHAR * const PVDR_PROP_DEVICEID;
  72. extern const WCHAR * const PVDR_PROP_DEVICEOBJECT;
  73. extern const WCHAR * const PVDR_PROP_DIFFVOLUME;
  74. extern const WCHAR * const PVDR_PROP_DISPLAYNAME;
  75. extern const WCHAR * const PVDR_PROP_EXPOSEDNAME;
  76. extern const WCHAR * const PVDR_PROP_EXPOSEDPATH;
  77. extern const WCHAR * const PVDR_PROP_FREESPACE;
  78. extern const WCHAR * const PVDR_PROP_ID;
  79. extern const WCHAR * const PVDR_PROP_LASTERROR;
  80. extern const WCHAR * const PVDR_PROP_MAXSPACE;
  81. extern const WCHAR * const PVDR_PROP_NAME;
  82. extern const WCHAR * const PVDR_PROP_ORIGINATINGMACHINE;
  83. extern const WCHAR * const PVDR_PROP_PROVIDER;
  84. extern const WCHAR * const PVDR_PROP_PROVIDERID;
  85. extern const WCHAR * const PVDR_PROP_SERVICEMACHINE;
  86. extern const WCHAR * const PVDR_PROP_SETID;
  87. extern const WCHAR * const PVDR_PROP_SHADOW;
  88. extern const WCHAR * const PVDR_PROP_SHADOWID;
  89. extern const WCHAR * const PVDR_PROP_STATE;
  90. extern const WCHAR * const PVDR_PROP_STORAGE;
  91. extern const WCHAR * const PVDR_PROP_TIMESTAMP;
  92. extern const WCHAR * const PVDR_PROP_TYPE;
  93. extern const WCHAR * const PVDR_PROP_USEDSPACE;
  94. extern const WCHAR * const PVDR_PROP_VERSION;
  95. extern const WCHAR * const PVDR_PROP_VERSIONID;
  96. extern const WCHAR * const PVDR_PROP_VOLUME;
  97. extern const WCHAR * const PVDR_PROP_VOLUMENAME;
  98. // Shadow Attributes
  99. extern const WCHAR * const PVDR_PROP_PERSISTENT;
  100. extern const WCHAR * const PVDR_PROP_CLIENTACCESSIBLE;
  101. extern const WCHAR * const PVDR_PROP_NOAUTORELEASE;
  102. extern const WCHAR * const PVDR_PROP_NOWRITERS;
  103. extern const WCHAR * const PVDR_PROP_TRANSPORTABLE;
  104. extern const WCHAR * const PVDR_PROP_NOTSURFACED;
  105. extern const WCHAR * const PVDR_PROP_HARDWAREASSISTED;
  106. extern const WCHAR * const PVDR_PROP_DIFFERENTIAL;
  107. extern const WCHAR * const PVDR_PROP_PLEX;
  108. extern const WCHAR * const PVDR_PROP_IMPORTED;
  109. extern const WCHAR * const PVDR_PROP_EXPOSEDREMOTELY;
  110. extern const WCHAR * const PVDR_PROP_EXPOSEDLOCALLY;
  111. // Shadow Context Names
  112. extern const WCHAR * const VSS_CTX_NAME_BACKUP;
  113. extern const WCHAR * const VSS_CTX_NAME_FILESHAREBACKUP;
  114. extern const WCHAR * const VSS_CTX_NAME_NASROLLBACK;
  115. extern const WCHAR * const VSS_CTX_NAME_APPROLLBACK;
  116. extern const WCHAR * const VSS_CTX_NAME_CLIENTACCESSIBLE;
  117. extern const WCHAR * const VSS_CTX_NAME_ALL;