CompuServe Messages

#Help!

#: 33337 S7/ProgrammingForum unknown
    16-Sep-86 17:39:25
Sb: #33225-#Help!
Fm: Steve Ahlstrom 76703,2006
To: Severin Shores 73177,2000

This message turned up in search, but its forum couldn’t be identified from the original transcript, so it may not be linked into its thread.

The easiest way to get to the volume name is to grab a structure off of your Lock() statement. Lock() returns a structure pointer (BPTR — not doc'ed in the manual). lock->fl_Volume points to a DevInfo structure. Grab the volume name from it's Name element. It's a pointer to a BSTR. See pages 3-5 thru 3-8 of the AmigaDOS Technical Reference manual. Once you get that figured out getting to finding out about disk changes should be 'INTUITive'ly obvious.