[PATCH v5] ntoskrnl.exe: Implement ZwLoadDriver and ZwUnloadDriver

Aric Stewart aric at codeweavers.com
Sun Jan 24 10:24:46 CST 2016


Code is mostly moved from winedevice.exe
winedevice.exe now uses these functions
v3: No longer use advapi32 Registry functions
v4: Fix FALSE return code (thanks to Huw Davies for spotting this one)
    Remove WINE_ from debuging macros
v5: Locking and other suggestions from Sebastian Lackner
    Correct return code type check in winedevice (thanks Nikolay Sivov)`

Signed-off-by: Aric Stewart <aric at codeweavers.com>
---
 dlls/ntoskrnl.exe/ntoskrnl.c        | 343 ++++++++++++++++++++++++++++++++++++
 dlls/ntoskrnl.exe/ntoskrnl.exe.spec |   4 +-
 programs/winedevice/device.c        | 243 +------------------------
 3 files changed, 350 insertions(+), 240 deletions(-)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-ntoskrnl.exe-Implement-ZwLoadDriver-and-ZwUnloadDriver.txt
Type: text/x-patch
Size: 26285 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20160124/abf01385/attachment-0001.bin>


More information about the wine-patches mailing list