[BOOT] Add boot library stubs

This commit is contained in:
2024-05-30 19:54:07 -04:00
父節點 472b48ffd6
當前提交 42369f91ee
共有 4 個文件被更改,包括 162 次插入3 次删除

查看文件

@@ -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;
}