open-insight/SYSPROG/STPROCINS/RTI_GET_SYSINFO_EQUATES.txt
2024-03-25 15:17:34 -07:00

63 lines
2.4 KiB
Plaintext

compile insert rti_Get_SysInfo_Equates
/*
** Copyright (C) 1992-2023 Revelation Software Inc. All Rights Reserved **
Author : Mr C
Date : 12 May 2023
Purpose : Equates for use with the RTI_GET_SYSINFO stored procedure
: and GET_SYSINFO routine
Comments
========
RTI_GET_SYSINFO is basically a copy of the old GET_SYSINFO routine so that
the info can be returned without using SYSTEM RECEIVER property.
GET_SYSINFO is now a SEND_DYN wrapper around RTI_GET_SYSINFO.
(TBH - all this info can be accessed directly via other means, so these
SYSINFO procs are basically for backwards compatibility with older systems)
Amended Date Reason
======= ==== ======
*/
///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////
#ifndef _RTI_GET_SYSINFO_EQUATES_
#define _RTI_GET_SYSINFO_EQUATES_
///////////////////////////////////////////////////////////////////////////////
// RTI_GET_SYSINFO return array index equates
//
// <1> Database ID (@dbID
// <2> Username (@username)
// <3> Admin level (@admin)
// <4> Version (PS Product version - event context only!)
// <5> CPU Type (@cpu_Type - deprecated)
// <6> Coprocessor (@exist8087 - deprecated)
// <7> MemAvail (null - deprecated)
// <8> DescriptorsAvail (null - deprecated)
// <9> Network Type (Extracted from RevLH.dll)
// <10> Station ID (@station)
// <11> Max Users (max_oi_users)
equ RTIGSI_POS_DBID$ to 1
equ RTIGSI_POS_USERNAME$ to 2
equ RTIGSI_POS_ADMIN$ to 3
equ RTIGSI_POS_SERIAL$ to 4
equ RTIGSI_POS_VERSION$ to 5 ; // OI product version
equ RTIGSI_POS_CPU_TYPE$ to 6
equ RTIGSI_POS_COPROC$ to 7
equ RTIGSI_POS_MEM_AVAIL$ to 8
equ RTIGSI_POS_DES_AVAIL$ to 9
equ RTIGSI_POS_NETWORK$ to 10
equ RTIGSI_POS_STATION$ to 11
equ RTIGSI_POS_MAX_USERS$ to 12
///////////////////////////////////////////////////////////////////////////////
#endif
///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////