Source code of Windows XP (NT5)
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.
 
 
 
 
 
 

29 lines
500 B

#ifndef CLASSFAC_H
#define CLASSFAC_H
class CClassFactory : public IClassFactory
{
protected:
LONG m_ObjRefCount;
public:
CClassFactory();
~CClassFactory();
//
// IUnknown methods
//
STDMETHODIMP QueryInterface(REFIID, LPVOID*);
STDMETHODIMP_(DWORD) AddRef();
STDMETHODIMP_(DWORD) Release();
//
// IClassFactory methods
//
STDMETHODIMP CreateInstance(LPUNKNOWN, REFIID, LPVOID*);
STDMETHODIMP LockServer(BOOL);
};
#endif // CLASSFAC_H