NWGetCPUInfo(3nw)


NWGetCPUInfo -- gets server CPU and hardware configuration information

Synopsis

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

NWCCODE N_API NWGetCPUInfo (NWCONN_HANDLE conn, nuint32 CPUNum, pnstr8 CPUName, pnstr8 numCoprocessor, pnstr8 bus, NWFSE_CPU_INFO N_FAR * fseCPUInfo);

Description

The parameters are as follows:

conn
(IN) Specifies the NetWare server connection handle.

CPUNum
(IN) Specifies the CPU number; 0 (zero) for NetWare 4.0.

CPUName
(OUT) Points to the ASCII string of the CPU type.

numCoprocessor
(OUT) Points to the ASCII string of whether or not a coprocessor is present.

bus
(OUT) Points to the ASCII string of the bus type.

fseCPUInfo
(OUT) Points to NWFSE_CPU_INFO.

Return values

0x0000
SUCCESSFUL

0x89FE
DIRECTORY_LOCKED

0x89FF
Failure or Invalid CPU Number

Notices

Console operator rights are NOT necessary to call NWGetCPUInfo.

Services

File Server Environment

NCP calls

0x2222 123 08
CPU Information

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