ole32: Fix dwClsContext parameter of a CoCreateInstance call in DefaultHandler_Run. (try 2)

Austin English austinenglish at gmail.com
Tue Oct 9 12:30:07 CDT 2012


On Tue, Oct 9, 2012 at 4:27 AM, Roman Dadkov <romand at etersoft.ru> wrote:
> This patch change dwClsContext parameter of a CoCreateInstance call in
> function DefaultHandler_Run.
> Because even if there is some clsid in the registry, the function will not
> be able to run the newly created object.
> Unfortunately, the test for this case can't be added to Wine, because it
> leads a crash.

You could put the test inside if(0), so that it's still documented,
see, for example, dlls/ole32/tests/stg_prop.c or
dlls/user32/tests/input.c.

Cheers,
Austin



More information about the wine-devel mailing list