Commit a5cb9c55 authored by Robert Shearman's avatar Robert Shearman Committed by Alexandre Julliard

Make IAdviseSink methods non-async and remove the IAsyncManager

parameter hack that native COM used to use (but not any more). Async calls are an optimisation that we're not going to support in the near future.
parent 2a0b18dc
...@@ -1454,9 +1454,8 @@ interface IAdviseSink : IUnknown ...@@ -1454,9 +1454,8 @@ interface IAdviseSink : IUnknown
[in, unique] FORMATETC *pFormatetc, [in, unique] FORMATETC *pFormatetc,
[in, unique] STGMEDIUM *pStgmed); [in, unique] STGMEDIUM *pStgmed);
[call_as(OnDataChange), async] [call_as(OnDataChange)]
HRESULT RemoteOnDataChange( HRESULT RemoteOnDataChange(
[in] IAsyncManager **ppIAM,
[in, unique] FORMATETC *pFormatetc, [in, unique] FORMATETC *pFormatetc,
[in, unique] ASYNC_STGMEDIUM *pStgmed); [in, unique] ASYNC_STGMEDIUM *pStgmed);
...@@ -1465,9 +1464,8 @@ interface IAdviseSink : IUnknown ...@@ -1465,9 +1464,8 @@ interface IAdviseSink : IUnknown
[in] DWORD dwAspect, [in] DWORD dwAspect,
[in] LONG lindex); [in] LONG lindex);
[call_as(OnViewChange), async] [call_as(OnViewChange)]
HRESULT RemoteOnViewChange( HRESULT RemoteOnViewChange(
[in] IAsyncManager **ppIAM,
[in] DWORD dwAspect, [in] DWORD dwAspect,
[in] LONG lindex); [in] LONG lindex);
...@@ -1475,17 +1473,15 @@ interface IAdviseSink : IUnknown ...@@ -1475,17 +1473,15 @@ interface IAdviseSink : IUnknown
void OnRename( void OnRename(
[in] IMoniker *pmk); [in] IMoniker *pmk);
[call_as(OnRename), async] [call_as(OnRename)]
HRESULT RemoteOnRename( HRESULT RemoteOnRename(
[in] IAsyncManager **ppIAM,
[in] IMoniker *pmk); [in] IMoniker *pmk);
[local] [local]
void OnSave(); void OnSave();
[call_as(OnSave), async] [call_as(OnSave)]
HRESULT RemoteOnSave( HRESULT RemoteOnSave();
[in] IAsyncManager **ppIAM);
[local] [local]
void OnClose(); void OnClose();
...@@ -1507,9 +1503,8 @@ interface IAdviseSink2 : IAdviseSink ...@@ -1507,9 +1503,8 @@ interface IAdviseSink2 : IAdviseSink
void OnLinkSrcChange( void OnLinkSrcChange(
[in, unique] IMoniker *pmk); [in, unique] IMoniker *pmk);
[call_as(OnLinkSrcChange), async] [call_as(OnLinkSrcChange)]
HRESULT RemoteOnLinkSrcChange( HRESULT RemoteOnLinkSrcChange(
[in] IAsyncManager **ppIAM,
[in, unique] IMoniker *pmk); [in, unique] IMoniker *pmk);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment