:
.category/name
.
An optional label or short comment may be applied to the volume. This may be useful if the volume name has little meaning to the user (e.g. drive1
, drive2
...).
- If the volume references the root of a device, specify a code of disk
, hd
, cd
, network
or usb
.
+ If the volume references the root of a device, specify a device name of disk
, hd
, cd
, network
or usb
.
Optional flags.
The SetVolume() function is used to create a volume that is associated with one or more paths. If the volume already exists, it possible to append more paths or replace them entirely.
+SetVolume() is used to create or modify a volume that is associated with one or more paths. If the named volume already exists, it possible to append more paths or replace them entirely. Volume changes that are made with this function will only apply to the current process, and are lost after the program closes.
Flags that may be passed are as follows:
NULL
if not required.
Pointer to an address that will receive the event handle.
Use the SubscribeEvent() function to listen for system events. An event ID (obtainable from
An event handle will be returned in the Handle
parameter to identify the subscription. This must be retained to later unsubscribe from the event with the
The prototype for the Callback
function is Function(APTR Custom, APTR Event, LONG Size)
, where Event
is the event structure that matches to the subscribed EventID.
The prototype for the Callback
function is Function(APTR Event, LONG Size, APTR CallbackMeta)
, where Event
is the event structure that matches to the subscribed EventID.
:
.