[1/9] ntoskrnl.exe: Initialize StackSize field of DEVICE_OBJECT structure.
Alexander Morozov
amorozov at etersoft.ru
Mon Oct 6 02:20:02 CDT 2008
This series of patches adds support of native Windows drivers (.sys) for USB
hardware tokens. See
http://www.winehq.org/pipermail/wine-devel/2008-July/067114.html
-------------- next part --------------
From d86f5da2a4940da7311695a29bf1e28ef5befa67 Mon Sep 17 00:00:00 2001
From: Alexander Morozov <amorozov at etersoft.ru>
Date: Fri, 3 Oct 2008 16:26:25 +0400
Subject: [PATCH] ntoskrnl.exe: Initialize StackSize field of DEVICE_OBJECT structure.
---
dlls/ntoskrnl.exe/ntoskrnl.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/dlls/ntoskrnl.exe/ntoskrnl.c b/dlls/ntoskrnl.exe/ntoskrnl.c
index 123a558..1751233 100644
--- a/dlls/ntoskrnl.exe/ntoskrnl.c
+++ b/dlls/ntoskrnl.exe/ntoskrnl.c
@@ -379,6 +379,7 @@ NTSTATUS WINAPI IoCreateDevice( DRIVER_OBJECT *driver, ULONG ext_size,
device->DriverObject = driver;
device->DeviceExtension = device + 1;
device->DeviceType = type;
+ device->StackSize = 1;
device->Reserved = handle;
device->NextDevice = driver->DeviceObject;
--
1.5.6.5.GIT
More information about the wine-patches
mailing list