windows-nt/Source/XPSP1/NT/enduser/netmeeting/ulsldap/classfac.h

30 lines
763 B
C
Raw Normal View History

2020-09-26 03:20:57 -05:00
#ifndef _CLASSFAC_H_
#define _CLASSFAC_H_
//****************************************************************************
// CClassFactory definition
//****************************************************************************
//
class CClassFactory : public IClassFactory
{
private:
ULONG cRef;
public:
// Constructor
CClassFactory(void);
// IUnknown
STDMETHODIMP QueryInterface (REFIID iid, void **ppv);
STDMETHODIMP_(ULONG) AddRef (void);
STDMETHODIMP_(ULONG) Release (void);
// IClassFactory
STDMETHODIMP CreateInstance (LPUNKNOWN punkOuter, REFIID iid, void **ppv);
STDMETHODIMP LockServer (BOOL fLock);
};
extern CClassFactory* g_pClassFactory;
#endif // ! _CLASSFAC_H_