summaryrefslogtreecommitdiffstats
path: root/private/oleauto/src/dispatch/psfactry.h
diff options
context:
space:
mode:
authorAdam <you@example.com>2020-05-17 05:51:50 +0200
committerAdam <you@example.com>2020-05-17 05:51:50 +0200
commite611b132f9b8abe35b362e5870b74bce94a1e58e (patch)
treea5781d2ec0e085eeca33cf350cf878f2efea6fe5 /private/oleauto/src/dispatch/psfactry.h
downloadNT4.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.h52
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_
+