mirror of
https://github.com/reactos/reactos.git
synced 2025-08-01 18:53:05 +00:00
[CDFS_NEW] Use CdAcquireForCreateSection from the old driver in place of the newer CdFilterCallbackAcquireForCreateSection.
This commit is contained in:
parent
5429771b99
commit
bc2378a356
3 changed files with 68 additions and 0 deletions
|
@ -191,7 +191,9 @@ Return Value:
|
|||
sizeof(FS_FILTER_CALLBACKS) );
|
||||
|
||||
FilterCallbacks.SizeOfFsFilterCallbacks = sizeof(FS_FILTER_CALLBACKS);
|
||||
#ifndef __REACTOS__
|
||||
FilterCallbacks.PreAcquireForSectionSynchronization = CdFilterCallbackAcquireForCreateSection;
|
||||
#endif
|
||||
|
||||
Status = FsRtlRegisterFileSystemFilterCallbacks( DriverObject,
|
||||
&FilterCallbacks );
|
||||
|
@ -357,11 +359,15 @@ Return Value:
|
|||
CdFastIoDispatch.FastIoUnlockSingle = CdFastUnlockSingle; // UnlockSingle
|
||||
CdFastIoDispatch.FastIoUnlockAll = CdFastUnlockAll; // UnlockAll
|
||||
CdFastIoDispatch.FastIoUnlockAllByKey = CdFastUnlockAllByKey; // UnlockAllByKey
|
||||
#ifndef __REACTOS__
|
||||
//
|
||||
// This callback has been replaced by CdFilterCallbackAcquireForCreateSection.
|
||||
//
|
||||
|
||||
CdFastIoDispatch.AcquireFileForNtCreateSection = NULL;
|
||||
#else
|
||||
CdFastIoDispatch.AcquireFileForNtCreateSection = CdAcquireForCreateSection;
|
||||
#endif
|
||||
CdFastIoDispatch.ReleaseFileForNtCreateSection = CdReleaseForCreateSection;
|
||||
CdFastIoDispatch.FastIoQueryNetworkOpenInfo = CdFastQueryNetworkInfo; // QueryNetworkInfo
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue