NWGetVolumeNumber(3nw)


NWGetVolumeNumber -- returns the volume number based on the NetWare server connection handle and the volume name

Synopsis

   #include <nwvol.h> 
   or 
   #include <nwcalls.h> 
   

NWCCODE N_API NWGetVolumeNumber (NWCONN_HANDLE conn, pnstr8 volName, pnuint16 volNum);

Description

The parameters are as follows:

conn
(IN) Specifies the NetWare server connection handle.

volName
(IN) Points to the volume name (17 characters including the terminating NULL).

volNum
(OUT) Points to the volume number (identifies the volume on the NetWare server's Volume Table).

Return values

0x0000
SUCCESSFUL

0x8801
INVALID_CONNECTION

0x8996
SERVER_OUT_OF_MEMORY

0x8998
VOLUME_DOES_NOT_EXIST

Services

Volume

NCP calls

0x2222 22 5
Get Volume Number

References

NWGetVolumeName(3nw), NWGetVolumeInfoWithNumber(3nw)
30 January 1998
© 1998 The Santa Cruz Operation, Inc. All rights reserved.