Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.1 6/24/83; site watdcsu.UUCP
Path: utzoo!watmath!watdcsu!gross
From: gross@watdcsu.UUCP (Evan Gross [Sys Des])
Newsgroups: ont.micro.mac
Subject: Getting Volume Names (SUMacC)
Message-ID: <448@watdcsu.UUCP>
Date: Wed, 26-Sep-84 23:41:06 EDT
Article-I.D.: watdcsu.448
Posted: Wed Sep 26 23:41:06 1984
Date-Received: Thu, 27-Sep-84 04:52:21 EDT
Organization: U of Waterloo, Ontario
Lines: 13

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