NWGetCPUInfo
Gets CPU and hardware configuration information about the server.
#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);
uses calwin32
Function NWGetCPUInfo
(conn : NWCONN_HANDLE;
CPUNum : nuint32;
CPUName : pnstr8;
numCoprocessor : pnstr8;
bus : pnstr8;
Var fseCPUInfo : NWFSE_CPU_INFO
) : NWCCODE;
These are common return values; see Return Values (Return Values for C) for more information.
Under NETX, if an invalid connection handle is passed to conn, NWGetCPUInfo will return 0x0000. NETX will pick a default connection handle if the connection handle cannot be resolved.
Console operator rights are NOT necessary to call NWGetCPUInfo.