mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-29 04:13:32 +00:00
[FLTMGR]
Fix GCC build svn path=/trunk/; revision=71871
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user