#include "ntfs.h"
#include <debug.h>
Go to the source code of this file.
◆ NDEBUG
◆ NtfsClose()
Definition at line 84 of file close.c.
85{
90
91 DPRINT(
"NtfsClose() called\n");
92
95 {
96 DPRINT(
"Closing file system\n");
99 }
100
103
106 {
108 }
109
111
113
115 {
117 }
118
121}
NTSTATUS NtfsCloseFile(PDEVICE_EXTENSION DeviceExt, PFILE_OBJECT FileObject)
PNTFS_GLOBAL_DATA NtfsGlobalData
FORCEINLINE NTSTATUS NtfsMarkIrpContextForQueue(PNTFS_IRP_CONTEXT IrpContext)
#define IRPCONTEXT_CANWAIT
#define ExAcquireResourceExclusiveLite(res, wait)
#define BooleanFlagOn(F, SF)
VOID FASTCALL ExReleaseResourceLite(IN PERESOURCE Resource)
PDEVICE_OBJECT DeviceObject
PDEVICE_OBJECT DeviceObject
_In_ PDEVICE_OBJECT DeviceObject
_In_ WDFREQUEST _In_ WDFFILEOBJECT FileObject
◆ NtfsCloseFile()
Definition at line 40 of file close.c.
42{
45
46 DPRINT(
"NtfsCloseFile(DeviceExt %p, FileObject %p)\n",
47 DeviceExt,
49
52
55 {
57 }
58
62 DeviceExt->OpenHandleCount--;
63
65 {
66
67
68
70 }
71
72 if (
Ccb->DirectorySearchPattern)
73 {
75 }
76
78
80}
_Inout_ PFILE_OBJECT _In_ TYPE_OF_OPEN PFCB _In_opt_ PCCB Ccb
struct NTFS_CCB * PNTFS_CCB
VOID NtfsReleaseFCB(PNTFS_VCB Vcb, PNTFS_FCB Fcb)
Referenced by NtfsClose(), and NtfsCreateFile().