[SETUPLIB] Split OpenAndMapFile function and Doxygen-ize it

This commit is contained in:
Hermès Bélusca-Maïto 2024-05-04 12:35:24 +02:00
parent e8e770fd14
commit 68c2a28973
No known key found for this signature in database
GPG key ID: 3B2539C65E7B93D0
5 changed files with 140 additions and 48 deletions

View file

@ -263,8 +263,8 @@ CheckForValidPEAndVendor(
VendorName->Length = 0;
Status = OpenAndMapFile(RootDirectory, PathNameToFile,
&FileHandle, &SectionHandle, &ViewBase,
NULL, FALSE);
&FileHandle, NULL,
&SectionHandle, &ViewBase, FALSE);
if (!NT_SUCCESS(Status))
{
DPRINT1("Failed to open and map file '%S', Status 0x%08lx\n", PathNameToFile, Status);