BcdOpenStore - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
#ifndef _NTBCD_H

/**
 * The BcdOpenStore routine opens an explicit BCD path or, when BcdFilePath is NULL and offline flag 0x1 is
 * clear, the system store. NULL with offline flag 0x1 is rejected. Opening an explicit file can delete
 * GuidCache and clear the system-store marker; this is not guaranteed to be a read-only operation. Close
 * only with BcdCloseStore.
 *
 * \param BcdFilePath Optional path to the BCD store file.
 * \param BcdOpenFlags Flags controlling how the store is opened.
 * \param BcdStoreHandle Receives the opened store handle.
 * \return NTSTATUS Successful or errant status.
 */
NTSYSAPI
NTSTATUS
NTAPI
BcdOpenStore(
    _In_opt_ PCUNICODE_STRING BcdFilePath,
    _In_ BCD_OPEN_FLAGS BcdOpenFlags,
    _Out_ PHANDLE BcdStoreHandle
    );

#endif

View code on GitHub

NtDoc

No description available.