beautypg.com

Sms_getvirtdisksstart, Syntax for c programmers sms_getvirtdisksstart – HP Integrity NonStop J-Series User Manual

Page 134

background image

Guardian Procedures

HP NonStop Storage Management Foundation User's Guide523562-007

8-22

SMS_GETVIRTDISKSSTART_

virt-disk-config-buffer-out-length

output

INT .EXT:ref:*

is the number of bytes of information copied into the configuration buffer.

Syntax for C Programmers

SMS_GETVIRTDISKSSTART_

The SMS_GETVIRTDISKSSTART_ procedure sets up a session for discovering the
virtual disks associated with a particular storage pool or all virtual disks on a system.
After calling this procedure, call SMS_GETVIRTDISKSNEXT_ to retrieve information
for individual virtual disks.

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.

system-name:system-name-length

input:input

STRING .EXT:ref:*, INT:value

specifies the name and name length of a local or remote system. If no system
name is specified, the current system is used. Use a backslash when specifying a
system name.

pool-name:pool-name-length

input:input

STRING .EXT:ref:*, INT:value

specifies the name and name length of a storage pool. If no name is specified,
information for virtual disks associated with all storage pools on the system is
retrieved when you call SMS_GETVIRTDISKSNEXT_.

#include
short SMS_GETVIRTDISKSNEXT_
( char *virt-disk-name
,short virt-disk-name-max-length
short virt-disk-name-out-length
,[char *virt-disk-config-buffer
,short virt-disk-config-buffer-max-length
short virt-disk-config-buffer-out-length]
);

error := SMS_GETVIRTDISKSSTART_
( [system-name:system-name-length] ! i:i
,[pool-name:pool-name-length] ! i:i
)CALLABLE, EXTENSIBLE;

This manual is related to the following products: