Device Manage for OS/2

DevCon for OS/2 - Developer Connection

Operating systems:
ArcaOS, eComStation, IBM OS/2 Warp
eComStation myths 

(Unsorted)  
 
 
Compilers  
 
 
Tools  
 
 
REXX  
 
 
Drivers/kernel  
 
 

 

 

SysInfo -- System information

The library is useful for configurators, system utilities, applications.

NameDescriptionDownload
esysinfo.dll eSysInfo - query system information eCo Software toolkit (h/lib),
eCo Software runtime (dll)

Function prototype

APIRET eSysInfo(ULONG QueryID, void *CopyResultsTo, ULONG StructureSize);

always call sizeof() as the third parameter, don't use constant value. System requirements:

  • eComStation operating system

eSysInfo collects information

OS information:

  • OS generarion: eComStation or IBM OS/2 Warp
  • OS version
  • NLV version
  • NeoWPS extender
  • date of OS installation

Components:

  • ACPI sub-system
  • APM supported sleep states

Memory:

  • total physical memory

Screen:

  • Screen width, height

Disk:

  • bootable drive
  • name, size of harddisks

PC:

  • CPU ID
  • Quantity of processors
  • Motherboard manufacturer, model

 
sysinfo.dll should provide information for developers:
  • Motherboard information (BIOS)
  • ACPI info
  • Memory (free physical, virtual, OBJ_ANY)
  • Disk information (type, space), bootable disk (detect of harddisks, write: name, size)
  • Video mode information
  • Uptime

The library should use ACPI to query information from the computer.

CPU Information

Measuring CPU Usage (Written by Sergey Yevtushenko)

SYSLEVEL

DosQuerySysInfo system function

DosQuerySysInfo.exe

 


 

(C) OS2.GURU 2001-2024