home *** CD-ROM | disk | FTP | other *** search
- /*
- * IFT_DLL.h
- * $Header: /bcsample/IFACEDLL/IFT_DLL.H 1 5/28/96 1:12p Dave $
- *
- * Description:
- * Declaration of the class factory for the IFACEDLL server.
- *
- * Notes:
- * <implementation notes go here>
- *
- ***********************************************************************
- *
- * NuMega Technologies, Inc.
- * P.O. Box 7780
- * Nashua, NH 03060
- *
- * (c) Copyright 1994, 1995, 1996 NuMega Technologies, Inc.
- * ALL RIGHTS RESERVED.
- *
- ***********************************************************************
- *
- **********************************************************************/
-
-
- #ifndef IFT_DLL_H
- #define IFT_DLL_H
-
- BOOL MakeRegEntry ( LPCTSTR szKey ,
- LPCTSTR szEntryKey ,
- LPCTSTR szEntryVal ) ;
-
- // This class creates the Interface Test Objects.
- class CIFaceTestClassFactory : public IClassFactory
- {
- protected :
- // This holds the reference count for the DLL.
- ULONG m_nRef ;
-
- public :
- // The class factory constructor.
- CIFaceTestClassFactory ( void ) ;
- // The class factory destructor.
- ~CIFaceTestClassFactory ( void ) ;
-
- // Standard IUnknown members
- STDMETHODIMP QueryInterface ( REFIID , PPVOID ) ;
- STDMETHODIMP_( ULONG ) AddRef ( void ) ;
- STDMETHODIMP_( ULONG ) Release ( void ) ;
-
- // Standard IClassFactory members
- STDMETHODIMP CreateInstance ( LPUNKNOWN , REFIID , PPVOID ) ;
- STDMETHODIMP LockServer ( BOOL ) ;
- } ;
-
- typedef CIFaceTestClassFactory * PCIFaceTestClassFactory ;
-
- #endif // IFT_DLL_H
-
-
-