windows-nt/Source/XPSP1/NT/shell/cpls/plus/old_src/clssfact.h

35 lines
887 B
C
Raw Normal View History

2020-09-26 03:20:57 -05:00
//--------------------------------------------------------------------------------
//
// 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_