1 // XMergeFactory.h: interface for the CXMergeFactory class.
3 //////////////////////////////////////////////////////////////////////
5 #if !defined(AFX_XMERGEFACTORY_H__3150043C_57FB_4BC8_9104_379506FA6B9F__INCLUDED_)
6 #define AFX_XMERGEFACTORY_H__3150043C_57FB_4BC8_9104_379506FA6B9F__INCLUDED_
10 #endif // _MSC_VER > 1000
13 class CXMergeFactory
: public IClassFactory
17 virtual ~CXMergeFactory() {};
20 CXMergeFactory() : m_cRef(1) {}; // Set reference count when first created
23 /********** IUnknown methods **********/
24 STDMETHODIMP
QueryInterface(REFIID riid
, void **ppvObject
);
25 STDMETHODIMP_(ULONG
) AddRef(void);
26 STDMETHODIMP_(ULONG
) Release();
29 /********** IUnknown methods **********/
30 STDMETHODIMP
CreateInstance(IUnknown
* pUnkOuter
, REFIID riid
, void **ppvObject
);
31 STDMETHODIMP
LockServer(BOOL fLock
);
34 #endif // !defined(AFX_XMERGEFACTORY_H__3150043C_57FB_4BC8_9104_379506FA6B9F__INCLUDED_)