mirror of
https://github.com/reactos/reactos.git
synced 2024-10-01 06:57:08 +00:00
[FLTMGR]
Fix GCC build svn path=/trunk/; revision=71871
This commit is contained in:
parent
e9ce17fc5f
commit
746de0cb15
|
@ -1,2 +1,2 @@
|
|||
|
||||
add_subdirectory(fltmgr)
|
||||
add_subdirectory(mountmgr)
|
||||
|
|
|
@ -25,10 +25,10 @@
|
|||
|
||||
|
||||
NTSTATUS
|
||||
NTAPI
|
||||
FltObjectReference(_Inout_ PFLT_OBJECT Object)
|
||||
FLTAPI
|
||||
FltObjectReference(_Inout_ PVOID Object)
|
||||
{
|
||||
if (!FltpExAcquireRundownProtection(&Object->RundownRef))
|
||||
if (!FltpExAcquireRundownProtection(&((PFLT_OBJECT)Object)->RundownRef))
|
||||
{
|
||||
return STATUS_FLT_DELETING_OBJECT;
|
||||
}
|
||||
|
@ -37,10 +37,10 @@ FltObjectReference(_Inout_ PFLT_OBJECT Object)
|
|||
}
|
||||
|
||||
VOID
|
||||
NTAPI
|
||||
FltObjectDereference(_Inout_ PFLT_OBJECT Object)
|
||||
FLTAPI
|
||||
FltObjectDereference(_Inout_ PVOID Object)
|
||||
{
|
||||
FltpExReleaseRundownProtection(&Object->RundownRef);
|
||||
FltpExReleaseRundownProtection(&((PFLT_OBJECT)Object)->RundownRef);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -205,6 +205,7 @@ FltUnregisterFilter(_In_ PFLT_FILTER Filter)
|
|||
Instance = CONTAINING_RECORD(CurrentEntry, FLT_INSTANCE, FilterLink);
|
||||
|
||||
// FIXME: implement
|
||||
(void)Instance;
|
||||
|
||||
/* Reset the pointer and move to next entry */
|
||||
Instance = NULL;
|
||||
|
|
Loading…
Reference in a new issue