http://bugs.winehq.org/show_bug.cgi?id=20991
Summary: EnumRfc1766_create return values Product: Wine Version: 1.1.34 Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: mlang AssignedTo: wine-bugs@winehq.org ReportedBy: grschneider@gmail.com
EnumRfc1766_create is supposed to return HRESULT values, but returns FALSE in one case (dlls/mlang/mlang.c:2517) - this should be changed to S_FALSE I guess.
On the other hand the return values of the function are evaluated with the FAILED macro (see mlang.c:1250) and S_FALSE does not count as failed - so probably both unsuccessful returns (lines 2504 and 2517) should be E_FAIL?