NWGetFileServerDescription(3nw)


NWGetFileServerDescription -- returns NetWare server information

Synopsis

   #include <nwserver.h> 
   or 
   #include <nwcalls.h> 
   

NWCCODE N_API NWGetFileServerDescription (NWCONN_HANDLE conn, pnstr8 companyName, pnstr8 revision, pnstr8 revisionDate, pnstr8 copyrightNotice);

Description

The parameters are as follows:

conn
(IN) Specifies the NetWare server connection handle.

companyName
(OUT) Points to the name of the company providing the version of NetWare (80 characters, optional).

revision
(OUT) Points to the NetWare version and revision description string (80 characters, optional).

revisionDate
(OUT) Points to the revision date in the form xx/xx/xx. For example: 12/16/91 (24 characters, optional).

copyrightNotice
(OUT) Points to the copyright notice (80 characters, optional).

Return values

0x0000
SUCCESSFUL

0x8801
INVALID_CONNECTION

0x8996
SERVER_OUT_OF_MEMORY

Notices

Each string is NULL-terminated.

For items not desired in the return, substitute NULL. However, all parameter positions must be filled.

Any client attached to the specified server can call NWGetFileServerDescription. Console operator rights are not required.

Services

File Server Environment

NCP calls

0x2222 23 201
Get File Server Description Strings

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