ReactOS 0.4.16-dev-125-g798ea90
fsctrl.c File Reference
#include "msfs.h"
#include <debug.h>
Include dependency graph for fsctrl.c:

Go to the source code of this file.

Macros

#define NDEBUG
 

Functions

NTSTATUS DEFAULTAPI MsfsFileSystemControl (PDEVICE_OBJECT DeviceObject, PIRP Irp)
 

Macro Definition Documentation

◆ NDEBUG

#define NDEBUG

Definition at line 13 of file fsctrl.c.

Function Documentation

◆ MsfsFileSystemControl()

NTSTATUS DEFAULTAPI MsfsFileSystemControl ( PDEVICE_OBJECT  DeviceObject,
PIRP  Irp 
)

Definition at line 19 of file fsctrl.c.

21{
22 PIO_STACK_LOCATION IoStack;
26
27 DPRINT1("MsfsFileSystemControl(DeviceObject %p Irp %p)\n", DeviceObject, Irp);
28
30 FileObject = IoStack->FileObject;
31 Fcb = FileObject->FsContext;
32
33 DPRINT1("Mailslot name: %wZ\n", &Fcb->Name);
34
35 switch (IoStack->Parameters.FileSystemControl.FsControlCode)
36 {
37 default:
39 }
40
41 Irp->IoStatus.Status = Status;
42 Irp->IoStatus.Information = 0;
44
45 return Status;
46}
static PIO_STACK_LOCATION IoGetCurrentIrpStackLocation(PIRP Irp)
LONG NTSTATUS
Definition: precomp.h:26
#define DPRINT1
Definition: precomp.h:8
_In_ PFCB Fcb
Definition: cdprocs.h:159
_In_ PIRP Irp
Definition: csq.h:116
Status
Definition: gdiplustypes.h:25
#define IoCompleteRequest
Definition: irp.c:1240
#define STATUS_NOT_IMPLEMENTED
Definition: ntstatus.h:239
PFILE_OBJECT FileObject
Definition: iotypes.h:3169
struct _IO_STACK_LOCATION::@3974::@3989 FileSystemControl
union _IO_STACK_LOCATION::@1575 Parameters
Definition: msfs.h:25
_In_ PDEVICE_OBJECT DeviceObject
Definition: wdfdevice.h:2055
_In_ WDFREQUEST _In_ WDFFILEOBJECT FileObject
Definition: wdfdevice.h:550
#define IO_NO_INCREMENT
Definition: iotypes.h:598
* PFILE_OBJECT
Definition: iotypes.h:1998