mirror of https://github.com/tongzx/nt5src
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.
36 lines
796 B
36 lines
796 B
//--------------------------------------------------------------------------------
|
|
//
|
|
// File: CLSSFACT.H
|
|
//
|
|
// Defines the CClassFactory object.
|
|
//
|
|
//--------------------------------------------------------------------------------
|
|
|
|
#ifndef _CLSSFACT_H_
|
|
#define _CLSSFACT_H_
|
|
|
|
#include "propsext.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_
|