mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
Implemented some verify functions.
svn path=/trunk/; revision=1466
This commit is contained in:
parent
6d9f357735
commit
4ac4987dd2
4 changed files with 41 additions and 35 deletions
|
@ -210,6 +210,7 @@ typedef struct _ETHREAD
|
|||
PPS_IMPERSONATION_INFO ImpersonationInfo;
|
||||
LIST_ENTRY IrpList;
|
||||
TOP_LEVEL_IRP TopLevelIrp;
|
||||
PDEVICE_OBJECT DeviceToVerify;
|
||||
ULONG ReadClusterSize;
|
||||
UCHAR ForwardClusterOnly;
|
||||
UCHAR DisablePageFaultClustering;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $Id: device.c,v 1.23 2000/10/22 16:36:50 ekohl Exp $
|
||||
/* $Id: device.c,v 1.24 2000/12/10 19:15:45 ekohl Exp $
|
||||
*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS kernel
|
||||
|
@ -16,6 +16,7 @@
|
|||
#include <internal/ob.h>
|
||||
#include <internal/ldr.h>
|
||||
#include <internal/id.h>
|
||||
#include <internal/ps.h>
|
||||
|
||||
#define NDEBUG
|
||||
#include <internal/debug.h>
|
||||
|
@ -449,14 +450,31 @@ IoQueryDeviceEnumInfo (
|
|||
}
|
||||
|
||||
|
||||
VOID
|
||||
STDCALL
|
||||
IoSetDeviceToVerify (
|
||||
DWORD Unknown0,
|
||||
DWORD Unknown1
|
||||
)
|
||||
PDEVICE_OBJECT STDCALL
|
||||
IoGetDeviceToVerify (PETHREAD Thread)
|
||||
/*
|
||||
* FUNCTION: Returns a pointer to the device, representing a removable-media
|
||||
* device, that is the target of the given thread's I/O request
|
||||
*/
|
||||
{
|
||||
UNIMPLEMENTED;
|
||||
return Thread->DeviceToVerify;
|
||||
}
|
||||
|
||||
|
||||
VOID STDCALL
|
||||
IoSetDeviceToVerify (IN PETHREAD Thread,
|
||||
IN PDEVICE_OBJECT DeviceObject)
|
||||
{
|
||||
Thread->DeviceToVerify = DeviceObject;
|
||||
}
|
||||
|
||||
|
||||
VOID STDCALL
|
||||
IoSetHardErrorOrVerifyDevice(PIRP Irp,
|
||||
PDEVICE_OBJECT DeviceObject)
|
||||
{
|
||||
Irp->Tail.Overlay.Thread->DeviceToVerify = DeviceObject;
|
||||
}
|
||||
|
||||
|
||||
/* EOF */
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $Id: error.c,v 1.4 2000/07/04 08:52:38 dwelch Exp $
|
||||
/* $Id: error.c,v 1.5 2000/12/10 19:15:45 ekohl Exp $
|
||||
*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS kernel
|
||||
|
@ -19,12 +19,9 @@
|
|||
/* FUNCTIONS *****************************************************************/
|
||||
|
||||
|
||||
VOID STDCALL IoSetHardErrorOrVerifyDevice(PIRP Irp, PDEVICE_OBJECT DeviceObject)
|
||||
{
|
||||
UNIMPLEMENTED;
|
||||
}
|
||||
|
||||
VOID STDCALL IoRaiseHardError(PIRP Irp, PVPB Vpb, PDEVICE_OBJECT RealDeviceObject)
|
||||
VOID STDCALL IoRaiseHardError(PIRP Irp,
|
||||
PVPB Vpb,
|
||||
PDEVICE_OBJECT RealDeviceObject)
|
||||
{
|
||||
UNIMPLEMENTED;
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $Id: irp.c,v 1.31 2000/10/22 16:36:50 ekohl Exp $
|
||||
/* $Id: irp.c,v 1.32 2000/12/10 19:15:45 ekohl Exp $
|
||||
*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS kernel
|
||||
|
@ -39,16 +39,6 @@
|
|||
|
||||
/* FUNCTIONS ****************************************************************/
|
||||
|
||||
PDEVICE_OBJECT STDCALL
|
||||
IoGetDeviceToVerify (PETHREAD Thread)
|
||||
/*
|
||||
* FUNCTION: Returns a pointer to the device, representing a removable-media
|
||||
* device, that is the target of the given thread's I/O request
|
||||
*/
|
||||
{
|
||||
UNIMPLEMENTED;
|
||||
}
|
||||
|
||||
|
||||
VOID STDCALL
|
||||
IoFreeIrp (PIRP Irp)
|
||||
|
|
Loading…
Reference in a new issue