|
/////////////////////////////////////////////////////////////////////////////
#ifndef __DMOSINK_H__
#define __DMOSINK_H__
#if defined( _MSC_VER ) && ( _MSC_VER >= 1020 )
#pragma once
#endif
/////////////////////////////////////////////////////////////////////////////
_COM_SMARTPTR_TYPEDEF( IConnectionPointContainer, __uuidof( IConnectionPointContainer ) );
_COM_SMARTPTR_TYPEDEF( IConnectionPoint, __uuidof( IConnectionPoint ) );
/////////////////////////////////////////////////////////////////////////////
class IBackupSink : public ISQLDMOBackupSink
{
public:
IBackupSink( IN HWND hWndNotify );
public: // IUnknown implementation
STDMETHOD( QueryInterface )( IN REFIID riid, IN OUT LPVOID* ppvObj );
STDMETHOD_( ULONG, AddRef )( void );
STDMETHOD_( ULONG, Release )( void );
public: // ISQLDMOBackupSink implementation
STDMETHOD( PercentComplete )( IN SQLDMO_LPCSTR bstrMessage, IN LONG lPercent );
STDMETHOD( NextMedia )( IN SQLDMO_LPCSTR bstrMessage );
STDMETHOD( Complete )( IN SQLDMO_LPCSTR bstrMessage );
public:
DECLARE_WNDMSG( SQLDMO_BACKUPPERCCOMPLETE );
DECLARE_WNDMSG( SQLDMO_BACKUPCOMPLETE );
DECLARE_WNDMSG( SQLDMO_BACKUPNEXTMEDIA );
protected:
ULONG m_ulRef;
HWND m_hWndNotify;
};
/////////////////////////////////////////////////////////////////////////////
#endif // __DMOSINK_H__
/////////////////////////////////////////////////////////////////////////////
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.