IPreviousVersionsInfo interface

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.

Members

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

Methods

The IPreviousVersionsInfo interface has these methods.

MethodDescription
AreSnapshotsAvailable

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

 

Remarks

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}};

MIDL_INTERFACE("76e54780-ad74-48e3-a695-3ba9a0aff10d")
IPreviousVersionsInfo : public IUnknown
{
public:
    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.

Requirements

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Shobjidl.h

IDL

Shobjidl.idl

DLL

Twext.dll (version 5.2 or later)

 

 

Show: