NWGetFileServerVersionInfo

Returns information about a NetWare server’s name and version levels.

Local Servers:blocking
Remote Servers:blocking
NetWare Server:3.11, 3.12, 3.2, 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 <nwserver.h> 
  or 
  #include <nwcalls.h> 
   
  NWCCODE N_API  NWGetFileServerVersionInfo  ( 
     NWCONN_HANDLE          conn,  
     VERSION_INFO  N_FAR   *versBuffer); 
  

Delphi Syntax

  uses calwin32 
   
  Function NWGetFileServerVersionInfo 
    (conn : NWCONN_HANDLE; 
     Var versBuffer : VERSION_INFO 
  ) : NWCCODE; 
  

Parameters

conn
(IN) Specifies the NetWare server connection handle.
versBuffer
(OUT) Points to the VERSION_INFO structure, which contains the NetWare server version information.

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

0x8996

SERVER_OUT_OF_MEMORY

Remarks

Console operator rights and an authenticated connection are NOT necessary to call NWGetFileServerVersionInfo; you only need an attachment.

To get product version information (major, minor, and revision), call NWGetNetWareProductVersion.

NCP Calls