en:docs:fapi:dosallochuge

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
en:docs:fapi:dosallochuge [2021/08/14 06:17] prokusheven:docs:fapi:dosallochuge [2021/08/14 10:00] prokushev
Line 16: Line 16:
   MaxNumSeg (USHORT) - input : Maximum number of 65536-byte segments this object occupies as a result of any subsequent [[DosReallocHuge]]. If MaxNumSeg is 0, OS/2 assumes this segment will never be increased by DosReallocHuge beyond its original size, though it may be decreased. This value is ignored in the DOS mode.   MaxNumSeg (USHORT) - input : Maximum number of 65536-byte segments this object occupies as a result of any subsequent [[DosReallocHuge]]. If MaxNumSeg is 0, OS/2 assumes this segment will never be increased by DosReallocHuge beyond its original size, though it may be decreased. This value is ignored in the DOS mode.
   AllocFlags (USHORT) - input : Bit indicators describing the characteristics of the segment allocated. The bits that can be set and their meanings are:   AllocFlags (USHORT) - input : Bit indicators describing the characteristics of the segment allocated. The bits that can be set and their meanings are:
- '''Bit        Description''' +Bit        Description ^ 
- 15-4        Reserved and must be set to zero. +15-4 |       Reserved and must be set to zero. | 
-        If segment is shared, it can be decreased in size by DosReallocHuge. +      If segment is shared, it can be decreased in size by [[DosReallocHuge]]| 
-        Segment may be discarded by the system in low memory situations. +      Segment may be discarded by the system in low memory situations. | 
-        Segment is shareable through DosGetSeg. +      Segment is shareable through [[DosGetSeg]]| 
-        Segment is shareable through DosGiveSeg. +      Segment is shareable through [[DosGiveSeg]]|
  
 ===== Return Code ===== ===== Return Code =====