#include "ntfs.h"
#include <debug.h>
Go to the source code of this file.
◆ NDEBUG
◆ NtfsClose()
Definition at line 87 of file close.c.
88{
93
94 DPRINT(
"NtfsClose() called\n");
95
98 {
99 DPRINT(
"Closing file system\n");
102 }
103
106
109 {
111 }
112
114
116
118 {
120 }
121
124}
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
61
62
63
64
65 DeviceExt->OpenHandleCount--;
66
68 {
69
70
71
73 }
74
75 if (
Ccb->DirectorySearchPattern)
76 {
78 }
79
81
83}
_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().