[ont.micro.mac] Getting Volume Names

gross@watdcsu.UUCP (Evan Gross [Sys Des]) (09/27/84)

Anybody know how to use the PBGetVInfo and GetVInfo routines in SUMacC?
Specifically, I get an ID=02 error whenever I call PBGetVInfo, and I
can't seem to get the volume name from GetVInfo (just garbage). I
am making sure there is string space allocated by either declaring a
char array and passing it to GetVInfo, or by using the statement

   volumeParam.ioNamePtr = &name[0];

before calling PBGetVInfo. What am I doing wrong? Has anybody successfully
used either of these routines?

Thanks, Evan Gross    gross!watdcsu