mirror of
https://github.com/reactos/reactos.git
synced 2025-07-23 16:33:40 +00:00
Set FileObject in stack location in NtDeviceIoControlFile
svn path=/trunk/; revision=1725
This commit is contained in:
parent
547f4b4197
commit
61c860daf7
1 changed files with 2 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
/* $Id: ioctrl.c,v 1.11 2000/06/12 14:57:10 ekohl Exp $
|
||||
/* $Id: ioctrl.c,v 1.12 2001/03/21 23:27:18 chorns Exp $
|
||||
*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS kernel
|
||||
|
@ -78,6 +78,7 @@ NTSTATUS STDCALL NtDeviceIoControlFile (IN HANDLE DeviceHandle,
|
|||
Irp->Overlay.AsynchronousParameters.UserApcContext = UserApcContext;
|
||||
|
||||
StackPtr = IoGetNextIrpStackLocation(Irp);
|
||||
StackPtr->FileObject = FileObject;
|
||||
StackPtr->DeviceObject = DeviceObject;
|
||||
StackPtr->Parameters.DeviceIoControl.InputBufferLength = InputBufferSize;
|
||||
StackPtr->Parameters.DeviceIoControl.OutputBufferLength = OutputBufferSize;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue