ReactOS  0.4.15-dev-3187-ge372f2b
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 }
PDEVICE_OBJECT DeviceObject
Definition: ntfs.h:488
#define IRPCONTEXT_COMPLETE
Definition: vfat.h:576
_In_ PIRP Irp
Definition: csq.h:116
PVOID DeviceExtension
Definition: env_spec_w32.h:418
ULONG Flags
Definition: ntfs.h:481
NTSTATUS NTAPI IoCallDriver(IN PDEVICE_OBJECT DeviceObject, IN PIRP Irp)
Definition: irp.c:1218
#define IoSkipCurrentIrpStackLocation(Irp)
Definition: ntifs_ex.h:421

Referenced by NtfsDispatch().