BcdGetSystemStorePath - NtDoc

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

/**
 * The BcdGetSystemStorePath routine returns an allocated, NUL-terminated system-store path through a
 * required output slot. Free the returned string itself with RtlFreeHeap(RtlProcessHeap(),0,string), not the
 * address of the output slot. Firmware/platform lookup failures can leave the slot unchanged; initialize it
 * before calling.
 *
 * \param BcdSystemStorePath Receives an allocated system-store path.
 * \return NTSTATUS Successful or errant status.
 */
NTSYSAPI
NTSTATUS
NTAPI
BcdGetSystemStorePath(
    _Outptr_ PWSTR* BcdSystemStorePath // Free *BcdSystemStorePath with RtlFreeHeap(RtlProcessHeap(), 0, ...).
    );

#endif

View code on GitHub

NtDoc

No description available.