VSS_OBJECT_PROP structure (vss.h)

The VSS_OBJECT_PROP structure defines the properties of a provider, volume, shadow copy, or shadow copy set.

Syntax

typedef struct _VSS_OBJECT_PROP {
  VSS_OBJECT_TYPE  Type;
  VSS_OBJECT_UNION Obj;
} VSS_OBJECT_PROP, *PVSS_OBJECT_PROP;

Members

Type

Object type. Refer to VSS_OBJECT_TYPE.

Obj

Object properties: a union of VSS_SNAPSHOT_PROP and VSS_PROVIDER_PROP structures. (See VSS_OBJECT_UNION.)

It contains information for an object of the type specified by the Type member of the VSS_OBJECT_PROP structure. Objects can be providers, volumes, shadow copies, or shadow copy sets.

Remarks

A requester obtains VSS_OBJECT_PROP structures by using IVssEnumObject::Next to iterate over the list of objects returned by a call to IVssBackupComponents::Query.

As its members are filled by a COM interface, prior to deleting the property structures VSS_SNAPSHOT_PROP and VSS_PROVIDER_PROP, the memory they contain must be released by calling CoTaskMemFree for every string and byte array value contained in each structure.

In the case of VSS_SNAPSHOT_PROP, this can be done manually, or the utility function VssFreeSnapshotProperties can be used.

Requirements

Requirement Value
Minimum supported client Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Header vss.h

See also

VSS_OBJECT_TYPE

VSS_OBJECT_UNION

VSS_PROVIDER_PROP

VSS_SNAPSHOT_PROP