IPreviousVersionsInfo interface (shobjidl.h)

Exposes a method that checks for previous versions of server files or folders, stored for the purpose of reversion by the shadow copies technology provided with Windows Server 2003.


The IPreviousVersionsInfo interface inherits from the IUnknown interface. IPreviousVersionsInfo also has these types of members:


The IPreviousVersionsInfo interface has these methods.


Queries for the availability of a Windows Server 2003 volume image recorded by the system at an earlier time.


The CLSID, IID, and definition for this interface are shown in the following example.

// {596AB062-B4D2-4215-9F74-E9109B0A8153}
const CLSID CLSID_PreviousVersions = {0x596AB062, 0xB4D2, 0x4215, 
                             {0x9F, 0x74, 0xE9, 0x10, 0x9B, 0x0A, 0x81, 0x53}};

// {76e54780-ad74-48e3-a695-3ba9a0aff10d}
const IID IID_IPreviousVersionsInfo = {0x76E54780, 0xAD74, 0x48E3, 
                             {0xA6, 0x95, 0x3B, 0xA9, 0xA0, 0xAF, 0xF1, 0x0D}};

IPreviousVersionsInfo : public IUnknown
    virtual HRESULT STDMETHODCALLTYPE AreSnapshotsAvailable( 
        /* [string][in] */ LPCWSTR pszPath,
        /* [in] */ BOOL fOkToBeSlow,
        /* [retval][out] */ BOOL *pfAvailable) = 0;

Note that the shadow copies technology does not store entire copies of older versions unless they are deleted; only the changed bits are stored.


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