beautypg.com

Sms_getvirtdisksend, Sms_getvirtdisksnext, Syntax for c programmers sms_getvirtdisksend – HP Integrity NonStop J-Series User Manual

Page 132: Syntax for c programmers sms_getvirtdisksnext

background image

Guardian Procedures

HP NonStop Storage Management Foundation User's Guide523562-007

8-20

SMS_GETVIRTDISKSEND_

Syntax for C Programmers

SMS_GETVIRTDISKSEND_

The SMS_GETVIRTDISKEND_ procedure terminates a session for discovering virtual
disks associated with a particular storage pool. Call this procedure after calling
SMS_GETVIRTDISKSNEXT_ for the last time and before calling
SMS_GETVIRTDISKSSTART_ again.

error

returned value

INT

indicates the outcome of the operation. If an error occurs, a file system error
number is returned. If no error occurs, FEOK (zero) is returned.

Syntax for C Programmers

SMS_GETVIRTDISKSNEXT_

The SMS_GETVIRTDISKSNEXT_ procedure retrieves the name of a virtual disk and,
optionally, configuration information for the virtual disk. Before calling this procedure,
call SMS_GETVIRTDISKSTART_ to identify the storage pool whose associated virtual
disks you are interested in. You can call SMS_GETVIRTDISKSNEXT_ multiple times

#include
short SMS_GETSTGPOOLHDR_
( char *pool-name
,short pool-name-length
,char *pool-config-buffer
,short pool-config-buffer-max-length
,short *pool-config-buffer-out-length
);

error := SMS_GETVIRTDISKSEND_
(
)CALLABLE, EXTENSIBLE;

#include
short SMS_GETVIRTDISKSEND_();

This manual is related to the following products: