Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!mailrus!ames!dftsrv!mimsy!mojo!russotto From: russotto@eng.umd.edu (Matthew T. Russotto) Newsgroups: comp.sys.mac.programmer Subject: Re: PBHGetVInfo returns noErr but volRefNum=-1 Message-ID: <1990May8.004927.8221@eng.umd.edu> Date: 8 May 90 00:49:27 GMT References: <9166@tank.uchicago.edu> Sender: news@eng.umd.edu (The News System) Organization: College of Engineering, Maryversity of Uniland, College Park Lines: 13 In article <9166@tank.uchicago.edu> gft_robert@gsbacd.uchicago.edu writes: >I get noErr (0) for theOSErr, but ioVRefNum comes back as -1. What am I doing >wrong? > >Any info much appreciated! (BTW, is there a clearer exposition of the PB calls >in general than in IM IV? I've re-read it a couple of times, and though it's >well-written, it could be a bit more explicit at times.) You did NOTHING, repeat NOTHING wrong. -1 is the correct value for the ioVRefNum for the first volume mounted!! -- Matthew T. Russotto russotto@eng.umd.edu russotto@wam.umd.edu ][, ][+, ///, ///+, //e, //c, IIGS, //c+ --- Any questions?