alcyone/BOOT/ENVIRON/APP/BOOTMGR/bcd.c
2024-10-05 15:39:04 -04:00

57 lines
769 B
C

/*++
Copyright (c) 2024, Quinn Stephens.
Provided under the BSD 3-Clause license.
Module Name:
bcd.c
Abstract:
BCD (Boot Configuration Data, aka Boot Data Store) routines.
--*/
#include "bootmgr.h"
NTSTATUS
BmOpenDataStore (
IN OUT PHANDLE Handle
)
/*++
Routine Description:
Opens the boot configuration data store.
Arguments:
Handle - Pointer to a HANDLE that recieves the data store handle.
Return Value:
STATUS_SUCCESS.
--*/
{
*Handle = INVALID_HANDLE_VALUE;
/*
NTSTATUS Status;
PBOOT_DEVICE Device;
PWSTR FilePath;
BOOLEAN FilePathSet;
Device = NULL;
FilePath = NULL;
FilePathSet = FALSE;
return BmGetDataStorePath(&Device, &FilePath, &FilePathSet);
*/
return STATUS_SUCCESS;
}