[BOOT] Add boot library stubs

This commit is contained in:
2024-05-30 19:54:07 -04:00
parent 472b48ffd6
commit 42369f91ee
4 changed files with 162 additions and 3 deletions

View File

@@ -0,0 +1,37 @@
/*++
Copyright (c) 2024, Quinn Stephens.
Provided under the BSD 3-Clause license.
Module Name:
bootlib.h
Abstract:
Boot library definitions.
--*/
#ifndef _BOOTLIB_H
#define _BOOTLIB_H
#include <nt.h>
#include "bootmgr.h"
typedef struct {
ULONG Flags;
} BOOT_LIBRARY_PARAMETERS, *PBOOT_LIBRARY_PARAMETERS;
NTSTATUS
BlInitializeLibrary (
IN PBOOT_INPUT_PARAMETERS InputParameters,
IN PBOOT_LIBRARY_PARAMETERS LibraryParameters
);
NTSTATUS
BlDestroyLibrary (
VOID
);
#endif

View File

@@ -50,6 +50,9 @@ Abstract:
#define NTAPI
#endif
#undef NULL
#define NULL ((VOID *)0)
//
// Basic types.
//