Recode FmFileAttribute structure and GetFileAttributes
As per Bada APPS analysis.