forked from Mirrors/wine-wine
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.oldstable
parent
2a0b18dce4
commit
a5cb9c5590
|
@ -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
|
||||||
[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
|
||||||
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
|
||||||
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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue