[PATCH 1/2] rpcrt4: Add support for TKIND_INTERFACE, TKIND_DISPATCH, TKIND_COCLASS to write_type_tfs.
Dmitry Timoshkov
dmitry at baikal.ru
Wed Mar 18 23:32:31 CDT 2020
Zebediah Figura <z.figura12 at gmail.com> wrote:
> I did some deeper testing, and I don't think this is correct.
>
> tdescAlias is only set for TKIND_DISPATCH, and it points to VT_DISPATCH
> (presumably because any dispatchable interface doubles as IDispatch
> itself). For TKIND_INTERFACE and TKIND_COCLASS it's clear, and that will
> result in write_pointer_tfs trying to write VT_EMPTY.
>
> Instead, I think we just want to duplicate the contents of
> write_pointer_tfs here, i.e. write "desc" as if it were a pointer. Does
> the attached patch work for you?
Yes, it does. Thank you!
--
Dmitry.
More information about the wine-devel
mailing list