diff options
author | Adam <you@example.com> | 2020-05-17 05:51:50 +0200 |
---|---|---|
committer | Adam <you@example.com> | 2020-05-17 05:51:50 +0200 |
commit | e611b132f9b8abe35b362e5870b74bce94a1e58e (patch) | |
tree | a5781d2ec0e085eeca33cf350cf878f2efea6fe5 /private/oleutest/simpsvr/icf.h | |
download | NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.gz NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.bz2 NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.lz NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.xz NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.zst NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.zip |
Diffstat (limited to 'private/oleutest/simpsvr/icf.h')
-rw-r--r-- | private/oleutest/simpsvr/icf.h | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/private/oleutest/simpsvr/icf.h b/private/oleutest/simpsvr/icf.h new file mode 100644 index 000000000..302428d8e --- /dev/null +++ b/private/oleutest/simpsvr/icf.h @@ -0,0 +1,46 @@ +//********************************************************************** +// File name: icf.h +// +// Definition of CClassFactory +// +// Copyright (c) 1993 Microsoft Corporation. All rights reserved. +//********************************************************************** + +#if !defined( _ICF_H_) +#define _ICF_H_ + +class CSimpSvrApp; + +interface CClassFactory : IClassFactory +{ +private: + int m_nCount; // reference count + CSimpSvrApp FAR * m_lpApp; + +public: + CClassFactory::CClassFactory(CSimpSvrApp FAR * lpApp) + { + TestDebugOut(TEXT("In CClassFactory's Constructor\r\n")); + m_lpApp = lpApp; + m_nCount = 0; + }; + CClassFactory::~CClassFactory() + { + TestDebugOut(TEXT("In CClassFactory's Destructor\r\n")); + }; + + // IUnknown Methods + + STDMETHODIMP QueryInterface (REFIID riid, LPVOID FAR* ppvObj); + STDMETHODIMP_(ULONG) AddRef (); + STDMETHODIMP_(ULONG) Release (); + + STDMETHODIMP CreateInstance (LPUNKNOWN pUnkOuter, + REFIID riid, + LPVOID FAR* ppvObject); + STDMETHODIMP LockServer ( BOOL fLock); + +}; + +#endif + |