[Wine-patches] [eterhack 1/3] ntoskrnl.exe: UPKey.sys handle IOCTL 0x222060 also.

Alexander Morozov =?iso-8859-1?q?amorozov_=CE=C1_etersoft=2Eru?=
Пт Май 29 18:24:13 MSD 2009


http://bugs.etersoft.ru/show_bug.cgi?id=2887
----------- следующая часть -----------
From 0338ef71abb54607a89e99cfb21a1f6921a76091 Mon Sep 17 00:00:00 2001
From: Alexander Morozov <amorozov на etersoft.ru>
Date: Fri, 29 May 2009 17:25:09 +0400
Subject: [eterhack 1/3] ntoskrnl.exe: UPKey.sys handle IOCTL 0x222060 also.

---
 dlls/ntoskrnl.exe/ntoskrnl.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/ntoskrnl.exe/ntoskrnl.c b/dlls/ntoskrnl.exe/ntoskrnl.c
index 11994f4..a05f419 100644
--- a/dlls/ntoskrnl.exe/ntoskrnl.c
+++ b/dlls/ntoskrnl.exe/ntoskrnl.c
@@ -524,7 +524,7 @@ static NTSTATUS process_ioctl( DEVICE_OBJECT *device, ULONG code, void *in_buff,
 
     /* HACK for UPKey.sys */
     if (0x3fc == code) offset = 2;
-    if (0x222044 == code || 0x44c == code || 0x456 == code) offset = 8;
+    if (0x222044 == code || 0x222060 == code || 0x44c == code || 0x456 == code) offset = 8;
     if (offset && in_buff)
     {
         saved_ptr = *(void**)((char *)in_buff + offset);
-- 
1.6.3.1



Подробная информация о списке рассылки Wine-patches