NWGetVolumeSwitchInfo

Gets information about the volume switch counter such as the number of overall times through the function.

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  NWGetVolumeSwitchInfo  ( 
     NWCONN_HANDLE                      conn,  
     nuint32                            startNum,  
     NWFSE_VOLUME_SWITCH_INFO  N_FAR   *fseVolumeSwitchInfo);
  

Delphi Syntax

  uses calwin32 
   
  Function NWGetVolumeSwitchInfo 
    (conn : NWCONN_HANDLE; 
     startNum : nuint32; 
     Var fseVolumeSwitchInfo : NWFSE_VOLUME_SWITCH_INFO 
  ) : NWCCODE;
  

Parameters

conn
(IN) Specifies the NetWare server connection handle.
startNum
(IN) Specifies the starting number; set to zero (0) on the first call.
fseVolumeSwitchInfo
(OUT) Points to NWFSE_VOLUME_SWITCH_INFO getting volume switch information.

Return Values

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

0x0000

SUCCESSFUL

0x897E

NCP_BOUNDARY_CHECK_FAILED

0x89FF

Failure or Invalid Start Item Number

Remarks

To call NWGetVolumeSwitchInfo, you must have console operator rights.

NCP Calls