home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / sys / mac / programm / 15210 < prev    next >
Encoding:
Internet Message Format  |  1992-09-08  |  1.4 KB

  1. Path: sparky!uunet!munnari.oz.au!yoyo.aarnet.edu.au!huon.itd.adelaide.edu.au!huon.itd.adelaide.edu.au!usenet
  2. From: ckloeden@f.itd.adelaide.edu.au (Craig Kloeden)
  3. Newsgroups: comp.sys.mac.programmer
  4. Subject: Re: Predefined Constants for gestaltMachineType...
  5. Message-ID: <18kb5gINNck7@huon.itd.adelaide.edu.au>
  6. Date: 9 Sep 92 08:04:00 GMT
  7. References: <1992Sep8.174820.25879@utkux1.utk.edu>
  8. Organization: University of Adelaide
  9. Lines: 19
  10. NNTP-Posting-Host: mac146.mednorth.adelaide.edu.au
  11. X-UserAgent: Nuntius v1.1.1d9
  12. X-XXDate: Wed, 9 Sep 92 01:31:49 GMT
  13.  
  14. In article <1992Sep8.174820.25879@utkux1.utk.edu> Danny W. McCampbell,
  15. danny@utkux1.utk.edu writes:
  16. >In IM Vol VI the predefined constants for the gestaltMachineType 
  17. >go up to the Mac LC.  Does anyone know the constants for the
  18. >PowerBooks?  I am sure there is an easy way to find them out 
  19. >since Apple comes out with new Macs every now and then.  Thanks
  20. >in advance.  
  21.  
  22. I believe there is a call defined in IM VI for looking up the
  23. machine name in the System file given its gestaltMachineType.
  24.  
  25. This should(?) always work even for new macs since they will
  26. presumably have to run a system that knows about them.
  27.  
  28. ---
  29.  Craig Kloeden                    E-Mail: ckloeden@f.itd.adelaide.edu.au
  30.  Road Accident Research Unit      Phone : +61 8 228 5885
  31.  The University of Adelaide       Fax   : +61 8 232 4995
  32.  Australia                        Disclaimer: Not this little black duck!
  33.