Inconsistent argument type declaration in dinput.h: WriteEffectToFile()

Elias Vanderstuyft elias.vds at gmail.com
Tue Sep 22 14:32:12 CDT 2015


On Mon, Sep 21, 2015 at 11:06 PM, Marcus Meissner <marcus at jet.franken.de> wrote:
> On Mon, Sep 21, 2015 at 10:15:32PM +0200, Elias Vanderstuyft wrote:
>> Hi everyone,
>>
>> The docs of IDirectInputDevice8::WriteEffectToFile() declare the third
>> argument as
>> LPCDIFILEEFFECT rgDiFileEft:
>> https://msdn.microsoft.com/en-us/library/windows/desktop/microsoft.directx_sdk.idirectinputdevice8.idirectinputdevice8.writeeffecttofile%28v=vs.85%29.aspx
>> This is inconsistent with Microsoft's "dinput.h" file, they declare it as
>> LPDIFILEEFFECT (thus, no "const"):
>> ftp://sccn.ucsd.edu/pub/LSL/lsl-dependencies/external_libs/EmbarcaderoXE/shared/4.4.0-msvc/include/dinput.h
>> Wine's "dinput.h" follows the same mistake as Microsoft's:
>> https://github.com/wine-mirror/wine/blob/master/include/dinput.h#L1866
>>
>> Is there a particular reason for this?
>
> No, it was probably missed.
>
> I am sending a patch.

Thanks, I suppose a patch to Wine?
And leave Microsoft unnotified?

Thanks,
Elias



More information about the wine-devel mailing list