Windows2003-3790/enduser/netmeeting/ulsldap/classfac.h
2020-09-30 16:53:55 +02:00

30 lines
792 B
C++

#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_