[PATCH] hlink: implement DllCanUnloadNow()

Paul Bryan Roberts pbronline-wine at yahoo.co.uk
Sun Nov 16 15:40:15 CST 2008


Implementing DllCanUnloadNow() is listed on the Wiki as a janitorial task.

The stub for hlink always returns S_OK, not S_FALSE, which looks plain 
wrong.  The module is quite small so this seemed like a good place to start.

Calls to lock/unlock the module have been added to 
HLinkCF_fnLockServer() but the return code is unchanged.  I can't change 
the return code without providing a conformance test case and I can't 
figure out how to call this particular LockServer method.

I have not provided any conformance tests that call DllCanUnloadNow().  
I can't find a single example of this being tested in the entire 
conformance test suite.

I have run the hlink conformance tests so this patch ought to get past 
the automated Patchwatcher thingamehoojamaflipwingwamdoobry.

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0001-hlink-implement-DllCanUnloadNow.txt
Url: http://www.winehq.org/pipermail/wine-patches/attachments/20081116/5ceadeb6/attachment-0001.txt 


More information about the wine-patches mailing list