NWPSGetLibraryVersion(3nw)


NWGetLibraryVersion -- provides version number of currently loaded NWPSRV.NLM

Synopsis

   #include <nwps_nlm.h> 
   

void NWPSGetLibraryVersion (pnuint8 N_FAR *majorVersion; pnuint8 N_FAR *minorVersion; pnuint8 N_FAR *revisionLevel; pnuint8 N_FAR *betaReleaseLevel);

Description

The parameters are as follows:

majorVersion
(OUT) Points to the major version of NWPSRV.NLM currently loaded on the server.

minorVersion
(OUT) Points to the minor version of NWPSRV.NLM currently loaded on the server.

revisionLevel
(OUT) Points to the revision level of NWPSRV.NLM currently loaded on the server.

betaReleaseLevel
(OUT) Points to the beta release level of NWPSRV.NLM currently loaded on the server.

Return values

None

Notices

NWPSGetLIbraryVersion provides the same information to an NLM that is available on screen through the NDIR command with a /ver switch. However, with NWPSGetLibraryVersion, you can get individual components of the version designation as desired.

To obtain the desired information, pass the address of an allocated byte-sized memory location to the appropriate parameters. NWPSGetLIbraryVersion will return the information designated by that parameter to the address(es) you pass. If you want no information for one or more parameters, simply pass NULL to each such parameter, and NWPSGetLIbraryVersion will not return anything to them.

Services

Print Server

NCP calls

None
30 January 1998
© 1998 The Santa Cruz Operation, Inc. All rights reserved.