If the function succeeds the return value will be the CAP file type
(see HNCapFormat).
Description:
Use FAdpGetCapFormat to predetermine CAP file format type before creation of it (see
FAdpCreateFile), or to detect it after it is opened
(see FAdpOpenFile).