h6. [[CDFS]] h6(. » [[CDFS SWI Calls|SWI Calls]] h6((. » CDFS_GiveFileType h2. CDFS_GiveFileType h5. (SWI &41E85) |_<^{width:4em}. Entry || |<^. R0 |<^. Pointer to a filename| |_<^{width:4em}. Exit || |<^. R0 |<^. Preserved| |<^. R1 |<^. RISC OS FileType (0-&FFF)| h4. Use Converts a PC style filename (eg README.TXT) into a RISC OS equivalent FileType number. If no matching filetype is found, R1=0 on exit. h4. Notes This SWI is deprecated, use [[MimeMap_Translate]] in preference. Originally CDFS managed its own list of filetype mappings, once the [[MimeMap]] module was introduced CDFS was changed to just act as a wrapper around that. h4. See also * [[CDFS Technical Details]] * [[MimeMap_Translate]]