BM_VERSION_CODE macro reference
BMAPI 1.14.0.42 · bm_usb_def.h
Definition
Section titled “Definition”#define BM_VERSION_CODE(version) (\ (((uint32_t)((version)[0])) << 24) |\ (((uint32_t)((version)[1])) << 16) |\ (((uint32_t)((version)[2])) << 8) |\ (((uint32_t)((version)[3])) << 0) )Value:
(\(((uint32_t)((version)[0])) << 24) |\(((uint32_t)((version)[1])) << 16) |\(((uint32_t)((version)[2])) << 8) |\(((uint32_t)((version)[3])) << 0) )Helper macro to format a 32-bit version code from channelinfo.version, which is an 8-bit array.
Source: BMAPI 1.14.0.42 released Doxygen documentation. The headers and help files bundled with an installed SDK define its version-specific contract.