home *** CD-ROM | disk | FTP | other *** search
/ The Datafile PD-CD 4 / DATAFILE_PDCD4.iso / psion / opp16f_zip / INCLUDE / OS / FIL.OPH < prev    next >
Encoding:
Text File  |  1995-12-21  |  1.2 KB  |  38 lines

  1. #ifndef OS_FIL_OPH
  2. #define OS_FIL_OPH
  3.  
  4. #include <os\call>
  5.  
  6. #define FilManager        $87
  7.  
  8. #define FilChangeDirectory    $1100
  9. #define FilConnect        $0000
  10. #define FilDelete        $0600
  11. #define FilExecute        $0100
  12. #define FilLocChanged        $1400
  13. #define FilLocDevice        $1500
  14. #define FilLocPdd        $1600
  15. #define FilMakeDirectory    $0C00
  16. #define FilOpenUnique        $0D00
  17. #define FilParse        $0200
  18. #define FilPathGet        $0300
  19. #define FilPathGetById        $1000
  20. #define FilPathSet        $0400
  21. #define FilPathTest        $0500
  22. #define FilRename        $0700
  23. #define FilSetFileDate        $1300
  24. #define FilSetInitialPath    $1200
  25. #define FilStatusDevice        $0A00
  26. #define FilStatusGet        $0800
  27. #define FilStatusSet        $0900
  28. #define FilStatusSystem        $0B00
  29. #define FilSystemAttach        $0E00
  30. #define FilSystemDetach        $0F00
  31.  
  32. #define FEXEC(prg,cmdl,stat,pid)    BX=prg :CX=cmdl :DX=stat :DI=pid :OSSUB(FilManager,FilExecute)
  33. #define FSTATGET(name,buf,stat)        BX=name :CX=buf :DX=stat :SI=0 :DI=0 :OSSUB(FilManager,FilStatusGet)
  34. #define FSTATSET(name,mask,stat,attr)    BX=name :CX=mask :DX=stat :SI=0 :DI=attr :OSSUB(FilManager,ilStatusSet)
  35. #define FSTATDEV(name,buf,stat)        BX=name :CX=buf :DX=stat :OSSUB(FilManager,FilStatusDevice)
  36.  
  37. #endif
  38.