MAKE_BCDE_DATA_TYPE - NtDoc

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

/**
 * Macro to construct a BCD element data type value from its class, format, and subtype.
 *
 * \param Class The class of the BCD element.
 * \param Format The format of the BCD element data.
 * \param Subtype The subtype identifier for the element.
 * \return A ULONG value representing the combined BCD element data type.
 */
#define MAKE_BCDE_DATA_TYPE(Class, Format, Subtype) \
    (((((ULONG)(Class)) & 0xF) << 28) | ((((ULONG)(Format)) & 0xF) << 24) | (((ULONG)(Subtype)) & 0x00FFFFFF))

#endif

View code on GitHub

NtDoc

No description available.