Get List of Volume Blocks for a volume

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 Java Application

Error

 

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, which that contains information about the Volume Blocks.

 

Output Parameter

 

Output Parameters

This method return 1 if the call is successful, otherwise, it returns an error code.

 

 

Usage in Java Application

 

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.