struct JLINK_RTTERMINAL_BUFDESC { // fields int BufferIndex; io.U32 Direction; char acName[]; io.U32 SizeOfBuffer; io.U32 Flags; };