[NTOS:INBV] Improve comment & define name.

This commit is contained in:
Hermès Bélusca-Maïto 2022-05-02 02:48:46 +02:00
parent 7aec73a76c
commit 81dc30a434
No known key found for this signature in database
GPG key ID: 3B2539C65E7B93D0
3 changed files with 4 additions and 4 deletions

View file

@ -1389,9 +1389,9 @@ Phase1InitializationDiscard(IN PVOID Context)
/* Get the SOS setting */ /* Get the SOS setting */
SosEnabled = (CommandLine && strstr(CommandLine, "SOS") != NULL); SosEnabled = (CommandLine && strstr(CommandLine, "SOS") != NULL);
/* Setup the boot driver */ /* Setup the boot video driver */
InbvEnableBootDriver(!NoGuiBoot); InbvEnableBootDriver(!NoGuiBoot);
InbvDriverInitialize(LoaderBlock, IDB_MAX_RESOURCE); InbvDriverInitialize(LoaderBlock, IDB_MAX_RESOURCES);
/* Check if GUI boot is enabled */ /* Check if GUI boot is enabled */
if (!NoGuiBoot) if (!NoGuiBoot)

View file

@ -48,7 +48,7 @@ static INBV_PROGRESS_STATE InbvProgressState;
static BT_PROGRESS_INDICATOR InbvProgressIndicator = {0, 25, 0}; static BT_PROGRESS_INDICATOR InbvProgressIndicator = {0, 25, 0};
static ULONG ResourceCount = 0; static ULONG ResourceCount = 0;
static PUCHAR ResourceList[1 + IDB_MAX_RESOURCE]; // First entry == NULL, followed by 'ResourceCount' entries. static PUCHAR ResourceList[1 + IDB_MAX_RESOURCES]; // First entry == NULL, followed by 'ResourceCount' entries.
/* /*

View file

@ -43,4 +43,4 @@
#define IDB_PROGRESS_BAR 20 #define IDB_PROGRESS_BAR 20
#define IDB_COPYRIGHT 21 #define IDB_COPYRIGHT 21
#define IDB_MAX_RESOURCE IDB_COPYRIGHT #define IDB_MAX_RESOURCES IDB_COPYRIGHT