BcdEnumerateElementTypes - NtDoc

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

/**
 * The BcdEnumerateElementTypes function enumerates the element types present in a specified BCD object.
 *
 * \param BcdObjectHandle Handle to the BCD object whose element types are to be enumerated.
 * \param Buffer Optional pointer to a buffer that receives an array of BCD_ELEMENT_DATATYPE values.
 * 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.
 * \param ElementCount Receives the number of element types returned in the buffer.
 * \return NTSTATUS Successful or errant status.
 */
NTSYSAPI
NTSTATUS
NTAPI
BcdEnumerateElementTypes(
    _In_ HANDLE BcdObjectHandle,
    _Out_writes_bytes_opt_(*BufferSize) PVOID Buffer, // BCD_ELEMENT_DATATYPE[]
    _Inout_ PULONG BufferSize,
    _Out_ PULONG ElementCount
    );

#endif

View code on GitHub

No description available.