QSV_MAX_SLICE
Maximum time slice in milliseconds.
10
QSV_PAGE_SIZE
Memory page size in bytes. This value is 4096 for the 80386 processor.
11
QSV_VERSION_MAJOR
Major version number (see note below).
12
QSV_VERSION_MINOR
Minor version number (see note below).
13
QSV_VERSION_REVISION
Revision number (see note below).
14
QSV_MS_COUNT
Value of a 32-bit, free-running millisecond counter. This value is zero
when the system is started.
15
QSV_TIME_LOW
Low-order 32 bits of the time in seconds since January 1, 1970 at 0:00:00.
16
QSV_TIME_HIGH
High-order 32 bits of the time in seconds since January 1, 1970 at 0:00:00.
17
QSV_TOTPHYSMEM
Total number of bytes of physical memory in the system.
18
QSV_TOTRESMEM
Total number of bytes of resident memory in the system.
19
QSV_TOTAVAILMEM
Maximum number of bytes of memory that can be allocated by all processes
in the system. This number is advisory and is not guaranteed, since system
conditions change constantly.
20
QSV_MAXPRMEM
Maximum number of bytes of memory that this process can allocate in its
private arena. This number is advisory and is not guaranteed, since system
conditions change constantly.
21
QSV_MAXSHMEM
Maximum number of bytes of memory that a process can allocate in the shared
arena. This number is advisory and is not guaranteed, since system conditions
change constantly.
22
QSV_TIMER_INTERVAL
Timer interval in tenths of a millisecond.
23
QSV_MAX_COMP_LENGTH
Maximum length, in bytes, of one component in a path name.
24
QSV_FOREGROUND_FS_SESSION
Session ID of the current foreground full-screen session. Note that this
only applies to full-screen sessions. The Presentation Manager session (which
displays Vio-windowed, PM, and windowed DOS Sessions) is full-screen session
ID 1.
25
QSV_FOREGROUND_PROCESS
Process ID of the current foreground process.
26
QSV_NUMPROCESSORS
Number of processors in the machine.
27
QSV_MAXHPRMEM
Maximum amount of free space in the high private arena for this process.
This number does not indicate the largest single memory object that can
be allocated, since the arena is probably fragmented.
28
QSV_MAXHSHMEM
Maximum amount of free space in the high shared arena for this process.
This number does not indicate the largest single memory object that can
be allocated, since the arena is probably fragmented.
29
QSV_MAXPROCESSES
Maximum number of concurrent processes supported.
30
QSV_VIRTUALADDRESSLIMIT
Size of the user's address space in MB.
Note: Major, minor and revision numbers for versions of OS/2 operating
system are described below:
┌──────────┬──────────┬──────────┬──────────┐│ │Major │Minor │Revision │
├──────────┼──────────┼──────────┼──────────┤
│OS/2 2.0 │20 │00 │0 │
├──────────┼──────────┼──────────┼──────────┤
│OS/2 2.1 │20 │10 │0 │
├──────────┼──────────┼──────────┼──────────┤
│OS/2 2.11 │20 │11 │0 │
├──────────┼──────────┼──────────┼──────────┤
│OS/2 3.0 │20 │30 │0 │
├──────────┼──────────┼──────────┼──────────┤
│OS/2 4.0 │20 │40 │0 │
└──────────┴──────────┴──────────┴──────────┘
An application can specify file objects managed by an installable file system
that supports long file names. Because some installable file systems support
longer names than others, the application should issue DosQuerySysInfo upon
initialization.
DosQuerySysInfo returns the maximum path length (QSV_MAX_PATH_LENGTH) supported
by the installed file system. The path length includes the drive specifier
(d:), the leading backslash ( \ ), and the trailing null character. The
value returned by DosQuerySysInfo can be used to allocate buffers for path
names returned by other functions.
Since memory usage in the system changes constantly, the values returned
by QSV_MAXHPRMEM and QSV_MAXHSMMEM should only be used as an indication
of current memory usage.
[Back: DosQuerySysInfo - Parameters]
[Next: DosQuerySysInfo - Related Functions]