windows-nt/Source/XPSP1/NT/shell/cpls/plus/old_src/clssfact.h
2020-09-26 16:20:57 +08:00

35 lines
887 B
C++

//--------------------------------------------------------------------------------
//
// File: CLSSFACT.H
//
// Defines the CClassFactory object.
//
//--------------------------------------------------------------------------------
#ifndef _CLSSFACT_H_
#define _CLSSFACT_H_
void FAR PASCAL ObjectDestroyed();
//This class factory object creates CPropSheetExt objects.
class CClassFactory : public IClassFactory
{
protected:
ULONG m_cRef;
public:
CClassFactory();
~CClassFactory();
//IUnknown members
STDMETHODIMP QueryInterface( REFIID, LPVOID* );
STDMETHODIMP_(ULONG) AddRef();
STDMETHODIMP_(ULONG) Release();
//IClassFactory members
STDMETHODIMP CreateInstance( LPUNKNOWN, REFIID, LPVOID* );
STDMETHODIMP LockServer( BOOL );
};
#endif //_CLSSFACT_H_