IDA SDK
Nontrivial types

bits 0..5: base type
bits 6..7: const & volatile bits
bit 8: 'is_typeref' bit
bits 9..31: type detail idx