home *** CD-ROM | disk | FTP | other *** search
/ No Fragments Archive 12: Textmags & Docs / nf_archive_12.iso / MAGS / SOURCES / ATARI_SRC.ZIP / atari source / HDX_BACK / HDX302.ST / IBMADDR.C < prev    next >
Encoding:
C/C++ Source or Header  |  2001-02-09  |  600 b   |  26 lines

  1. /* ibmaddr.c */
  2. /* 9/13/88 jye. Get addresses of relate to IBM partition dialogues */
  3.  
  4. #include "obdefs.h"
  5. #include "mydefs.h"
  6. #include "ibm.h"
  7. #include "hdx.h"
  8. #include "addr.h"
  9. #include "ipart.h"
  10.  
  11. getibmaddr()
  12.  
  13. {
  14. /* get addresses of selection dialogues from resource file */
  15.  
  16.     if (rsrc_gaddr(0, MACHTYPE, &machtype) == 0 
  17.         || rsrc_gaddr(0, MAXLOGMS, &maxlogms) == 0
  18.         || rsrc_gaddr(5, NEEDBOOT, &needboot) == 0
  19.         || rsrc_gaddr(0, SCRPNL, &scrpnl) == 0
  20.         || rsrc_gaddr(0, EXPPNL, &exppnl) == 0
  21.         || rsrc_gaddr(0, IBMPNL, &ibmpnl) == 0)        {
  22.             return ERROR;
  23.     }
  24.     return OK;
  25. }
  26.