Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| en:docs:fapi:dosgetinfoseg [2021/10/17 06:13] – prokushev | en:docs:fapi:dosgetinfoseg [2021/12/16 03:04] (current) – prokushev | ||
|---|---|---|---|
| Line 24: | Line 24: | ||
| * year (USHORT): Year. | * year (USHORT): Year. | ||
| * weekday (UCHAR): Day-of-week: | * weekday (UCHAR): Day-of-week: | ||
| + | |||
| ^ Value ^ Definition ^ | ^ Value ^ Definition ^ | ||
| | 0 | Sunday | | | 0 | Sunday | | ||
| Line 32: | Line 33: | ||
| | 5 | Friday | | | 5 | Friday | | ||
| | 6 | Saturday | | | 6 | Saturday | | ||
| + | |||
| * majorversion (UCHAR): Major version number. | * majorversion (UCHAR): Major version number. | ||
| * minorversion (UCHAR): Minor version number. | * minorversion (UCHAR): Minor version number. | ||
| Line 39: | Line 41: | ||
| * hugeshift (UCHAR): Shift count for huge segments. | * hugeshift (UCHAR): Shift count for huge segments. | ||
| * protmodeind (UCHAR): Protect-mode-only indicator: | * protmodeind (UCHAR): Protect-mode-only indicator: | ||
| + | |||
| ^ Value ^ Definition ^ | ^ Value ^ Definition ^ | ||
| | 0 | DOS mode and OS/2 mode. | | | 0 | DOS mode and OS/2 mode. | | ||
| | 1 | OS/2 mode only. | | | 1 | OS/2 mode only. | | ||
| + | |||
| * lastprocess (USHORT) : Process ID of the current foreground process. | * lastprocess (USHORT) : Process ID of the current foreground process. | ||
| * dynvarflag (UCHAR) : Dynamic variation flag: | * dynvarflag (UCHAR) : Dynamic variation flag: | ||
| + | |||
| ^ Value ^ Definition ^ | ^ Value ^ Definition ^ | ||
| - | ^ 0 ^ Absolute | | + | | 0 | Absolute | |
| - | ^ 1 ^ Enabled | | + | | 1 | Enabled | |
| * maxwait (UCHAR) : Maximum wait in seconds. | * maxwait (UCHAR) : Maximum wait in seconds. | ||
| * mintimeslice (USHORT) : Minimum timeslice in milliseconds. | * mintimeslice (USHORT) : Minimum timeslice in milliseconds. | ||
| * maxtimeslice (USHORT) : Maximum timeslice in milliseconds. | * maxtimeslice (USHORT) : Maximum timeslice in milliseconds. | ||
| * bootdrive (USHORT) : Drive from which the system was booted: | * bootdrive (USHORT) : Drive from which the system was booted: | ||
| + | |||
| ^ Value ^ Definition ^ | ^ Value ^ Definition ^ | ||
| | 1 | Drive A. | | | 1 | Drive A. | | ||
| Line 57: | Line 64: | ||
| | . | | | | . | | | ||
| | . | | | | . | | | ||
| - | | n Drive n. | | + | | n | Drive n. | |
| - | * traceflags (UCHAR): 32 system trace major code flags. Each bit corresponds to a trace major code, hex 00-FFH. The most significant bit (left-most) of the first byte corresponds to major code hex 00H. | + | |
| + | * [[traceflags]] (UCHAR): 32 system trace major code flags. Each bit corresponds to a trace major code, hex 00-FFH. The most significant bit (left-most) of the first byte corresponds to major code hex 00H. | ||
| ^ Value ^ Definition ^ | ^ Value ^ Definition ^ | ||
| | 0 | Trace disabled. | | | 0 | Trace disabled. | | ||
| - | | | + | | 1 | Trace enabled. | |
| * maxtextsessions (UCHAR): Maximum number of VIO windowable sessions. | * maxtextsessions (UCHAR): Maximum number of VIO windowable sessions. | ||
| * maxpmsessions (UCHAR): Maximum number of Presentation Manager sessions. | * maxpmsessions (UCHAR): Maximum number of Presentation Manager sessions. | ||
| Line 75: | Line 85: | ||
| * foregroundprocess (BOOL): Current process is in foreground (has keyboard focus). Value -1 implies yes, 0 implies no. | * foregroundprocess (BOOL): Current process is in foreground (has keyboard focus). Value -1 implies yes, 0 implies no. | ||
| * typeProcess (UCHAR): Type of process: | * typeProcess (UCHAR): Type of process: | ||
| + | |||
| ^ Value ^ Definition ^ | ^ Value ^ Definition ^ | ||
| | 0 | Full screen protect mode session. | | | 0 | Full screen protect mode session. | | ||
| Line 81: | Line 92: | ||
| | 3 | Presentation Manager protect mode session. | | | 3 | Presentation Manager protect mode session. | | ||
| | 4 | Detached protect mode process. | | | 4 | Detached protect mode process. | | ||
| + | |||
| * unused (UCHAR): Unused. | * unused (UCHAR): Unused. | ||
| * environmentsel (SEL): Environment selector. | * environmentsel (SEL): Environment selector. | ||




