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
a7b33a6a
Commit
a7b33a6a
authored
Apr 04, 2018
by
Alistair Leslie-Hughes
Committed by
Alexandre Julliard
Apr 12, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fltmgr.sys: Implement FltGetRoutineAddress.
Signed-off-by:
Alistair Leslie-Hughes
<
leslie_alistair@hotmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
ce2080ac
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
1 deletion
+17
-1
fltmgr.sys.spec
dlls/fltmgr.sys/fltmgr.sys.spec
+1
-1
main.c
dlls/fltmgr.sys/main.c
+15
-0
fltkernel.h
include/ddk/fltkernel.h
+1
-0
No files found.
dlls/fltmgr.sys/fltmgr.sys.spec
View file @
a7b33a6a
...
...
@@ -79,7 +79,7 @@
@ stub FltGetLowerInstance
@ stub FltGetRequestorProcess
@ stub FltGetRequestorProcessId
@ st
ub FltGetRoutineAddress
@ st
dcall FltGetRoutineAddress(str)
@ stub FltGetStreamContext
@ stub FltGetStreamHandleContext
@ stub FltGetSwappedBufferMdlAddress
...
...
dlls/fltmgr.sys/main.c
View file @
a7b33a6a
...
...
@@ -64,3 +64,18 @@ void WINAPI FltUnregisterFilter( PFLT_FILTER filter )
{
FIXME
(
"(%p): stub
\n
"
,
filter
);
}
void
*
WINAPI
FltGetRoutineAddress
(
LPCSTR
name
)
{
static
const
WCHAR
fltmgrW
[]
=
{
'f'
,
'l'
,
't'
,
'm'
,
'g'
,
'r'
,
'.'
,
's'
,
'y'
,
's'
,
0
};
HMODULE
mod
=
GetModuleHandleW
(
fltmgrW
);
void
*
func
;
func
=
GetProcAddress
(
mod
,
name
);
if
(
func
)
TRACE
(
"%s -> %p
\n
"
,
debugstr_a
(
name
),
func
);
else
FIXME
(
"%s not found
\n
"
,
debugstr_a
(
name
)
);
return
func
;
}
include/ddk/fltkernel.h
View file @
a7b33a6a
...
...
@@ -654,6 +654,7 @@ typedef struct _FLT_REGISTRATION
}
FLT_REGISTRATION
,
*
PFLT_REGISTRATION
;
void
*
WINAPI
FltGetRoutineAddress
(
LPCSTR
name
);
NTSTATUS
WINAPI
FltRegisterFilter
(
PDRIVER_OBJECT
,
const
FLT_REGISTRATION
*
,
PFLT_FILTER
*
);
NTSTATUS
WINAPI
FltStartFiltering
(
PFLT_FILTER
);
void
WINAPI
FltUnregisterFilter
(
PFLT_FILTER
);
...
...
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