summaryrefslogtreecommitdiffstats
path: root/private/oleutest/simpcntr/ias.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/oleutest/simpcntr/ias.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/oleutest/simpcntr/ias.h')
-rw-r--r--private/oleutest/simpcntr/ias.h44
1 files changed, 44 insertions, 0 deletions
diff --git a/private/oleutest/simpcntr/ias.h b/private/oleutest/simpcntr/ias.h
new file mode 100644
index 000000000..cd15e5bb3
--- /dev/null
+++ b/private/oleutest/simpcntr/ias.h
@@ -0,0 +1,44 @@
+//**********************************************************************
+// File name: IAS.H
+//
+// Definition of CAdviseSink
+//
+// Copyright (c) 1992 - 1993 Microsoft Corporation. All rights reserved.
+//**********************************************************************
+#if !defined( _IAS_H_ )
+#define _IAS_H_
+
+#include <assert.h>
+
+class CSimpleSite;
+
+interface CAdviseSink : public IAdviseSink
+{
+ CSimpleSite FAR * m_pSite;
+
+ CAdviseSink(CSimpleSite FAR * pSite)
+ {
+ TestDebugOut(TEXT("In IAS's constructor\r\n"));
+ m_pSite = pSite;
+ };
+
+ ~CAdviseSink()
+ {
+ TestDebugOut(TEXT("In IAS's destructor\r\n"));
+ } ;
+
+ STDMETHODIMP QueryInterface (REFIID riid, LPVOID FAR* ppv);
+ STDMETHODIMP_(ULONG) AddRef ();
+ STDMETHODIMP_(ULONG) Release ();
+
+ // *** IAdviseSink methods ***
+ STDMETHODIMP_(void) OnDataChange (FORMATETC FAR* pFormatetc,
+ STGMEDIUM FAR* pStgmed);
+ STDMETHODIMP_(void) OnViewChange (DWORD dwAspect, LONG lindex);
+ STDMETHODIMP_(void) OnRename (LPMONIKER pmk);
+ STDMETHODIMP_(void) OnSave ();
+ STDMETHODIMP_(void) OnClose ();
+};
+
+
+#endif