41#define BOOT_OPTIONS_TIMEOUT 1
42#define BOOT_OPTIONS_NEXT_BOOTENTRY_KEY 2
58#define MAKESTRKEY(i) ((ULONG_PTR)(i))
59#define MAKEINTKEY(i) ((ULONG_PTR)((USHORT)(i)))
60#define IS_INTKEY(i) (((ULONG_PTR)(i) >> 16) == 0)
102#define NTOS_OPTIONS_SIGNATURE "NTOS_5\0\0"
114#define BOOTSECTOR_OPTIONS_SIGNATURE "BootSect"
PPARTENTRY SystemPartition
struct _BOOTSECTOR_OPTIONS BOOTSECTOR_OPTIONS
struct _BOOT_STORE_OPTIONS * PBOOT_STORE_OPTIONS
struct _NTOS_OPTIONS NTOS_OPTIONS
NTSTATUS DeleteBootStoreEntry(IN PVOID Handle, IN ULONG_PTR BootEntryKey)
enum _BOOT_STORE_ACCESS BOOT_STORE_ACCESS
NTSTATUS OpenBootStoreByHandle(_Out_ PVOID *Handle, _In_ HANDLE PartitionDirectoryHandle, _In_ BOOT_STORE_TYPE Type, _In_ BOOT_STORE_OPENMODE OpenMode, _In_ BOOT_STORE_ACCESS Access)
NTSTATUS QueryBootStoreEntry(IN PVOID Handle, IN ULONG_PTR BootEntryKey, OUT PBOOT_STORE_ENTRY BootEntry)
NTSTATUS OpenBootStore(_Out_ PVOID *Handle, _In_ PCWSTR SystemPartition, _In_ BOOT_STORE_TYPE Type, _In_ BOOT_STORE_OPENMODE OpenMode, _In_ BOOT_STORE_ACCESS Access)
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)
struct _BOOT_STORE_OPTIONS BOOT_STORE_OPTIONS
struct _NTOS_OPTIONS * PNTOS_OPTIONS
NTSTATUS SetBootStoreOptions(IN PVOID Handle, IN PBOOT_STORE_OPTIONS BootOptions, IN ULONG FieldsToChange)
struct _BOOT_STORE_ENTRY * PBOOT_STORE_ENTRY
NTSTATUS(NTAPI * PENUM_BOOT_ENTRIES_ROUTINE)(IN BOOT_STORE_TYPE Type, IN PBOOT_STORE_ENTRY BootEntry, IN PVOID Parameter OPTIONAL)
NTSTATUS AddBootStoreEntry(IN PVOID Handle, IN PBOOT_STORE_ENTRY BootEntry, IN ULONG_PTR BootEntryKey)
enum _BOOT_STORE_OPENMODE BOOT_STORE_OPENMODE
NTSTATUS CloseBootStore(_In_ PVOID Handle)
struct _BOOTSECTOR_OPTIONS * PBOOTSECTOR_OPTIONS
NTSTATUS ModifyBootStoreEntry(IN PVOID Handle, IN PBOOT_STORE_ENTRY BootEntry)
enum _BOOT_STORE_TYPE BOOT_STORE_TYPE
NTSTATUS EnumerateBootStoreEntries(IN PVOID Handle, IN PENUM_BOOT_ENTRIES_ROUTINE EnumBootEntriesRoutine, IN PVOID Parameter OPTIONAL)
struct _BOOT_STORE_ENTRY BOOT_STORE_ENTRY
NTSTATUS QueryBootStoreOptions(IN PVOID Handle, IN OUT PBOOT_STORE_OPTIONS BootOptions)
NTSTATUS FindBootStore(IN HANDLE PartitionDirectoryHandle, IN BOOT_STORE_TYPE Type, OUT PULONG VersionNumber OPTIONAL)
PULONG MinorVersion OPTIONAL
UCHAR OsOptions[ANYSIZE_ARRAY]
ULONG_PTR NextBootEntryKey
ULONG_PTR CurrentBootEntryKey
_Inout_opt_ PVOID Parameter