NPA_Get_Version_Number

Provides the revision level of the current NWPA version.

Thread Context:Non-Blocking

Syntax

    LONG NPA_Get_Version_Number (
       LONG  *versionNumber);
    
    

Parameters

versionNumber
(OUT) NWPA version number currently running. The return value is in the format 0x00XXYYZZ, where XX is the decimal representation of the major version number, YY is the decimal representation of the minor version number, and ZZ is the revision level (interpreted as a letter with 00=No revision level, 01=A and 26=Z). Example: a value of 0x00022007 would mean NWPA Version 2.20g.

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 NWPA that is running. This number may be used to maintain version and feature compatibility on a server between HAMs, CDMs and NWPA.