[PATCH] include: Avoid using parameter names equal to the method names in IDLs.

z.figura12 at gmail.com z.figura12 at gmail.com
Mon Jan 22 07:51:18 CST 2018


On 01/22/2018 02:29 AM, Huw Davies wrote:
> On 19 Jan 2018, at 23:56, Zebediah Figura <z.figura12 at gmail.com> wrote:
>>
>> diff --git a/include/control.idl b/include/control.idl
>> index 529d435..2d32161 100644
>> --- a/include/control.idl
>> +++ b/include/control.idl
>> @@ -122,7 +122,7 @@ library QuartzTypeLib
>>          HRESULT GetMinIdealImageSize( [out] LONG *pWidth, [out] LONG *pHeight );
>>          HRESULT GetMaxIdealImageSize( [out] LONG *pWidth, [out] LONG *pHeight );
>>          HRESULT GetRestorePosition( [out] LONG *pLeft, [out] LONG *pTop, [out] LONG *pWidth, [out] LONG *pHeight );
>> -        HRESULT HideCursor( [in] LONG HideCursor );
>> +        HRESULT HideCursor( [in] LONG hide );
>>          HRESULT IsCursorHidden( [out] LONG *CursorHidden );
>>      }
> 
> This will change the parameter names in the typelib too though.
> Same with the msinkaut.idl changes.
> 
> Huw.
> 

Ah, I didn't realize this was important. I'll send a change to widl 
instead, thanks.



More information about the wine-devel mailing list