DEFRECORD KCML_PSTAT
KCML $PSTAT structure| FLD name | Pack format | Purpose |
|---|---|---|
| PSTAT_UserStatus$ | CHAR(8) | User settable status |
| PSTAT_KCMLRelease | UNUM(2,1) | KCML release |
| PSTAT_Programmable$ | CHAR(1) | Set to "P" if programmable |
| PSTAT_TermStatus$ | CHAR(1) | Terminal status |
| PSTAT_GlobalName$ | CHAR(8) | Global partition name (all 0x00 if not a global) |
| PSTAT_ErrorMajor | UNUM(2,0) | Major portion of last error code |
| PSTAT_DeviceStatus | UINT(1) | Device status |
| PSTAT_ProcessId | UINT(4) | Process ID |
| PSTAT_Terminal | UINT(2) | #TERM |
| PSTAT_Partition | UINT(2) | #PART |
| PSTAT_GlobalPartition | UINT(2) | Global partition ID, or grouping ID |
| PSTAT_ErrorMinor | UINT(1) | Minor portion of last error number |
| PSTAT_ClientIP$ | HEX(4) | IP address of WDW clients. For generic code use the MACHINE_ClientIP$ field of $MACHINE |
| PSTAT_HeapSize | UINT(2) | Dynamic heap size in kB (accurate up to 64Mb) |
| PSTAT_ClientCategory$ | CHAR(1) | Client category |
| PSTAT_ClientName$ | CHAR(16) | Name of client |
| PSTAT_LastAccessed | UINT(4) | Timestamp of last keyboard access |
| PSTAT_UserId$ | CHAR(16) | User Id |
| PSTAT_MACaddress$ | HEX(6) | MAC address of client |
| PSTAT_ConnectType | UINT(1) | Connection Type |
| PSTAT_HeapSize2 | UINT(4) | Dynamic heap size in kB |
| PSTAT_Uuid$ | HEX(16) | Universally Unique identifier. Will be only be set if extended partitions have been configured. Use 'KCML_Uuid_ToString() to convert to a printable string. |