ole32/tests: Add test for IDispatch interface in IOleObject_QueryInterface.

Alistair Leslie-Hughes leslie_alistair at hotmail.com
Sat Feb 9 17:02:12 CST 2013


On 9/02/2013 2:08 AM, Roman Dadkov wrote:
> This test is necessary to show that the function
> IOleObject_QueryInterface does not have enough processing IID_IDispatch,
> but it works for Windose. Therefore, the creation of some objects in a
> variety of applications leads to crash.
> +    hr = IOleObject_QueryInterface(ole_obj, &IID_IDispatch, (void**)&dispatch);
> +    todo_wine
> +    ok(hr == S_OK, "got %08x\n", hr); >
The IDispatch Interface should be released.

Best Regards
  Alistair Leslie-Hughes



More information about the wine-devel mailing list