NPA_Get_OS_Version

Provides the revision level of the current Operating System version.

Thread Context:Non-Blocking

Syntax

    LONG NPA_Get_OS_Version (
       LONG  *versionInfo);
    

Parameters

versionInfo
(OUT) The version number of the currently running operating system. The return value is in the format 0xAABBCCDD, where AA is the operating system type:

Value

OS Type

00

Native NetWare

01

SFT III IO Engine

02

SFT III MS Engine

04

MP

08 to 80

Reserved

BB is the decimal representation of the major version number (03 for 3.12, 04 for 4.X versions, etc.).

CC is the decimal representation of the minor version number.

DD is the revision level (interpreted as a letter with 00=No revision or A and 25=Z).

Example: A value of 0x01041000 would mean SFT III IO Engine 4.10 NetWare is running on the server.

Return Values

The following table lists return values and descriptions.

zero

Successful

nonzero

Unsuccessful

Remarks

This function allows developers to have access to the current version number of the NetWare operating system that is running. This number may be used (in conjunction with NPA_Get_Version_Number to maintain version and feature compatibility on a server between the operating system, HAMs, CDMs and NWPA.