Fix GCC build

svn path=/trunk/; revision=71871
This commit is contained in:
Pierre Schweitzer 2016-07-09 16:41:18 +00:00
parent e9ce17fc5f
commit 746de0cb15
3 changed files with 8 additions and 7 deletions

View file

@ -1,2 +1,2 @@
add_subdirectory(fltmgr)
add_subdirectory(mountmgr)

View file

@ -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);
}

View file

@ -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;