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 / HDX401.ATB / ADDR.C < prev    next >
Encoding:
C/C++ Source or Header  |  2001-02-09  |  427 b   |  21 lines

  1. /* addr.c */
  2. /*  04-Feb-88    ml.    Get addresses of all dialogues. */
  3.  
  4. #include "obdefs.h"
  5. #include "mydefs.h"
  6. #include "hdx.h"
  7. #include "addr.h"
  8.  
  9. getalladdr()
  10. {
  11.  
  12.     /* Dialogues for Format */        
  13.     if (rsrc_gaddr(0, FWARNING, &fwarning) == 0
  14.         || rsrc_gaddr(0, FMTMSG, &fmtmsg) == 0
  15.         || rsrc_gaddr(0, DMRKMSG, &dmrkmsg) == 0
  16.          || rsrc_gaddr(0, PARTMSG, &partmsg) == 0)
  17.         return ERROR;
  18.     
  19.     return OK;
  20. }
  21.