[BOOT] Add boot library stubs
This commit is contained in:
@@ -14,6 +14,7 @@ Abstract:
|
||||
--*/
|
||||
|
||||
#include "bootmgr.h"
|
||||
#include "bootlib.h"
|
||||
|
||||
NTSTATUS
|
||||
BmMain (
|
||||
@@ -38,9 +39,20 @@ Return Value:
|
||||
--*/
|
||||
|
||||
{
|
||||
(VOID)InputParameters;
|
||||
NTSTATUS Status;
|
||||
BOOT_LIBRARY_PARAMETERS LibraryParameters;
|
||||
|
||||
/* TODO: Implement this */
|
||||
LibraryParameters.Flags = 0;
|
||||
|
||||
return STATUS_SUCCESS;
|
||||
//
|
||||
// Initialize the boot library.
|
||||
//
|
||||
Status = BlInitializeLibrary(InputParameters, &LibraryParameters);
|
||||
if (!NT_SUCCESS(Status)) {
|
||||
goto Exit;
|
||||
}
|
||||
|
||||
Exit:
|
||||
BlDestroyLibrary();
|
||||
return Status;
|
||||
}
|
||||
|
Reference in New Issue
Block a user