BcdGetElementDataWithFlags - NtDoc

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

/**
 * The BcdGetElementDataWithFlags function retrieves the data for a specified element in a BCD object, using additional flags.
 *
 * \param BcdObjectHandle Handle to the BCD object.
 * \param BcdElement The element type to retrieve (BCD_ELEMENT_DATATYPE).
 * \param BcdFlags Flags that control the retrieval behavior.
 * \param Buffer Optional pointer to a buffer that receives the element data. If this parameter is NULL, the function will return the required buffer size in BufferSize.
 * \param BufferSize On input, specifies the size of the buffer in bytes. On output, receives the required or actual size of the buffer.
 * \return NTSTATUS Successful or errant status.
 */
NTSYSAPI
NTSTATUS
NTAPI
BcdGetElementDataWithFlags(
    _In_ HANDLE BcdObjectHandle,
    _In_ ULONG BcdElement, // BCD_ELEMENT_DATATYPE
    _In_ BCD_FLAGS BcdFlags,
    _Out_writes_bytes_opt_(*BufferSize) PVOID Buffer,
    _Inout_ PULONG BufferSize
    );

#endif

View code on GitHub

No description available.