inline read onlyDUPLICATE:HBMemoryMode = 0
inline read onlyREADONLY:HBMemoryMode = 1
inline read onlyREADONLY_MAY_MAKE_WRITABLE:HBMemoryMode = 3
inline read onlyWRITABLE:HBMemoryMode = 2