home *** CD-ROM | disk | FTP | other *** search
/ ANews 2 / AnewsCD2.iso / Materiels / AteoConcepts / DOC_DEV / AtéoBus.dev / ateobus.h < prev    next >
C/C++ Source or Header  |  1999-10-13  |  844b  |  36 lines

  1. #ifndef ATEOBUS_H
  2. #define ATEOBUS_H
  3.  
  4. /*
  5. ** $VER: ateobus.h 3.0 (15.04.99)
  6. **
  7. ** for use with ateobus.library 3.0
  8. **
  9. ** (C) Copyright 1998-99 Atéo Concepts SARL
  10. **     All Rights Reserved
  11. */
  12.  
  13.  
  14. #define ATEOBUS_SPACE 0x01
  15. #define ISA_SPACE     0x02
  16. #define IO_SPACE      0x10
  17. #define MEMORY_SPACE  0x20
  18.  
  19. #define AC_IRQLEVELB    1
  20. #define AC_IRQLEVELF    (1<<AC_IRQLEVELB)
  21.  
  22. struct AteoBusPrefs {
  23.    char DeviceName[32];          /* key device */
  24.    unsigned short int   Unit;    /* key unit */
  25.    unsigned char  KeyType;       /* key type */
  26.    unsigned char  Pad;
  27.    unsigned short int   Version; /* file version, must be >= to the StratAteoBus version */
  28.    };
  29.  
  30. /* --- KeyType ---- */
  31. #define  KEY_HARD_DRIVE       0x80  /* si actif, la clef est base sur le disque dur, sinon sur ...*/
  32. #define  KEY_UNKNOW           0x40
  33.  
  34.  
  35. #endif /* ATEOBUS_H */
  36.