[NTOSKRNL] Rename IopQueryNameFile to IopQueryNameInternal
authorPierre Schweitzer <pierre@reactos.org>
Wed, 3 Oct 2018 08:15:30 +0000 (10:15 +0200)
committerPierre Schweitzer <pierre@reactos.org>
Wed, 3 Oct 2018 08:22:33 +0000 (10:22 +0200)
ntoskrnl/include/internal/io.h
ntoskrnl/io/iomgr/file.c
ntoskrnl/io/iomgr/iomgr.c

index 97df17f..29ecb80 100644 (file)
@@ -1219,7 +1219,7 @@ IopGetSetSecurityObject(
 
 NTSTATUS
 NTAPI
-IopQueryNameFile(
+IopQueryNameInternal(
     IN PVOID ObjectBody,
     IN BOOLEAN HasName,
     OUT POBJECT_NAME_INFORMATION ObjectNameInfo,
index 6133c9e..4cbdb64 100644 (file)
@@ -1869,12 +1869,12 @@ IopGetSetSecurityObject(IN PVOID ObjectBody,
 
 NTSTATUS
 NTAPI
-IopQueryNameFile(IN PVOID ObjectBody,
-                 IN BOOLEAN HasName,
-                 OUT POBJECT_NAME_INFORMATION ObjectNameInfo,
-                 IN ULONG Length,
-                 OUT PULONG ReturnLength,
-                 IN KPROCESSOR_MODE PreviousMode)
+IopQueryNameInternal(IN PVOID ObjectBody,
+                     IN BOOLEAN HasName,
+                     OUT POBJECT_NAME_INFORMATION ObjectNameInfo,
+                     IN ULONG Length,
+                     OUT PULONG ReturnLength,
+                     IN KPROCESSOR_MODE PreviousMode)
 {
     POBJECT_NAME_INFORMATION LocalInfo;
     PFILE_NAME_INFORMATION LocalFileInfo;
index 292c947..fec8085 100644 (file)
@@ -317,7 +317,7 @@ IopCreateObjectTypes(VOID)
     ObjectTypeInitializer.CloseProcedure = IopCloseFile;
     ObjectTypeInitializer.DeleteProcedure = IopDeleteFile;
     ObjectTypeInitializer.SecurityProcedure = IopGetSetSecurityObject;
-    ObjectTypeInitializer.QueryNameProcedure = IopQueryNameFile;
+    ObjectTypeInitializer.QueryNameProcedure = IopQueryNameInternal;
     ObjectTypeInitializer.ParseProcedure = IopParseFile;
     ObjectTypeInitializer.UseDefaultObject = FALSE;
     if (!NT_SUCCESS(ObCreateObjectType(&Name,