VssFreeSnapshotProperties function (vsbackup.h)

The VssFreeSnapshotProperties function is used to free the contents of a VSS_SNAPSHOT_PROP structure as part of managing its life cycle. The VSS_SNAPSHOT_PROP structure is typically obtained by using the IVssBackupComponents::GetSnapshotProperties method or the IVssSoftwareSnapshotProvider::GetSnapshotProperties method.

This function can also be used to initialize a VSS_SNAPSHOT_PROP structure before use or before freeing the structure.

Note  This function is exported as VssFreeSnapshotPropertiesInternal, but you should call VssFreeSnapshotProperties, not VssFreeSnapshotPropertiesInternal.
 

Syntax

void VssFreeSnapshotProperties(
  [in] VSS_SNAPSHOT_PROP *pProp
);

Parameters

[in] pProp

Pointer to a valid VSS_SNAPSHOT_PROP object.

Return value

None

Requirements

Requirement Value
Minimum supported client Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header vsbackup.h (include VsBackup.h, Vss.h, VsWriter.h)
Library VssApi.lib
DLL VssApi.dll

See also

IVssBackupComponents::GetSnapshotProperties

IVssSoftwareSnapshotProvider::GetSnapshotProperties

VSS_SNAPSHOT_PROP