summaryrefslogtreecommitdiffstats
path: root/private/oleutest/balls/common/cfballs.hxx
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/oleutest/balls/common/cfballs.hxx
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/oleutest/balls/common/cfballs.hxx')
-rw-r--r--private/oleutest/balls/common/cfballs.hxx38
1 files changed, 38 insertions, 0 deletions
diff --git a/private/oleutest/balls/common/cfballs.hxx b/private/oleutest/balls/common/cfballs.hxx
new file mode 100644
index 000000000..0b8705ad0
--- /dev/null
+++ b/private/oleutest/balls/common/cfballs.hxx
@@ -0,0 +1,38 @@
+
+
+
+class CFactory : public IClassFactory
+{
+public:
+
+ CFactory(REFCLSID rclsid, BOOL fServer);
+
+ ~CFactory(void);
+
+ // IUnknown
+ STDMETHOD(QueryInterface)(REFIID iid, void **ppv);
+
+ STDMETHOD_(ULONG, AddRef)(void);
+
+ STDMETHOD_(ULONG, Release)(void);
+
+
+ // IClassFactory
+ STDMETHOD(CreateInstance)(
+ IUnknown FAR* pUnkOuter,
+ REFIID riid,
+ LPVOID FAR* ppunkObject);
+
+ STDMETHOD(LockServer)(BOOL fLock);
+
+private:
+
+
+ BOOL _fServer;
+
+ CLSID _clsid;
+
+ LONG _cRefs;
+
+ LONG _cLocks;
+};