ReactOS 0.4.15-dev-6662-g1b3eed5
|
#include "precomp.h"
#include "bldrsup.h"
#include "filesup.h"
#include "inicache.h"
#include <debug.h>
Go to the source code of this file.
Classes | |
struct | _NTOS_BOOT_LOADER_FILES |
struct | _BOOT_STORE_CONTEXT |
struct | _BOOT_STORE_INI_CONTEXT |
struct | _BOOT_STORE_BCDREG_CONTEXT |
Macros | |
#define | NDEBUG |
Typedefs | |
typedef NTSTATUS(* | POPEN_BOOT_STORE) (OUT PVOID *Handle, IN HANDLE PartitionDirectoryHandle, IN BOOT_STORE_TYPE Type, IN BOOLEAN CreateNew) |
typedef NTSTATUS(* | PCLOSE_BOOT_STORE) (IN PVOID Handle) |
typedef NTSTATUS(* | PENUM_BOOT_STORE_ENTRIES) (IN PVOID Handle, IN PENUM_BOOT_ENTRIES_ROUTINE EnumBootEntriesRoutine, IN PVOID Parameter OPTIONAL) |
typedef struct _NTOS_BOOT_LOADER_FILES | NTOS_BOOT_LOADER_FILES |
typedef struct _NTOS_BOOT_LOADER_FILES * | PNTOS_BOOT_LOADER_FILES |
typedef struct _BOOT_STORE_CONTEXT | BOOT_STORE_CONTEXT |
typedef struct _BOOT_STORE_CONTEXT * | PBOOT_STORE_CONTEXT |
typedef struct _BOOT_STORE_INI_CONTEXT | BOOT_STORE_INI_CONTEXT |
typedef struct _BOOT_STORE_INI_CONTEXT * | PBOOT_STORE_INI_CONTEXT |
typedef struct _BOOT_STORE_BCDREG_CONTEXT | BOOT_STORE_BCDREG_CONTEXT |
typedef struct _BOOT_STORE_BCDREG_CONTEXT * | PBOOT_STORE_BCDREG_CONTEXT |
Variables | |
NTOS_BOOT_LOADER_FILES | NtosBootLoaders [] |
typedef struct _BOOT_STORE_CONTEXT * PBOOT_STORE_CONTEXT |
NTSTATUS AddBootStoreEntry | ( | IN PVOID | Handle, |
IN PBOOT_STORE_ENTRY | BootEntry, | ||
IN ULONG_PTR | BootEntryKey | ||
) |
Definition at line 854 of file bldrsup.c.
Referenced by CreateFreeLoaderIniForReactOSAndBootSector(), CreateFreeLoaderReactOSEntries(), UpdateBootIni(), and UpdateFreeLoaderIni().
C_ASSERT | ( | _countof(NtosBootLoaders) | = =BldrTypeMax | ) |
Definition at line 754 of file bldrsup.c.
Referenced by CreateFreeLoaderIniForReactOS(), CreateFreeLoaderIniForReactOSAndBootSector(), FindNTOSInstallations(), UpdateBootIni(), and UpdateFreeLoaderIni().
Definition at line 603 of file bldrsup.c.
|
static |
Definition at line 208 of file bldrsup.c.
Referenced by OpenIniBootLoaderStore().
|
static |
Definition at line 783 of file bldrsup.c.
Referenced by AddBootStoreEntry().
Definition at line 952 of file bldrsup.c.
NTSTATUS EnumerateBootStoreEntries | ( | IN PVOID | Handle, |
IN PENUM_BOOT_ENTRIES_ROUTINE | EnumBootEntriesRoutine, | ||
IN PVOID Parameter | OPTIONAL | ||
) |
Definition at line 1486 of file bldrsup.c.
Referenced by FindNTOSInstallations(), UpdateBootIni(), and UpdateFreeLoaderIni().
NTSTATUS FindBootStore | ( | IN HANDLE | PartitionDirectoryHandle, |
IN BOOT_STORE_TYPE | Type, | ||
OUT PULONG VersionNumber | OPTIONAL | ||
) |
Definition at line 137 of file bldrsup.c.
Referenced by FindNTOSInstallations().
|
static |
Definition at line 1175 of file bldrsup.c.
NTSTATUS ModifyBootStoreEntry | ( | IN PVOID | Handle, |
IN PBOOT_STORE_ENTRY | BootEntry | ||
) |
Definition at line 986 of file bldrsup.c.
|
static |
Definition at line 1352 of file bldrsup.c.
NTSTATUS OpenBootStore | ( | OUT PVOID * | Handle, |
IN PCWSTR | SystemPartition, | ||
IN BOOT_STORE_TYPE | Type, | ||
IN BOOLEAN | CreateNew | ||
) |
Definition at line 742 of file bldrsup.c.
Referenced by CreateFreeLoaderIniForReactOS(), CreateFreeLoaderIniForReactOSAndBootSector(), UpdateBootIni(), and UpdateFreeLoaderIni().
NTSTATUS OpenBootStore_UStr | ( | OUT PVOID * | Handle, |
IN PUNICODE_STRING | SystemPartitionPath, | ||
IN BOOT_STORE_TYPE | Type, | ||
IN BOOLEAN | CreateNew | ||
) |
Definition at line 691 of file bldrsup.c.
Referenced by OpenBootStore().
NTSTATUS OpenBootStoreByHandle | ( | OUT PVOID * | Handle, |
IN HANDLE | PartitionDirectoryHandle, | ||
IN BOOT_STORE_TYPE | Type, | ||
IN BOOLEAN | CreateNew | ||
) |
Definition at line 664 of file bldrsup.c.
Referenced by FindNTOSInstallations(), and OpenBootStore_UStr().
|
static |
Definition at line 266 of file bldrsup.c.
Definition at line 570 of file bldrsup.c.
Referenced by CloseIniBootLoaderStore().
NTSTATUS QueryBootStoreEntry | ( | IN PVOID | Handle, |
IN ULONG_PTR | BootEntryKey, | ||
OUT PBOOT_STORE_ENTRY | BootEntry | ||
) |
Definition at line 1020 of file bldrsup.c.
Definition at line 1055 of file bldrsup.c.
NTSTATUS SetBootStoreOptions | ( | IN PVOID | Handle, |
IN PBOOT_STORE_OPTIONS | BootOptions, | ||
IN ULONG | FieldsToChange | ||
) |
Definition at line 1123 of file bldrsup.c.
Referenced by CreateFreeLoaderReactOSEntries().
Definition at line 531 of file bldrsup.c.
Referenced by CloseIniBootLoaderStore().
NTOS_BOOT_LOADER_FILES NtosBootLoaders[] |
Definition at line 122 of file bldrsup.c.
Referenced by CloseBootStore(), DeleteBootStoreEntry(), EnumerateBootStoreEntries(), FindBootStore(), ModifyBootStoreEntry(), OpenBootStore_UStr(), OpenBootStoreByHandle(), OpenIniBootLoaderStore(), QueryBootStoreEntry(), and SetBootStoreOptions().