ReactOS  0.4.15-dev-3428-g0609db5
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;
24  PMSFS_FCB Fcb;
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 }
LONG NTSTATUS
Definition: precomp.h:26
_In_ PDEVICE_OBJECT DeviceObject
Definition: wdfdevice.h:2055
return STATUS_NOT_IMPLEMENTED
_In_ PIRP Irp
Definition: csq.h:116
#define IoCompleteRequest
Definition: irp.c:1240
_In_ WDFREQUEST _In_ WDFFILEOBJECT FileObject
Definition: wdfdevice.h:547
Status
Definition: gdiplustypes.h:24
* PFILE_OBJECT
Definition: iotypes.h:1998
__drv_aliasesMem FORCEINLINE PIO_STACK_LOCATION IoGetCurrentIrpStackLocation(_In_ PIRP Irp)
Definition: iofuncs.h:2793
PFILE_OBJECT FileObject
Definition: iotypes.h:3169
#define DPRINT1
Definition: precomp.h:8
#define IO_NO_INCREMENT
Definition: iotypes.h:598
Definition: msfs.h:24
struct _NAMED_PIPE_CREATE_PARAMETERS * Parameters
Definition: iotypes.h:3128
_In_ PFCB Fcb
Definition: cdprocs.h:159