mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 11:43:31 +00:00
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.
This commit is contained in:
parent
55ffe637db
commit
e3774d79af
1 changed files with 4 additions and 6 deletions
|
@ -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)
|
||||
]
|
||||
|
|
Loading…
Reference in a new issue