From 3ac113857071fc1f225b2e1b42547269e568c6b7 Mon Sep 17 00:00:00 2001 From: Thomas Preud'homme Date: Tue, 11 Aug 2020 22:35:12 +0100 Subject: New upstream version 2.2.4.4 --- catchcopy-windows-explorer-plugin/ClassFactory.h | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100755 catchcopy-windows-explorer-plugin/ClassFactory.h (limited to 'catchcopy-windows-explorer-plugin/ClassFactory.h') diff --git a/catchcopy-windows-explorer-plugin/ClassFactory.h b/catchcopy-windows-explorer-plugin/ClassFactory.h new file mode 100755 index 0000000..203ff40 --- /dev/null +++ b/catchcopy-windows-explorer-plugin/ClassFactory.h @@ -0,0 +1,22 @@ +#pragma once + +#include // For IClassFactory +#include + + +class ClassFactory : public IClassFactory +{ +public: + //interface iunknown + virtual HRESULT __stdcall QueryInterface(const IID& iid, void **ppv); + virtual ULONG __stdcall AddRef(); + virtual ULONG __stdcall Release(); + //interface iclassfactory + virtual HRESULT __stdcall CreateInstance(IUnknown *pIUnknownOuter, const IID& iid, void **ppv); + virtual HRESULT __stdcall LockServer(BOOL bLock); + + ClassFactory(); + ~ClassFactory(); +private: + long m_cRef; +}; -- cgit v1.2.3