[NTOSKRNL] Rename IopQueryNameFile to IopQueryNameInternal

This commit is contained in:
Pierre Schweitzer 2018-10-03 10:15:30 +02:00
parent 3d44f79e3e
commit 1348f62f20
No known key found for this signature in database
GPG key ID: 7545556C3D585B0B
3 changed files with 8 additions and 8 deletions

View file

@ -1219,7 +1219,7 @@ IopGetSetSecurityObject(
NTSTATUS
NTAPI
IopQueryNameFile(
IopQueryNameInternal(
IN PVOID ObjectBody,
IN BOOLEAN HasName,
OUT POBJECT_NAME_INFORMATION ObjectNameInfo,

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

View 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,