This
functionality is used to rename a Volume.
Usage in Visual
C++/Visual Basic Application
Usage in Visual C++/Visual Basic
Application
Prototype
int
WINAPI NGISRenameVolume ( LPTSTR cabinetName, short VolumeId, LPTSTR
NewVolumeName )
Input Parameters description
Name |
Description |
Valid Values |
Type Of Parameter |
CabinetName |
Name of the Image |
NOT NULL |
Input Parameter |
VolumeId |
Index of the |
Integer > 0 |
Input Parameter |
NewVolume Name |
New name to be given to the |
Length of new |
Input Parameter |
Output Parameters
This
method return 1 if the call is successful, otherwise, it returns an error code.
Prototype
public int JPISRenameVolume ( String cabinetName, short VolumeId, String NewVolumeName )
Input Parameters description
Name |
Description |
Valid Values |
Type Of Parameter |
cabinetName |
Name of the Image |
NOT NULL |
Input Parameter |
VolumeId |
Index of the |
Integer > 0 |
Input Parameter |
NewVolume Name |
New name to be given to the |
Length of new |
Input Parameter |
Output Parameters
This
method return 1 if the call is successful, otherwise, it returns an error code.