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/oleauto/src/dispatch/psfactry.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/oleauto/src/dispatch/psfactry.h')
-rw-r--r-- | private/oleauto/src/dispatch/psfactry.h | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/private/oleauto/src/dispatch/psfactry.h b/private/oleauto/src/dispatch/psfactry.h new file mode 100644 index 000000000..5c4dccf95 --- /dev/null +++ b/private/oleauto/src/dispatch/psfactry.h @@ -0,0 +1,52 @@ +/*** +*psfactry.h +* +* Copyright (C) 1994, Microsoft Corporation. All Rights Reserved. +* Information Contained Herein Is Proprietary and Confidential. +* +*Purpose: +* Definition of automation proxy/stub factory. +* +*Revision History: +* +* [00] 06-Sep-94 erikc: Added header. +* +*Implementation Notes: +* +*****************************************************************************/ +#ifndef _PSFACTRY_H_ +#define _PSFACTRY_H_ + +class FAR COleAutomationPSFactory : public IPSFACTORY +{ +public: + static IPSFACTORY FAR* Create(void); + + // IUnknown Methods + // + STDMETHOD(QueryInterface)(REFIID riid, void FAR* FAR* ppv); + STDMETHOD_(unsigned long, AddRef)(void); + STDMETHOD_(unsigned long, Release)(void); + + // IPSFactory Methods + // + STDMETHOD(CreateProxy)( + IUnknown FAR* punkOuter, + REFIID riid, + IPROXY FAR* FAR* ppproxy, + void FAR* FAR* ppv); + + STDMETHOD(CreateStub)( + REFIID riid, IUnknown FAR* punkServer, ISTUB FAR* FAR* ppstub); + + COleAutomationPSFactory(){ + m_refs = 0; + } + +private: + + unsigned long m_refs; +}; + +#endif // _PSFACTRY_H_ + |