[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

@ -190,7 +190,7 @@ FindBootStore( // By handle
#if 0
/* Check whether the loader configuration file exists */
Status = OpenAndMapFile(PartitionDirectoryHandle, NtosBootLoaders[Type].LoaderConfigurationFile,
&FileHandle, &SectionHandle, &ViewBase, &FileSize, FALSE);
&FileHandle, &FileSize, &SectionHandle, &ViewBase, FALSE);
if (!NT_SUCCESS(Status))
{
/* The loader does not exist, continue with another one */
@ -343,9 +343,9 @@ OpenIniBootLoaderStore(
Status = OpenAndMapFile(PartitionDirectoryHandle,
NtosBootLoaders[Type].LoaderConfigurationFile,
&BootStore->FileHandle,
&BootStore->FileSize,
&BootStore->SectionHandle,
&BootStore->ViewBase,
&BootStore->FileSize,
TRUE);
if (!NT_SUCCESS(Status))
{