[PATCH 1/5] winmm: Improve MCI's Sysinfo command.
eric.pouech at orange.fr
Thu Apr 1 14:37:48 CDT 2010
Joerg-Cyril.Hoehle at t-systems.com a écrit :
> Eric Pouech wrote:
>> did you test the 16 => 32 bit conversion for the MCI_ALL_DEVICE ?
> It's good you asked. Upon closer inspection, MCI_Sysinfo appears to
> behave differently. I'd say it's even a bug in MS that setting
> SYSINFO_PARMS.wDeviceType = MCI_ALL_DEVICE_ID is not recognized! Only
> sendCommand(MCI_ALL_DEVICE_ID, MCI_SYSINFO ...) appears usable to
> obtain the functionality of "sysinfo all ..." :-(
> I'll supersede the patch ASAP.
> Grr, that's not going to simplify the parser.
> Jögr Höhle
SYSINFO_PARMS.wDeviceType = (WORD)(DWORD)MCI_ALL_DEVICE_ID;
work better ?
if yes, I'd be convinced for a bug in native winmm, missing a (WORD) cast somewhere...
"The problem with designing something completely foolproof is to underestimate the ingenuity of a complete idiot." (Douglas Adams)
More information about the wine-devel