_VSS_HARDWARE_OPTIONS enumeration
Applies to: desktop apps only
Defines shadow copy LUN flags.
Syntax
typedef enum _VSS_HARDWARE_OPTIONS {
VSS_BREAKEX_FLAG_MASK_LUNS = 0x00000001,
VSS_BREAKEX_FLAG_MAKE_READ_WRITE = 0x00000002,
VSS_BREAKEX_FLAG_REVERT_IDENTITY_ALL = 0x00000004,
VSS_BREAKEX_FLAG_REVERT_IDENTITY_NONE = 0x00000008,
VSS_ONLUNSTATECHANGE_NOTIFY_READ_WRITE = 0x00000100,
VSS_ONLUNSTATECHANGE_NOTIFY_LUN_PRE_RECOVERY = 0x00000200,
VSS_ONLUNSTATECHANGE_NOTIFY_LUN_POST_RECOVERY = 0x00000400,
VSS_ONLUNSTATECHANGE_DO_MASK_LUNS = 0x00000800
} VSS_HARDWARE_OPTIONS, *PVSS_HARDWARE_OPTIONS;
Constants
- VSS_BREAKEX_FLAG_MASK_LUNS
-
The shadow copy LUN will be masked from the host.
- VSS_BREAKEX_FLAG_MAKE_READ_WRITE
-
The shadow copy LUN will be exposed to the host as a read-write volume.
- VSS_BREAKEX_FLAG_REVERT_IDENTITY_ALL
-
The disk identifiers of all of the shadow copy LUNs will be reverted to that of the original LUNs. However, if any of the original LUNs are present on the system, the operation will fail and none of the identifiers will be reverted.
- VSS_BREAKEX_FLAG_REVERT_IDENTITY_NONE
-
None of the disk identifiers of the shadow copy LUNs will be reverted.
- VSS_ONLUNSTATECHANGE_NOTIFY_READ_WRITE
-
The shadow copy LUNs will be converted permanently to read-write. This flag is set only as a notification for the provider; no provider action is required. For more information, see the IVssHardwareSnapshotProviderEx::OnLunStateChange method.
- VSS_ONLUNSTATECHANGE_NOTIFY_LUN_PRE_RECOVERY
-
The shadow copy LUNs will be converted temporarily to read-write and are about to undergo TxF recovery or VSS auto-recovery. This flag is set only as a notification for the provider; no provider action is required. For more information, see the IVssHardwareSnapshotProviderEx::OnLunStateChange method.
- VSS_ONLUNSTATECHANGE_NOTIFY_LUN_POST_RECOVERY
-
The shadow copy LUNs have just undergone TxF recovery or VSS auto-recovery and have been converted back to read-only. This flag is set only as a notification for the provider; no provider action is required. For more information, see the IVssHardwareSnapshotProviderEx::OnLunStateChange method.
- VSS_ONLUNSTATECHANGE_DO_MASK_LUNS
-
The provider must mask shadow copy LUNs from this computer. For more information, see the IVssHardwareSnapshotProviderEx::OnLunStateChange method.
Requirements
|
Minimum supported client | Windows Vista with SP1 |
|---|---|
|
Minimum supported server | Windows Server 2008 |
|
Header |
|
See also
Send comments about this topic to Microsoft
Build date: 2/3/2012