kernel32: NT drivers can handle IOCTL codes with HIWORD == 0.
Alexander Morozov
amorozov at etersoft.ru
Thu Nov 13 04:22:25 CST 2008
Some NT drivers use IOCTL codes like 0x3fc.
-------------- next part --------------
From cfa7aafaedc4c701e9291a5e2f7d98f689715e2f Mon Sep 17 00:00:00 2001
From: Alexander Morozov <amorozov at etersoft.ru>
Date: Thu, 13 Nov 2008 13:15:10 +0300
Subject: [PATCH] kernel32: NT drivers can handle IOCTLs with HIWORD == 0.
---
dlls/kernel32/vxd.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/dlls/kernel32/vxd.c b/dlls/kernel32/vxd.c
index 9227bad..e5a5df5 100644
--- a/dlls/kernel32/vxd.c
+++ b/dlls/kernel32/vxd.c
@@ -344,7 +344,6 @@ BOOL WINAPI DeviceIoControl(HANDLE hDevice, DWORD dwIoControlCode,
DeviceIoProc proc = get_vxd_proc( hDevice );
if (proc) return proc( dwIoControlCode, lpvInBuffer, cbInBuffer,
lpvOutBuffer, cbOutBuffer, lpcbBytesReturned, lpOverlapped );
- return FALSE;
}
/* Not a VxD, let ntdll handle it */
--
1.5.6.5.GIT
More information about the wine-patches
mailing list