Set_Name

This function sets the name of a volume, drive, or partition.


#include <lvm_intr.h>

void _System Set_Name (

    ADDRESS      Handle,       /* (I) Handle of a partition, volume, or drive */
    char         New_Name[],   /* (I) New name of the object specified by Handle */
    CARDINAL32 * Error_Code    /* (O) Address where the error code will be stored */

);

Parameters

Handle
The handle of the drive, partition, or volume which is to have its name set.
New_Name[]
The new name for the drive, partition, or volume specified by Handle.
Error_Code
The address of a CARDINAL32 in which to store an error code should an error occur.

Returns

N/A.

Errors

If Handle is not a valid handle, a trap may result.

If the name can not be set, then the drive, volume, or partition is not modified.

Side Effects

A drive, volume, or partition may have its name set.

Notes

None.

16-Bit Equivalent:

void _Far16 _Pascal _loadds SET_NAME16(
        CARDINAL32          Handle,
        char       * _Seg16 New_Name,
        CARDINAL32 * _Seg16 Error_Code
);