wine/include objidl.idl

Alexandre Julliard julliard at wine.codeweavers.com
Tue Nov 29 05:05:54 CST 2005


ChangeSet ID:	21527
CVSROOT:	/opt/cvs-commit
Module name:	wine
Changes by:	julliard at winehq.org	2005/11/29 05:05:54

Modified files:
	include        : objidl.idl 

Log message:
	Robert Shearman <rob at codeweavers.com>
	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.

Patch: http://cvs.winehq.org/patch.py?id=21527

Old revision  New revision  Changes     Path
 1.12          1.13          +6 -11      wine/include/objidl.idl

Index: wine/include/objidl.idl
diff -u -p wine/include/objidl.idl:1.12 wine/include/objidl.idl:1.13
--- wine/include/objidl.idl:1.12	29 Nov 2005 11: 5:54 -0000
+++ wine/include/objidl.idl	29 Nov 2005 11: 5:54 -0000
@@ -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);
 }
 



More information about the wine-cvs mailing list