[FLTMGR] Implement FltCreateFile()
[reactos.git] / drivers / filters / fltmgr / Object.c
index 413b85f..8173f63 100644 (file)
@@ -168,6 +168,42 @@ FltCreateFileEx(_In_ PFLT_FILTER Filter,
     return STATUS_NOT_IMPLEMENTED;
 }
 
+_Must_inspect_result_
+_IRQL_requires_max_(PASSIVE_LEVEL)
+NTSTATUS
+FLTAPI
+FltCreateFile(_In_ PFLT_FILTER Filter,
+              _In_opt_ PFLT_INSTANCE Instance,
+              _Out_ PHANDLE FileHandle,
+              _In_ ACCESS_MASK DesiredAccess,
+              _In_ POBJECT_ATTRIBUTES ObjectAttributes,
+              _Out_ PIO_STATUS_BLOCK IoStatusBlock,
+              _In_opt_ PLARGE_INTEGER AllocationSize,
+              _In_ ULONG FileAttributes,
+              _In_ ULONG ShareAccess,
+              _In_ ULONG CreateDisposition,
+              _In_ ULONG CreateOptions,
+              _In_reads_bytes_opt_(EaLength)PVOID EaBuffer,
+              _In_ ULONG EaLength,
+              _In_ ULONG Flags)
+{
+    return FltCreateFileEx(Filter,
+                           Instance,
+                           FileHandle,
+                           NULL,
+                           DesiredAccess,
+                           ObjectAttributes,
+                           IoStatusBlock,
+                           AllocationSize,
+                           FileAttributes,
+                           ShareAccess,
+                           CreateDisposition,
+                           CreateOptions,
+                           EaBuffer,
+                           EaLength,
+                           Flags);
+}
+
 
 
 /* INTERNAL FUNCTIONS ******************************************************/