home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!olivea!apple!apple!grobbins
- From: grobbins@Apple.COM (Grobbins)
- Newsgroups: comp.sys.mac.programmer
- Subject: Re: Determining if volume is local
- Summary: PBHGetVolParms
- Message-ID: <71125@apple.Apple.COM>
- Date: 12 Aug 92 16:25:52 GMT
- References: <1992Aug11.073406.800@cubetech.com>
- Organization: Apple Computer, Inc., Mac Software Division
- Lines: 12
-
- In article <1992Aug11.073406.800@cubetech.com> andrew@cubetech.com (Andrew Loewenstern) writes:
- >I want to determine if a volume is local or remote (mounted via
- >AppleShare). I cannot seem to find anything that will let me do this.
-
- The DTS way to do this is to call PBHGetVolParms (Inside Mac V, p 392)
- and check if vMServerAdr is non-zero, which it should be for server
- volumes. This and other advice on finding things out about volumes
- (is it a floppy, etc) is available in the Q&A Stack.
-
- Grobbins grobbins@apple.com
-
- Usual disclaimers apply.
-