wine/dlls/stdole2.tlb std_ole_v2.idl

Alexandre Julliard julliard at wine.codeweavers.com
Thu Dec 1 05:59:11 CST 2005


ChangeSet ID:	21587
CVSROOT:	/opt/cvs-commit
Module name:	wine
Changes by:	julliard at winehq.org	2005/12/01 05:59:11

Modified files:
	dlls/stdole2.tlb: std_ole_v2.idl 

Log message:
	Robert Shearman <rob at codeweavers.com>
	Fix the entry attributes of the two module functions and uncomment
	LoadPicture, but comment out the defaultvalue attribute that causes
	widl to issue a warning.

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

Old revision  New revision  Changes     Path
 1.1           1.2           +4 -6       wine/dlls/stdole2.tlb/std_ole_v2.idl

Index: wine/dlls/stdole2.tlb/std_ole_v2.idl
diff -u -p wine/dlls/stdole2.tlb/std_ole_v2.idl:1.1 wine/dlls/stdole2.tlb/std_ole_v2.idl:1.2
--- wine/dlls/stdole2.tlb/std_ole_v2.idl:1.1	1 Dec 2005 11:59:11 -0000
+++ wine/dlls/stdole2.tlb/std_ole_v2.idl	1 Dec 2005 11:59:11 -0000
@@ -397,21 +397,19 @@ library stdole
      helpcontext(0x2775)
     ]
     module StdFunctions{
-        /* FIXME: widl can't cope with a defaultvalue of an enum parameter yet. */
-        /* 
         [
-         entry(0x60000000),
+         entry("OleLoadPictureFileEx"),
          helpstring("Loads a picture from a file"),
          helpcontext(0x2775)
         ]
         HRESULT LoadPicture([in, optional] VARIANT filename,
                             [in, optional, defaultvalue(0)] int widthDesired,
                             [in, optional, defaultvalue(0)] int heightDesired,
-                            [in, optional, defaultvalue(0)] enum LoadPictureConstants flags,
+                            /* FIXME: widl can't cope with a defaultvalue of an enum parameter yet. */
+                            [in, optional/*, defaultvalue(0)*/] enum LoadPictureConstants flags,
                             [out, retval] IPictureDisp **retval);
-        */
         [
-         entry(0x60000001),
+         entry("OleSavePictureFile"),
          helpstring("Saves a picture to a file"),
          helpcontext(0x2775)
         ]



More information about the wine-cvs mailing list