BcdSetLogging - NtDoc

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

/**
 * The BcdSetLogging routine installs a process-local BCD diagnostic callback, or removes it when
 * BcdMessageCallbackRoutine is NULL. Installing over an existing callback and removing an absent callback
 * return STATUS_INVALID_PARAMETER. Registration stores a borrowed callback address; keep its code alive
 * until removal. No store is opened by this entry.
 *
 * \param BcdLoggingLevel Diagnostic message level to report.
 * \param BcdMessageCallbackRoutine Optional diagnostic callback; NULL removes it.
 * \return NTSTATUS Successful or errant status.
 */
NTSYSAPI
NTSTATUS
NTAPI
BcdSetLogging(
    _In_ BCD_MESSAGE_TYPE BcdLoggingLevel,
    _In_opt_ PBCD_MESSAGE_CALLBACK BcdMessageCallbackRoutine
    );

#endif

View code on GitHub

NtDoc

No description available.