[PATCH v2 2/8] dllhost: Add ISurrogate stub implementation.

Dmitry Timoshkov dmitry at baikal.ru
Thu Feb 24 09:22:45 CST 2022


Hi Huw,

Dmitry Timoshkov <dmitry at baikal.ru> wrote:

> > CoRegisterSurrogate() is currently a stub.  Do we know what this
> > is supposed to do?
> 
> I'd guess that the stored ISurrogate pointer is used from inside of
> CoFreeUnusedLibraries() to call ISurrogate::FreeSurrogate(). This part
> still needs to be investigated and implemented.

Attached patch (on top of the previosuly sent series) follows
https://docs.microsoft.com/en-us/windows/win32/api/objidl/nf-objidl-isurrogate-freesurrogate
and relies on DllCanUnloadNow() being properly implemented in the DLL servers.
If it looks good I'll send it later for considering once main patch set
is accepted.

-- 
Dmitry.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0009-combase-Call-ISurrogate-FreeSurrogate-if-the-list-of.patch
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20220224/cf60522c/attachment.ksh>


More information about the wine-devel mailing list