Leaked source code of windows server 2003
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
/*++
Copyright (c) 1999 Microsoft Corporation
Abstract:
@doc @module psub.h | Declaration of the permanent subscriber @end
Author:
Adi Oltean [aoltean] 08/18/1999
TBD: Add comments.
Revision History:
Name Date Comments aoltean 08/18/1999 Created mikejohn 09/18/2000 176860: Added calling convention methods where missing
--*/
#ifndef __VSS_PSUB_WRITER_H_
#define __VSS_PSUB_WRITER_H_
#ifdef _DEBUG
#define _ATL_DEBUG_INTERFACES
#define _ATL_DEBUG_QI
#define _ATL_DEBUG_REFCOUNT
#endif // _DEBUG
/////////////////////////////////////////////////////////////////////////////
// globals
extern GUID CLSID_PSub;
/////////////////////////////////////////////////////////////////////////////
// CVssWriter
class CVssPSubWriter : public CComCoClass<CVssPSubWriter, &CLSID_PSub>, public CVssWriter {
// Constructors and destructors
public: CVssPSubWriter();
// ATL stuff
public:
DECLARE_REGISTRY_RESOURCEID(IDR_VSS_PSUB)
// Ovverides
public:
virtual bool STDMETHODCALLTYPE OnPrepareSnapshot();
virtual bool STDMETHODCALLTYPE OnFreeze();
virtual bool STDMETHODCALLTYPE OnThaw();
virtual bool STDMETHODCALLTYPE OnAbort();
};
#endif //__VSS_PSUB_WRITER_H_
|