#ifndef _NTBCD_H
/**
* Macro to extract the BCD (Boot Configuration Data) object type from a given DataType value.
* The macro shifts the input DataType 28 bits to the right and masks the result with 0xF,
* effectively extracting the upper 4 bits, which represent the BCD object type.
* \param DataType The value containing the BCD object type in its upper 4 bits.
* \return The extracted BCD_OBJECT_TYPE value.
*/
#define GET_BCD_OBJECT_TYPE(DataType) \
((BCD_OBJECT_TYPE)(((((ULONG)(DataType))) >> 28) & 0xF))
View code on GitHubNo description available.