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
[in, unique] FORMATETC *pFormatetc,
[in, unique] STGMEDIUM *pStgmed);
[call_as(OnDataChange), async]
[call_as(OnDataChange)]
HRESULT RemoteOnDataChange(
[in] IAsyncManager **ppIAM,
[in, unique] FORMATETC *pFormatetc,
[in, unique] ASYNC_STGMEDIUM *pStgmed);
......@@ -1465,9 +1464,8 @@ interface IAdviseSink : IUnknown
[in] DWORD dwAspect,
[in] LONG lindex);
[call_as(OnViewChange), async]
[call_as(OnViewChange)]
HRESULT RemoteOnViewChange(
[in] IAsyncManager **ppIAM,
[in] DWORD dwAspect,
[in] LONG lindex);
......@@ -1475,17 +1473,15 @@ interface IAdviseSink : IUnknown
void OnRename(
[in] IMoniker *pmk);
[call_as(OnRename), async]
[call_as(OnRename)]
HRESULT RemoteOnRename(
[in] IAsyncManager **ppIAM,
[in] IMoniker *pmk);
[local]
void OnSave();
[call_as(OnSave), async]
HRESULT RemoteOnSave(
[in] IAsyncManager **ppIAM);
[call_as(OnSave)]
HRESULT RemoteOnSave();
[local]
void OnClose();
......@@ -1507,9 +1503,8 @@ interface IAdviseSink2 : IAdviseSink
void OnLinkSrcChange(
[in, unique] IMoniker *pmk);
[call_as(OnLinkSrcChange), async]
[call_as(OnLinkSrcChange)]
HRESULT RemoteOnLinkSrcChange(
[in] IAsyncManager **ppIAM,
[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