52{
58
60
65 0,
69 {
70 WARN_(NTFS,
"IoCreateDevice failed with status: %lx\n",
Status);
72 }
73
74
77
81
83
85
86
92
95 {
101
103
104 Status = ZwQueryValueKey(DriverKey,
110
112 {
113 DPRINT1(
"\tEnabling write support on ALL NTFS volumes!\n");
115 }
116
118 }
119
120
122
123
125
126
131
137
138
141
144
147
148
150
152
153
156
158}
#define NT_SUCCESS(StatCode)
BOOLEAN NTAPI NtfsAcqReadAhead(PVOID Context, BOOLEAN Wait)
BOOLEAN NTAPI NtfsAcqLazyWrite(PVOID Context, BOOLEAN Wait)
VOID NTAPI NtfsRelLazyWrite(PVOID Context)
VOID NTAPI NtfsRelReadAhead(PVOID Context)
PNTFS_GLOBAL_DATA NtfsGlobalData
VOID NTAPI NtfsInitializeFunctionPointers(PDRIVER_OBJECT DriverObject)
FAST_IO_CHECK_IF_POSSIBLE NtfsFastIoCheckIfPossible
FAST_IO_READ NtfsFastIoRead
#define NTFS_TYPE_GLOBAL_DATA
FAST_IO_WRITE NtfsFastIoWrite
NTSTATUS ExInitializeResourceLite(PULONG res)
#define OBJ_KERNEL_HANDLE
#define OBJ_CASE_INSENSITIVE
VOID NTAPI ExInitializeNPagedLookasideList(IN PNPAGED_LOOKASIDE_LIST Lookaside, IN PALLOCATE_FUNCTION Allocate OPTIONAL, IN PFREE_FUNCTION Free OPTIONAL, IN ULONG Flags, IN SIZE_T Size, IN ULONG Tag, IN USHORT Depth)
#define InitializeObjectAttributes(p, n, a, r, s)
NTSYSAPI NTSTATUS NTAPI ZwClose(_In_ HANDLE Handle)
@ KeyValuePartialInformation
NTSYSAPI VOID NTAPI RtlInitUnicodeString(PUNICODE_STRING DestinationString, PCWSTR SourceString)
struct _KEY_VALUE_PARTIAL_INFORMATION KEY_VALUE_PARTIAL_INFORMATION
struct _KEY_VALUE_PARTIAL_INFORMATION * PKEY_VALUE_PARTIAL_INFORMATION
NTSTATUS NTAPI IoCreateDevice(IN PDRIVER_OBJECT DriverObject, IN ULONG DeviceExtensionSize, IN PUNICODE_STRING DeviceName, IN DEVICE_TYPE DeviceType, IN ULONG DeviceCharacteristics, IN BOOLEAN Exclusive, OUT PDEVICE_OBJECT *DeviceObject)
VOID NTAPI IoRegisterFileSystem(IN PDEVICE_OBJECT DeviceObject)
#define FILE_DEVICE_DISK_FILE_SYSTEM
NPAGED_LOOKASIDE_LIST FcbLookasideList
FAST_IO_DISPATCH FastIoDispatch
BOOLEAN EnableWriteSupport
NPAGED_LOOKASIDE_LIST AttrCtxtLookasideList
PDEVICE_OBJECT DeviceObject
NPAGED_LOOKASIDE_LIST IrpContextLookasideList
NTFSIDENTIFIER Identifier
CACHE_MANAGER_CALLBACKS CacheMgrCallbacks
PDRIVER_OBJECT DriverObject
PACQUIRE_FOR_LAZY_WRITE AcquireForLazyWrite
PRELEASE_FROM_LAZY_WRITE ReleaseFromLazyWrite
PACQUIRE_FOR_READ_AHEAD AcquireForReadAhead
PRELEASE_FROM_READ_AHEAD ReleaseFromReadAhead
PFAST_IO_WRITE FastIoWrite
ULONG SizeOfFastIoDispatch
PFAST_IO_CHECK_IF_POSSIBLE FastIoCheckIfPossible
#define RTL_CONSTANT_STRING(s)
#define RtlZeroMemory(Destination, Length)
_Must_inspect_result_ _In_ WDFDMAENABLER _In_ _In_opt_ PWDF_OBJECT_ATTRIBUTES Attributes
_In_ PDEVICE_OBJECT DeviceObject
_Must_inspect_result_ _In_ WDFDEVICE _In_ DEVICE_REGISTRY_PROPERTY _In_ ULONG _Out_ PULONG ResultLength
_Must_inspect_result_ _In_ PWDFDEVICE_INIT _In_opt_ PCUNICODE_STRING DeviceName
_Must_inspect_result_ _In_ PDRIVER_OBJECT _In_ PCUNICODE_STRING RegistryPath
_Must_inspect_result_ _In_ PDRIVER_OBJECT DriverObject
_Must_inspect_result_ _In_ WDFKEY _In_ PCUNICODE_STRING ValueName
_Must_inspect_result_ _In_ WDFKEY _In_ PCUNICODE_STRING _In_ ULONG ValueLength
_Must_inspect_result_ _In_ WDFKEY _In_ PCUNICODE_STRING _Out_opt_ PUSHORT _Inout_opt_ PUNICODE_STRING Value
struct _FAST_IO_DISPATCH FAST_IO_DISPATCH
#define ObReferenceObject