home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / sys / mac / programm / 14185 < prev    next >
Encoding:
Text File  |  1992-08-18  |  1.4 KB  |  35 lines

  1. Newsgroups: comp.sys.mac.programmer
  2. Path: sparky!uunet!munnari.oz.au!uniwa!bilby.cs.uwa.oz.au!nuntius
  3. From: Quinn <quinn@cs.uwa.edu.au>
  4. Subject: Re: Mounting network volumes
  5. Message-ID: <1992Aug19.011021.12836@bilby.cs.uwa.edu.au>
  6. Sender: usenet@bilby.cs.uwa.edu.au
  7. Nntp-Posting-Host: eriodon
  8. Organization: The University of Western Australia
  9. X-Useragent: Nuntius v1.1
  10. References: <16rl7rINN7kf@agate.berkeley.edu>
  11. Date: Wed, 19 Aug 1992 01:10:21 GMT
  12. Lines: 21
  13.  
  14. In article <16rl7rINN7kf@agate.berkeley.edu> Michael A. Ramirez,
  15. mar@ocf.berkeley.edu writes:
  16. >    I would like to know how I can mount network volumes within my program.
  17. >I am curious on which trap calls will allow me to do this. Thanks in
  18. advance.
  19.  
  20. PBVolumeMount IM VI
  21.  
  22. The standard procedure for mounting volumes programmatically is to load
  23. and call one of the various XCMDs that do the job (easy stuff). 
  24. Alternatively if you're happy to require System 7 (and you can figure out
  25. how to call them (-: ) you can use PBGetVolMountInfo and PBVolumeMount
  26. (documented in IM VI 25-48).
  27.  
  28. The key line there is "You can use the PBVolumeMount function to mount a
  29. volume, using either the information returned by the PBGetVolMountInfo or
  30. a structure you filled in yourself."
  31.  
  32. Quinn "The Eskimo!"      <quinn@cs.uwa.edu.au>     "Support HAVOC!"
  33. Department of Computer Science, The University of Western Australia
  34.   -- We have the technology.
  35.