http://bugs.winehq.org/show_bug.cgi?id=15551
Alexander Morozov amorozov@etersoft.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |amorozov@etersoft.ru
--- Comment #2 from Alexander Morozov amorozov@etersoft.ru 2008-10-08 07:25:34 --- Please, show log with WINEDEBUG=+ntoskrnl Also you can try
diff --git a/dlls/ntoskrnl.exe/ntoskrnl.c b/dlls/ntoskrnl.exe/ntoskrnl.c index 9af2f16..a3fcca2 100644 --- a/dlls/ntoskrnl.exe/ntoskrnl.c +++ b/dlls/ntoskrnl.exe/ntoskrnl.c @@ -145,7 +145,6 @@ static NTSTATUS process_ioctl( DEVICE_OBJECT *device, ULONG code, void *in_buff,
/* so we can spot things that we should initialize */ memset( &irp, 0x55, sizeof(irp) ); - memset( &irpsp, 0x66, sizeof(irpsp) ); memset( &mdl, 0x77, sizeof(mdl) );
irp.RequestorMode = UserMode;
or
diff --git a/dlls/ntoskrnl.exe/ntoskrnl.c b/dlls/ntoskrnl.exe/ntoskrnl.c index 9af2f16..fc43820 100644 --- a/dlls/ntoskrnl.exe/ntoskrnl.c +++ b/dlls/ntoskrnl.exe/ntoskrnl.c @@ -160,6 +160,7 @@ static NTSTATUS process_ioctl( DEVICE_OBJECT *device, ULONG code, void *in_buff, irpsp.Parameters.DeviceIoControl.IoControlCode = code; irpsp.Parameters.DeviceIoControl.Type3InputBuffer = in_buff; irpsp.DeviceObject = device; + irpsp.CompletionRoutine = NULL;
mdl.Next = NULL; mdl.Size = 0;