Strictly speaking, UInt64 would be the correct translation of QWORD, but I don't think it'll generally make a big difference if Int64 is used instead. Still, I'm not sure why UInt64 wasn't used in BASS.PAS. Perhaps Int64 was introduced in an earlier Delphi version than UInt64?