VSS_VOLUME_PROTECTION_INFO structure (vsmgmt.h)

Contains information about a volume's shadow copy protection level.

Syntax

typedef struct _VSS_VOLUME_PROTECTION_INFO {
  VSS_PROTECTION_LEVEL m_protectionLevel;
  BOOL                 m_volumeIsOfflineForProtection;
  VSS_PROTECTION_FAULT m_protectionFault;
  LONG                 m_failureStatus;
  BOOL                 m_volumeHasUnusedDiffArea;
  DWORD                m_reserved;
} VSS_VOLUME_PROTECTION_INFO, *PVSS_VOLUME_PROTECTION_INFO;

Members

m_protectionLevel

A value from the VSS_PROTECTION_LEVEL enumeration that specifies the target protection level for the volume.

m_volumeIsOfflineForProtection

TRUE if the volume is offline due to a protection fault, or FALSE otherwise.

m_protectionFault

A value from the VSS_PROTECTION_FAULT enumeration that describes the shadow copy protection fault that caused the volume to go offline.

m_failureStatus

The internal failure status code.

m_volumeHasUnusedDiffArea

TRUE if the volume has unused shadow copy storage area files, or FALSE otherwise.

m_reserved

Reserved for system use.

Requirements

Requirement Value
Minimum supported client Windows Vista with SP1 [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Header vsmgmt.h

See also

IVssDifferentialSoftwareSnapshotMgmt3