home *** CD-ROM | disk | FTP | other *** search
/ Dream 45 / Amiga_Dream_45.iso / Amiga / emulation / d64edir.lha / inc / exec / devices.h next >
Text File  |  1997-05-06  |  758b  |  27 lines

  1. {$ifndef EXEC_DEVICES_H}
  2. CONST EXEC_DEVICES_H=0;
  3. {$ifndef EXEC_LIBRARIES_H;incl"exec/libraries.h";endif}
  4. {$ifndef EXEC_PORTS_H;incl"exec/ports.h";endif}
  5. TYPE p_Device = ^Device;
  6.      Device = record
  7.                 dd_Library:_Library
  8.               end;
  9.      p_Unit = ^Unit;
  10.      Unit = record
  11.               unit_MsgPort: MsgPort;
  12.               unit_flags,unit_pad: Byte;
  13.               unit_OpenCnt: Word
  14.             end;
  15. CONST UNITF_ACTIVE = $1;
  16.       UNITF_INTASK = $2;
  17. {$endif}
  18. {$ifndef EXEC_DEVICES_LIB}
  19. Const EXEC_DEVICES_LIB=0;
  20. Library SysBase:
  21. -432: Procedure AddDevice(a1: p_Device);
  22. -438: Procedure RemDevice(a1: p_Device);
  23. -444: Function OpenDevice(a0: stryng; d0: Long; a1: Ptr; d1: Long): Long;
  24. -450: Procedure CloseDevice(a1: Ptr)
  25. end;
  26. {$endif}
  27.