Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
en:docs:fapi:dosallochuge [2021/09/14 14:17] – prokushev | en:docs:fapi:dosallochuge [2021/09/15 13:29] – prokushev | ||
---|---|---|---|
Line 20: | Line 20: | ||
^ Bit ^ Description ^ | ^ Bit ^ Description ^ | ||
- | | 15-4 | | + | | 15-4 | Reserved and must be set to zero. | |
- | | 3 | If segment is shared, it can be decreased in size by [[DosReallocHuge]]. | | + | | 3 | If segment is shared, it can be decreased in size by [[DosReallocHuge]]. | |
- | | 2 | Segment may be discarded by the system in low memory situations. | | + | | 2 | Segment may be discarded by the system in low memory situations. | |
- | | 1 | Segment is shareable through [[DosGetSeg]]. | | + | | 1 | Segment is shareable through [[DosGetSeg]]. | |
- | | 0 | Segment is shareable through [[DosGiveSeg]]. | | + | | 0 | Segment is shareable through [[DosGiveSeg]]. | |
+ | |||
+ | <code c> | ||
+ | #define SEG_NONSHARED | ||
+ | #define SEG_GIVEABLE | ||
+ | #define SEG_GETTABLE | ||
+ | #define SEG_DISCARDABLE | ||
+ | </ | ||
===== Return Code ===== | ===== Return Code ===== |