ReactOS 0.4.16-dev-297-gc569aee
|
Go to the source code of this file.
Classes | |
struct | _BOOT_STORE_OPTIONS |
struct | _BOOT_STORE_ENTRY |
struct | _NTOS_OPTIONS |
struct | _BOOTSECTOR_OPTIONS |
Macros | |
#define | BOOT_OPTIONS_TIMEOUT 1 |
#define | BOOT_OPTIONS_NEXT_BOOTENTRY_KEY 2 |
#define | MAKESTRKEY(i) ((ULONG_PTR)(i)) |
#define | MAKEINTKEY(i) ((ULONG_PTR)((USHORT)(i))) |
#define | IS_INTKEY(i) (((ULONG_PTR)(i) >> 16) == 0) |
#define | NTOS_OPTIONS_SIGNATURE "NTOS_5\0\0" |
#define | BOOTSECTOR_OPTIONS_SIGNATURE "BootSect" |
Typedefs | |
typedef enum _BOOT_STORE_TYPE | BOOT_STORE_TYPE |
typedef struct _BOOT_STORE_OPTIONS | BOOT_STORE_OPTIONS |
typedef struct _BOOT_STORE_OPTIONS * | PBOOT_STORE_OPTIONS |
typedef struct _BOOT_STORE_ENTRY | BOOT_STORE_ENTRY |
typedef struct _BOOT_STORE_ENTRY * | PBOOT_STORE_ENTRY |
typedef struct _NTOS_OPTIONS | NTOS_OPTIONS |
typedef struct _NTOS_OPTIONS * | PNTOS_OPTIONS |
typedef struct _BOOTSECTOR_OPTIONS | BOOTSECTOR_OPTIONS |
typedef struct _BOOTSECTOR_OPTIONS * | PBOOTSECTOR_OPTIONS |
typedef NTSTATUS(NTAPI * | PENUM_BOOT_ENTRIES_ROUTINE) (IN BOOT_STORE_TYPE Type, IN PBOOT_STORE_ENTRY BootEntry, IN PVOID Parameter OPTIONAL) |
typedef enum _BOOT_STORE_OPENMODE | BOOT_STORE_OPENMODE |
typedef enum _BOOT_STORE_ACCESS | BOOT_STORE_ACCESS |
Enumerations | |
enum | _BOOT_STORE_TYPE { FreeLdr , NtLdr , BldrTypeMax } |
enum | _BOOT_STORE_OPENMODE { BS_CheckExisting = 0 , BS_CreateNew = 1 , BS_OpenExisting = 2 , BS_OpenAlways = 3 , BS_RecreateExisting = 4 , BS_CreateAlways = 5 } |
enum | _BOOT_STORE_ACCESS { BS_ReadAccess = 1 , BS_WriteAccess = 2 , BS_ReadWriteAccess = (BS_ReadAccess | BS_WriteAccess) } |
typedef enum _BOOT_STORE_ACCESS BOOT_STORE_ACCESS |
typedef struct _BOOT_STORE_ENTRY BOOT_STORE_ENTRY |
typedef enum _BOOT_STORE_TYPE BOOT_STORE_TYPE |
typedef struct _NTOS_OPTIONS NTOS_OPTIONS |
typedef struct _BOOT_STORE_ENTRY * PBOOT_STORE_ENTRY |
typedef struct _BOOT_STORE_OPTIONS * PBOOT_STORE_OPTIONS |
typedef struct _BOOTSECTOR_OPTIONS * PBOOTSECTOR_OPTIONS |
typedef struct _NTOS_OPTIONS * PNTOS_OPTIONS |
Enumerator | |
---|---|
BS_ReadAccess | |
BS_WriteAccess | |
BS_ReadWriteAccess |
Definition at line 141 of file bldrsup.h.
Enumerator | |
---|---|
BS_CheckExisting | |
BS_CreateNew | |
BS_OpenExisting | |
BS_OpenAlways | |
BS_RecreateExisting | |
BS_CreateAlways |
Definition at line 131 of file bldrsup.h.
Enumerator | |
---|---|
FreeLdr | |
NtLdr | |
BldrTypeMax |
Definition at line 13 of file bldrsup.h.
NTSTATUS AddBootStoreEntry | ( | IN PVOID | Handle, |
IN PBOOT_STORE_ENTRY | BootEntry, | ||
IN ULONG_PTR | BootEntryKey | ||
) |
Definition at line 1094 of file bldrsup.c.
Referenced by CreateFreeLoaderIniForReactOSAndBootSector(), CreateFreeLoaderReactOSEntries(), UpdateBootIni(), and UpdateFreeLoaderIni().
Definition at line 1014 of file bldrsup.c.
Referenced by CreateFreeLoaderIniForReactOS(), CreateFreeLoaderIniForReactOSAndBootSector(), FindNTOSInstallations(), UpdateBootIni(), and UpdateFreeLoaderIni().
Definition at line 1192 of file bldrsup.c.
NTSTATUS EnumerateBootStoreEntries | ( | IN PVOID | Handle, |
IN PENUM_BOOT_ENTRIES_ROUTINE | EnumBootEntriesRoutine, | ||
IN PVOID Parameter | OPTIONAL | ||
) |
Definition at line 1703 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 151 of file bldrsup.c.
Referenced by FindNTOSInstallations().
NTSTATUS ModifyBootStoreEntry | ( | IN PVOID | Handle, |
IN PBOOT_STORE_ENTRY | BootEntry | ||
) |
Definition at line 1226 of file bldrsup.c.
NTSTATUS OpenBootStore | ( | _Out_ PVOID * | Handle, |
_In_ PCWSTR | SystemPartition, | ||
_In_ BOOT_STORE_TYPE | Type, | ||
_In_ BOOT_STORE_OPENMODE | OpenMode, | ||
_In_ BOOT_STORE_ACCESS | Access | ||
) |
Definition at line 997 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_ BOOT_STORE_OPENMODE | OpenMode, | ||
_In_ BOOT_STORE_ACCESS | Access | ||
) |
Definition at line 940 of file bldrsup.c.
Referenced by OpenBootStore().
NTSTATUS OpenBootStoreByHandle | ( | _Out_ PVOID * | Handle, |
_In_ HANDLE | PartitionDirectoryHandle, | ||
_In_ BOOT_STORE_TYPE | Type, | ||
_In_ BOOT_STORE_OPENMODE | OpenMode, | ||
_In_ BOOT_STORE_ACCESS | Access | ||
) |
Definition at line 897 of file bldrsup.c.
Referenced by FindNTOSInstallations(), and OpenBootStore_UStr().
NTSTATUS QueryBootStoreEntry | ( | IN PVOID | Handle, |
IN ULONG_PTR | BootEntryKey, | ||
OUT PBOOT_STORE_ENTRY | BootEntry | ||
) |
Definition at line 1260 of file bldrsup.c.
Definition at line 1295 of file bldrsup.c.
NTSTATUS SetBootStoreOptions | ( | IN PVOID | Handle, |
IN PBOOT_STORE_OPTIONS | BootOptions, | ||
IN ULONG | FieldsToChange | ||
) |
Definition at line 1356 of file bldrsup.c.
Referenced by CreateFreeLoaderReactOSEntries().