NWGetNetworkSerialNumber(3nw)


NWGetNetworkSerialNumber -- returns the NetWare server's serial number and the application number

Synopsis

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

NWCCODE N_API NWGetNetworkSerialNumber (NWCONN_HANDLE conn, pnuint32 serialNum, pnuint16 appNum);

Description

The parameters are as follows:

conn
(IN) Specifies the NetWare server connection handle.

serialNum
(OUT) Points to the NetWare server's serial number.

appNum
(OUT) Points to the application number.

Return values

0x0000
SUCCESSFUL

0x8996
SERVER_OUT_OF_MEMORY

Notices

To call NWGetNetworkSerialNumber, you must have console operator rights.

The combination of the server's serial number and the application number is unique.

Services

File Server Environment

NCP calls

0x2222 23 17
Get File Server Information

0x2222 23 18
Get Network Serial Number

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