mirror of
https://github.com/reactos/reactos.git
synced 2025-06-23 14:20:24 +00:00
[NTOSKRNL] Implement IoGetFileObjectFilterContext()
This commit is contained in:
parent
043faab089
commit
a43fb5e054
2 changed files with 5 additions and 3 deletions
|
@ -96,6 +96,7 @@
|
||||||
typedef struct _FILE_OBJECT_EXTENSION
|
typedef struct _FILE_OBJECT_EXTENSION
|
||||||
{
|
{
|
||||||
PDEVICE_OBJECT TopDeviceObjectHint;
|
PDEVICE_OBJECT TopDeviceObjectHint;
|
||||||
|
PVOID FilterContext;
|
||||||
|
|
||||||
} FILE_OBJECT_EXTENSION, *PFILE_OBJECT_EXTENSION;
|
} FILE_OBJECT_EXTENSION, *PFILE_OBJECT_EXTENSION;
|
||||||
|
|
||||||
|
|
|
@ -2443,9 +2443,10 @@ IoGetFileObjectFilterContext(IN PFILE_OBJECT FileObject)
|
||||||
{
|
{
|
||||||
if (FileObject->Flags & FO_FILE_OBJECT_HAS_EXTENSION)
|
if (FileObject->Flags & FO_FILE_OBJECT_HAS_EXTENSION)
|
||||||
{
|
{
|
||||||
UNIMPLEMENTED;
|
PFILE_OBJECT_EXTENSION FileObjectExtension;
|
||||||
/* FIXME: return NULL for the moment ~ */
|
|
||||||
return NULL;
|
FileObjectExtension = FileObject->FileObjectExtension;
|
||||||
|
return FileObjectExtension->FilterContext;
|
||||||
}
|
}
|
||||||
|
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue