[PATCH v7 1/2] ntoskrnl.exe: Implement ZwLoadDriver and ZwUnloadDriver

Aric Stewart aric at codeweavers.com
Mon Feb 8 07:03:09 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)`
v6: Fix typo of STATUS_SUCESS
v7: Move locking to a second patch

Signed-off-by: Aric Stewart <aric at codeweavers.com>
---
 dlls/ntoskrnl.exe/ntoskrnl.c        | 325 ++++++++++++++++++++++++++++++++++++
 dlls/ntoskrnl.exe/ntoskrnl.exe.spec |   4 +-
 programs/winedevice/device.c        | 243 +--------------------------
 3 files changed, 332 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: 25447 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20160208/449021e7/attachment-0001.bin>


More information about the wine-patches mailing list