NWGetOSVersionInfo

Returns the NetWare OS version information.

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  NWGetOSVersionInfo  ( 
     NWCONN_HANDLE                   conn,  
     NWFSE_OS_VERSION_INFO  N_FAR   *fseOSVersionInfo);
  

Delphi Syntax

  uses calwin32 
   
  Function NWGetOSVersionInfo 
    (conn : NWCONN_HANDLE; 
     Var fseOSVersionInfo : NWFSE_OS_VERSION_INFO 
  ) : NWCCODE; 
  

Parameters

conn
(IN) Specifies the NetWare server connection handle.
fseOSVersionInfo
(OUT) Points to the NWFSE_OS_VERSION_INFO structure, which contains the operating system version information.

Return Values

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

0x0000

SUCCESSFUL

Remarks

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

It is recommended that the newer function call, NWGetNetWareProductVersion, be used rather than NWGetOSVersionInfo.

NCP Calls