[2/3] winedevice: call DllInitialize on a driver's imported DLLs

Damjan Jovanovic damjan.jov at gmail.com
Sun Jul 10 05:18:31 CDT 2011


Changelog:
* winedevice: call DllInitialize on a driver's imported DLLs

DllInitialize() and DllUnload() are standard optional functions in a
kernel-mode DLL that get called when it's loaded and unloaded. See
http://www.wd-3.com/archive/KernelDlls.htm

Tests on Windows show the order of invocation is:
import's DllInitialize()
driver's DriverEntry()
driver's DriverUnload()
import's DllUnload()

Damjan Jovanovic
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-winedevice-call-DllInitialize-on-a-driver-s-imported.patch
Type: text/x-patch
Size: 2376 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20110710/3bcb0a7a/attachment.bin>


More information about the wine-patches mailing list