ReturnNLMVersionInfoFromFile
Returns version information for a loaded NLM that corresponds to a specified file
#include <nwthread.h>
int ReturnNLMVersionInfoFromFile (
BYTE *__pathName
LONG *majorVersion,
LONG *minorVersion,
LONG *revision,
LONG *year,
LONG *month,
LONG *day,
BYTE *copyrightString
BYTE *description);
The following table lists return values and descriptions.
While __pathName must be supplied, the other parameters can be set to NULL if you do not want the information they return.
The NLM specified by __pathName does not need to be running for this function to retrieve its information.
The information for majorVersion, minorVersion, revision, copyrightString, and description are set with linker options when the NLM applications are linked. For more information about the linker options, see Using a Linker.
The buffer description points to should be at least 128 bytes.
For the NetWare 3.11 OS, this function was made available in CLIB.NLM, version 3.11b.