From e3774d79af849a150342edb01b797bfa047defc3 Mon Sep 17 00:00:00 2001 From: Robert Shearman Date: Thu, 1 Dec 2005 11:12:18 +0100 Subject: [PATCH] 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. --- dlls/stdole2.tlb/std_ole_v2.idl | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/dlls/stdole2.tlb/std_ole_v2.idl b/dlls/stdole2.tlb/std_ole_v2.idl index d0c91172ff6..e685c6ca73f 100644 --- a/dlls/stdole2.tlb/std_ole_v2.idl +++ b/dlls/stdole2.tlb/std_ole_v2.idl @@ -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) ]