windows-nt/Source/XPSP1/NT/enduser/netmeeting/ulsldap/classfac.h
2020-09-26 16:20:57 +08:00

30 lines
763 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_