mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 21:03:00 +00:00
Fix return value. Thanks to Hervé for noticing.
svn path=/trunk/; revision=42600
This commit is contained in:
parent
da8d2f0bd8
commit
de2b47bdf6
1 changed files with 4 additions and 3 deletions
|
@ -13,7 +13,7 @@
|
||||||
#include <debug.h>
|
#include <debug.h>
|
||||||
|
|
||||||
static
|
static
|
||||||
DWORD
|
NTSTATUS
|
||||||
EngpFileIoRequest(
|
EngpFileIoRequest(
|
||||||
PFILE_OBJECT pFileObject,
|
PFILE_OBJECT pFileObject,
|
||||||
ULONG ulMajorFunction,
|
ULONG ulMajorFunction,
|
||||||
|
@ -50,7 +50,7 @@ EngpFileIoRequest(
|
||||||
&Iosb);
|
&Iosb);
|
||||||
if (!pIrp)
|
if (!pIrp)
|
||||||
{
|
{
|
||||||
return FALSE;
|
return STATUS_INSUFFICIENT_RESOURCES;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Call the driver */
|
/* Call the driver */
|
||||||
|
@ -66,7 +66,8 @@ EngpFileIoRequest(
|
||||||
/* Return information to the caller about the operation. */
|
/* Return information to the caller about the operation. */
|
||||||
*lpInformation = Iosb.Information;
|
*lpInformation = Iosb.Information;
|
||||||
|
|
||||||
return NT_SUCCESS(Status);
|
/* Return NTSTATUS */
|
||||||
|
return Status;
|
||||||
}
|
}
|
||||||
|
|
||||||
VOID
|
VOID
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue