ReactOS 0.4.15-dev-8131-g4988de4
devctl.c File Reference
#include "ntfs.h"
#include <debug.h>
Include dependency graph for devctl.c:

Go to the source code of this file.

Macros

#define NDEBUG
 

Functions

NTSTATUS NtfsDeviceControl (PNTFS_IRP_CONTEXT IrpContext)
 

Macro Definition Documentation

◆ NDEBUG

#define NDEBUG

Definition at line 30 of file devctl.c.

Function Documentation

◆ NtfsDeviceControl()

NTSTATUS NtfsDeviceControl ( PNTFS_IRP_CONTEXT  IrpContext)

Definition at line 36 of file devctl.c.

37{
38 PDEVICE_EXTENSION DeviceExt;
39 PIRP Irp = IrpContext->Irp;
40
41 DeviceExt = IrpContext->DeviceObject->DeviceExtension;
43
44 /* Lower driver will complete - we don't have to */
45 IrpContext->Flags &= ~IRPCONTEXT_COMPLETE;
46
47 return IoCallDriver(DeviceExt->StorageDevice, Irp);
48}
_In_ PIRP Irp
Definition: csq.h:116
#define IoSkipCurrentIrpStackLocation(Irp)
Definition: ntifs_ex.h:421
#define IoCallDriver
Definition: irp.c:1225
ULONG Flags
Definition: ntfs.h:481
PDEVICE_OBJECT DeviceObject
Definition: ntfs.h:488
PVOID DeviceExtension
Definition: env_spec_w32.h:418

Referenced by NtfsDispatch().