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.
46 lines
1.8 KiB
46 lines
1.8 KiB
#pragma once
|
|
|
|
//--------------------------------------------------------------------------
|
|
// CEnumerateSyncOps
|
|
//--------------------------------------------------------------------------
|
|
class CEnumerateSyncOps : public IUnknown
|
|
{
|
|
public:
|
|
//----------------------------------------------------------------------
|
|
// CEnumerateSyncOps
|
|
//----------------------------------------------------------------------
|
|
CEnumerateSyncOps(void);
|
|
~CEnumerateSyncOps(void);
|
|
|
|
//----------------------------------------------------------------------
|
|
// IUnknown Members
|
|
//----------------------------------------------------------------------
|
|
STDMETHODIMP QueryInterface(REFIID riid, LPVOID *ppv);
|
|
STDMETHODIMP_(ULONG) AddRef(void);
|
|
STDMETHODIMP_(ULONG) Release(void);
|
|
|
|
//----------------------------------------------------------------------
|
|
// CEnumerateSyncOps Members
|
|
//----------------------------------------------------------------------
|
|
HRESULT Initialize(IDatabase *pDB, FOLDERID idServer);
|
|
|
|
//----------------------------------------------------------------------
|
|
// IEnumerateFolders Members
|
|
//----------------------------------------------------------------------
|
|
STDMETHODIMP Next(LPSYNCOPINFO pInfo);
|
|
STDMETHODIMP Count(ULONG *pcItems);
|
|
STDMETHODIMP Reset(void);
|
|
STDMETHODIMP Skip(ULONG cItems);
|
|
|
|
private:
|
|
//----------------------------------------------------------------------
|
|
// Private Data
|
|
//----------------------------------------------------------------------
|
|
LONG m_cRef;
|
|
SYNCOPID *m_pid;
|
|
DWORD m_iid;
|
|
DWORD m_cid;
|
|
DWORD m_cidBuf;
|
|
FOLDERID m_idServer;
|
|
IDatabase *m_pDB;
|
|
};
|