BcdQueryObject - NtDoc

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

/**
 * The BcdQueryObject routine reads an object description and/or GUID. At least one output is required.
 * BcdVersion must equal 1 when Description is requested; identifier-only queries bypass that version check.
 * Both outputs NULL reject before acquiring the synchronization mutant or using the object handle.
 *
 * \param BcdObjectHandle BCD object handle.
 * \param BcdVersion Object description version.
 * \param Description Optional output for the object description.
 * \param Identifier Optional output for the object identifier.
 * \return NTSTATUS Successful or errant status.
 */
NTSYSAPI
NTSTATUS
NTAPI
BcdQueryObject(
    _In_ HANDLE BcdObjectHandle,
    _In_ ULONG BcdVersion, // BCD_OBJECT_DESCRIPTION_VERSION
    _Out_opt_ PBCD_OBJECT_DESCRIPTION Description,
    _Out_opt_ PGUID Identifier
    );

#endif

View code on GitHub

NtDoc

No description available.