On Mon, Mar 28, 2022 at 1:13 AM Nikolay Sivov nsivov@codeweavers.com wrote:
There is a lot of duplication you don't need. You can first dereference a variant if needed, and then use same path for both plain variant and variant reference. Similar for BSTR references.
Not sure if you also meant to dereference the BSTR, but it's a different member of the structure and I don't know how to do that.
-- Kind regards, Mohamad