Article View: comp.sys.amiga.tech
Article #12550InfoData->id_VolumeNode->ln_Name ??
From: Michael Stilson
Date: Sun, 07 May 1989 20:00
Date: Sun, 07 May 1989 20:00
21 lines
1436 bytes
1436 bytes
While working on a little utility, I wanted to include the volume name. So...
I looked through the structures, and found what I __THOUGHT__ I was looking
for. I call Info(), fill the InfoData structure. Get the other information I
need from it, but when I try to get the volume name from id_VolumeNode (yes, I
converted it from a BPTR) it either returns a NULL BSTR or compleat garbage.
I manage to get it out of the DeviceList structure (from the lock) without
much trouble, although it requires a Forbid/Permit which I'd really like to
avoid. There _SHOULD_ be an easier way than this, or am I missing something
really obvious here?
--
--
Mike 'Sirius' Stilson - Sirius Software
sirius@recondo.UUCP
..!uunet!recondo!sirius
(412) 793-1242 or (412) 793-5765
USNail:
1312 Universal Rd. Penn Hills, PA 15235-3936
Technical Details
Message-ID:
<0285.AA0285@recondo>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!uflorida!indri!lll-winken!uunet!recondo!siriusShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!uflorida!indri!lll-winken!uunet!recondo!sirius From: sirius@recondo.UUCP (Michael Stilson) Newsgroups: comp.sys.amiga.tech Subject: InfoData->id_VolumeNode->ln_Name ?? Summary: Shouldn't this be the volume name? Message-ID: <0285.AA0285@recondo> Date: 7 May 89 20:00:09 GMT Followup-To: comp.sys.amiga.tech Distribution: usa Organization: Sirius Software. Lines: 21