This functionality is used to get List of Volume Blocks for the specified Volume and Site.
Usage in Visual C++/Visual Basic Application
Usage in Visual C++/Visual Basic Application
Prototype
int WINAPI NGISGetVolumeBlocksList ( LPTSTR cabinetName, short VolumeId, short SiteId,
LPINT NoOfBlocks, LPBLOCKFRAGMENTLIST * BlockList
)
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 |
VolumeId |
Index of the Volume for which the User wants to fetch Volume Block List. |
Short number > 0 |
Input Parameter |
SiteId |
Index of the Site where the specified Volume exists. |
Short number > 0 |
Input Parameter |
NoOfBlocks |
Total number of Volume Blocks found in the given Volume. |
Integer >= 0 |
Output Parameter |
BlockList |
Pointer
to a variable that receives the starting value of a BLOCKFRAGMENTLIST
structure List |
|
Output Parameter |
Output Parameters
This method return 1 if the call is successful, otherwise, it returns an error code.
Prototype
public int JPISGetVolumeBlocksList ( String cabinetName,
short VolumeId, short SiteId,
JPDBInteger NoOfBlocks, Vector VolBlocksList
)
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 |
VolumeId |
Index of the Volume for which the User wants to fetch Volume Block list. |
Short number >0 |
Input parameter |
SiteId |
Index of the Site where the specified Volume exists. |
Short number >0 |
Input parameter |
NoOfBlocks |
Total number of Volume Blocks found. |
Integer >= 0 |
Output parameter |
VolBlocksList |
It is a vector of JPDBFragmet objects that contains information about Volume Blocks. |
|
Output parameter |
Output Parameters
This method return 1 if the call is successful, otherwise, it returns an error code.