home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / sys / mac / programm / 13880 < prev    next >
Encoding:
Internet Message Format  |  1992-08-12  |  941 b 

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