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