This functionality is used to get Index of Volume for the specified Volume Name.
Usage in Visual C++/Visual Basic Application
Usage in Visual C++/Visual Basic Application
Prototype
int WINAPI NGISGetVolumeIdFromName ( LPTSTR cabinetName, LPTSTR VolumeName,
PSHORT VolumeId
)
Input Parameters description
Name |
Description |
Valid Values |
Type Of Parameter |
cabinetName |
Name of the Image Cabinet to which the User wants to connect. |
NOT NULL |
Input parameter |
VolumeName |
Name of the Volume for which the User requires Index. |
String of length less than 34. |
Input parameter |
VolumeId |
Index of the Site where the specified Volume exists. |
Short number >0 |
Output parameter |
Output Parameters
This method return 1 if the call is successful, otherwise, it returns an error code.
Prototype
public int JPISGetVolumeIdFromName ( String cabinetName, String VolumeName, JPDBShort VolumeId
)
Input Parameters description
Name |
Description |
Valid Values |
Type Of Parameter |
cabinetName |
Name of the Image Cabinet to which the User wants to connect. |
NOT NULL |
Input parameter |
VolumeName |
Name
of the Volume for which the User |
String of length less then 34 |
Input parameter |
VolumeId |
Index of the Site where the specified Volume exists |
Short number >0 |
Output parameter |
Output Parameters
This method return 1 if the call is successful, otherwise, it returns an error code.