Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
f8f7b46e
Commit
f8f7b46e
authored
Apr 17, 2018
by
Alistair Leslie-Hughes
Committed by
Alexandre Julliard
Apr 17, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntoskrnl: Add FsRtlRegisterFileSystemFilterCallbacks stub.
Signed-off-by:
Alistair Leslie-Hughes
<
leslie_alistair@hotmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
369c1639
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
92 additions
and
1 deletion
+92
-1
ntoskrnl.c
dlls/ntoskrnl.exe/ntoskrnl.c
+9
-0
ntoskrnl.exe.spec
dlls/ntoskrnl.exe/ntoskrnl.exe.spec
+1
-1
ntifs.h
include/ddk/ntifs.h
+82
-0
No files found.
dlls/ntoskrnl.exe/ntoskrnl.c
View file @
f8f7b46e
...
...
@@ -3516,3 +3516,12 @@ HANDLE WINAPI PsGetProcessId(PEPROCESS process)
return
0
;
}
/*********************************************************************
* FsRtlRegisterFileSystemFilterCallbacks (NTOSKRNL.@)
*/
NTSTATUS
WINAPI
FsRtlRegisterFileSystemFilterCallbacks
(
DRIVER_OBJECT
*
object
,
PFS_FILTER_CALLBACKS
callbacks
)
{
FIXME
(
"stub: %p %p
\n
"
,
object
,
callbacks
);
return
STATUS_NOT_IMPLEMENTED
;
}
dlls/ntoskrnl.exe/ntoskrnl.exe.spec
View file @
f8f7b46e
...
...
@@ -273,7 +273,7 @@
@ stub FsRtlPrepareMdlWriteDev
@ stub FsRtlPrivateLock
@ stub FsRtlProcessFileLock
@ st
ub FsRtlRegisterFileSystemFilterCallbacks
@ st
dcall FsRtlRegisterFileSystemFilterCallbacks(ptr ptr)
@ stdcall FsRtlRegisterUncProvider(ptr ptr long)
@ stub FsRtlReleaseFile
@ stub FsRtlRemoveLargeMcbEntry
...
...
include/ddk/ntifs.h
View file @
f8f7b46e
...
...
@@ -46,6 +46,88 @@ typedef struct _KQUEUE
LIST_ENTRY
ThreadListHead
;
}
KQUEUE
,
*
PKQUEUE
,
*
RESTRICTED_POINTER
PRKQUEUE
;
typedef
enum
_FS_FILTER_STREAM_FO_NOTIFICATION_TYPE
{
NotifyTypeCreate
=
0
,
NotifyTypeRetired
}
FS_FILTER_STREAM_FO_NOTIFICATION_TYPE
,
*
PFS_FILTER_STREAM_FO_NOTIFICATION_TYPE
;
typedef
union
_FS_FILTER_PARAMETERS
{
struct
{
PLARGE_INTEGER
EndingOffset
;
PERESOURCE
*
ResourceToRelease
;
}
AcquireForModifiedPageWriter
;
struct
{
PERESOURCE
ResourceToRelease
;
}
ReleaseForModifiedPageWriter
;
struct
{
FS_FILTER_SECTION_SYNC_TYPE
SyncType
;
ULONG
PageProtection
;
PFS_FILTER_SECTION_SYNC_OUTPUT
OutputInformation
;
}
AcquireForSectionSynchronization
;
struct
{
FS_FILTER_STREAM_FO_NOTIFICATION_TYPE
NotificationType
;
BOOLEAN
POINTER_ALIGNMENT
SafeToRecurse
;
}
NotifyStreamFileObject
;
struct
{
PIRP
Irp
;
void
*
FileInformation
;
PULONG
Length
;
FILE_INFORMATION_CLASS
FileInformationClass
;
NTSTATUS
CompletionStatus
;
}
QueryOpen
;
struct
{
void
*
Argument1
;
void
*
Argument2
;
void
*
Argument3
;
void
*
Argument4
;
void
*
Argument5
;
}
Others
;
}
FS_FILTER_PARAMETERS
,
*
PFS_FILTER_PARAMETERS
;
typedef
struct
_FS_FILTER_CALLBACK_DATA
{
ULONG
SizeOfFsFilterCallbackData
;
UCHAR
Operation
;
UCHAR
Reserved
;
struct
_DEVICE_OBJECT
*
DeviceObject
;
struct
_FILE_OBJECT
*
FileObject
;
FS_FILTER_PARAMETERS
Parameters
;
}
FS_FILTER_CALLBACK_DATA
,
*
PFS_FILTER_CALLBACK_DATA
;
typedef
NTSTATUS
(
WINAPI
*
PFS_FILTER_CALLBACK
)(
PFS_FILTER_CALLBACK_DATA
,
void
**
);
typedef
void
(
WINAPI
*
PFS_FILTER_COMPLETION_CALLBACK
)(
PFS_FILTER_CALLBACK_DATA
,
NTSTATUS
,
void
*
context
);
typedef
struct
_FS_FILTER_CALLBACKS
{
ULONG
SizeOfFsFilterCallbacks
;
ULONG
Reserved
;
PFS_FILTER_CALLBACK
PreAcquireForSectionSynchronization
;
PFS_FILTER_COMPLETION_CALLBACK
PostAcquireForSectionSynchronization
;
PFS_FILTER_CALLBACK
PreReleaseForSectionSynchronization
;
PFS_FILTER_COMPLETION_CALLBACK
PostReleaseForSectionSynchronization
;
PFS_FILTER_CALLBACK
PreAcquireForCcFlush
;
PFS_FILTER_COMPLETION_CALLBACK
PostAcquireForCcFlush
;
PFS_FILTER_CALLBACK
PreReleaseForCcFlush
;
PFS_FILTER_COMPLETION_CALLBACK
PostReleaseForCcFlush
;
PFS_FILTER_CALLBACK
PreAcquireForModifiedPageWriter
;
PFS_FILTER_COMPLETION_CALLBACK
PostAcquireForModifiedPageWriter
;
PFS_FILTER_CALLBACK
PreReleaseForModifiedPageWriter
;
PFS_FILTER_COMPLETION_CALLBACK
PostReleaseForModifiedPageWriter
;
}
FS_FILTER_CALLBACKS
,
*
PFS_FILTER_CALLBACKS
;
NTSTATUS
WINAPI
ObQueryNameString
(
PVOID
,
POBJECT_NAME_INFORMATION
,
ULONG
,
PULONG
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment