91{
96#ifdef __REACTOS__
98#endif
99
101
102
103
104
105
107
109 0,
112 0,
114 &CdfsFileSystemDeviceObject );
115
118 }
119
120#ifdef __REACTOS__
121
122
123
124
126
128 0,
131 0,
133 &HddFileSystemDeviceObject );
134
138 }
139#endif
140
141#ifdef _MSC_VER
142#pragma prefast(push)
143#pragma prefast(disable: 28155, "the dispatch routine has the correct type, prefast is just being paranoid.")
144#pragma prefast(disable: 28168, "the dispatch routine has the correct type, prefast is just being paranoid.")
145#pragma prefast(disable: 28169, "the dispatch routine has the correct type, prefast is just being paranoid.")
146#pragma prefast(disable: 28175, "we're allowed to change these.")
147#endif
148
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
179#ifdef _MSC_VER
180#pragma prefast(pop)
181
182#pragma prefast(suppress: 28175, "this is a file system driver, we're allowed to touch FastIoDispatch.")
183#endif
185
186
187
188
189
192
195
197 &FilterCallbacks );
198
200
202#ifdef __REACTOS__
204#endif
206 }
207
208
209
210
211
212#ifndef __REACTOS__
214#else
216#endif
219#ifdef __REACTOS__
221#endif
223 }
224
225
226
227
228
229
230
232#ifdef __REACTOS__
234#endif
235
238#ifdef __REACTOS__
241#endif
242
243#ifdef CDFS_TELEMETRY_DATA
244
245
246
247
248 CdInitializeTelemetry();
249
250#endif
251
252
253
254
255
257}
NTSTATUS CdInitializeGlobalData(_In_ PDRIVER_OBJECT DriverObject, _In_ PDEVICE_OBJECT FileSystemDeviceObject)
#define NT_SUCCESS(StatCode)
NTSYSAPI VOID NTAPI RtlInitUnicodeString(PUNICODE_STRING DestinationString, PCWSTR SourceString)
NTSTATUS NTAPI FsRtlRegisterFileSystemFilterCallbacks(PDRIVER_OBJECT FilterDriverObject, PFS_FILTER_CALLBACKS Callbacks)
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 IoDeleteDevice(IN PDEVICE_OBJECT DeviceObject)
VOID NTAPI IoRegisterFileSystem(IN PDEVICE_OBJECT DeviceObject)
#define FILE_DEVICE_DISK_FILE_SYSTEM
#define FILE_DEVICE_CD_ROM_FILE_SYSTEM
#define IRP_MJ_DIRECTORY_CONTROL
#define IRP_MJ_DEVICE_CONTROL
#define IRP_MJ_QUERY_VOLUME_INFORMATION
#define IRP_MJ_LOCK_CONTROL
#define IRP_MJ_SET_INFORMATION
#define IRP_MJ_QUERY_INFORMATION
ULONG SizeOfFsFilterCallbacks
PFS_FILTER_CALLBACK PreAcquireForSectionSynchronization
_Must_inspect_result_ _In_ PDRIVER_OBJECT _In_ PCUNICODE_STRING RegistryPath
#define IRP_MJ_FILE_SYSTEM_CONTROL
#define DO_LOW_PRIORITY_FILESYSTEM
DRIVER_DISPATCH * PDRIVER_DISPATCH
struct _FS_FILTER_CALLBACKS FS_FILTER_CALLBACKS
#define ObReferenceObject