NWGetVolumeSegmentList

Returns a list of up to 32 volume segments for a given volume.

Local Servers:blocking
Remote Servers:blocking
NetWare Server:4.x, 5.x, 6.x
Platform:NLM, Windows NT, Windows 95, Windows 98
Library:Cross-Platform NetWare Calls (CAL*.*)
Service:Server Environment

Syntax

  #include <nwfse.h> 
  or 
  #include <nwcalls.h> 
   
  NWCCODE N_API  NWGetVolumeSegmentList  ( 
     NWCONN_HANDLE                       conn,  
     nuint32                             volumeNum,  
     NWFSE_VOLUME_SEGMENT_LIST  N_FAR   *fseVolumeSegmentList);
  

Delphi Syntax

  uses calwin32 
   
  Function NWGetVolumeSegmentList 
    (conn : NWCONN_HANDLE; 
     volNum : nuint32; 
     Var fseVolumeSegmentList : NWFSE_VOLUME_SEGMENT_LIST 
  ) : NWCCODE;
  

Parameters

conn
(IN) Specifies the NetWare server connection handle.
volumeNum
(IN) Specifies the number representing a specific volume. Zero (0) = Volume SYS
fseVolumeSegmentList
(OUT) Points to NWFSE_VOLUME_SEGMENT_LIST containing the volume segment list.

Return Values

These are common return values; see Return Values (Return Values for C) for more information.

0x0000

SUCCESSFUL

0x8801

INVALID_CONNECTION

0x890A

NLM_INVALID_CONNECTION

0x897E

NCP_BOUNDARY_CHECK_FAILED

0x8998

VOLUME_DOES_NOT_EXIST

Remarks

Console operator rights are NOT necessary to call NWGetVolumeSegmentList.

NCP Calls