Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| en:docs:fapi:dossubset [2021/09/17 08:56] – prokushev | en:docs:fapi:dossubset [2021/12/05 11:06] (current) – prokushev | ||
|---|---|---|---|
| Line 14: | Line 14: | ||
| * SegSelector ([[SEL]]) - input : Target data segment selector. | * SegSelector ([[SEL]]) - input : Target data segment selector. | ||
| * Flags ([[USHORT]]) - input : | * Flags ([[USHORT]]) - input : | ||
| + | |||
| 0 = Increasing the size of a segment already initialized. | 0 = Increasing the size of a segment already initialized. | ||
| 1 = Initializing a segment. | 1 = Initializing a segment. | ||
| - | | + | |
| + | | ||
| ===== Return Code ===== | ===== Return Code ===== | ||
| Line 32: | Line 34: | ||
| To initialize a segment for suballocation, | To initialize a segment for suballocation, | ||
| - | If a segment allocated by a [[DosAllocSeg]] call has already been set for suballocation, | + | If a segment allocated by a [[DosAllocSeg]] call has already been set for suballocation, |
| The size parameter should be a multiple of four bytes, or it is rounded up to a multiple of four. Note in DosSubSet, a size parameter of 0 indicates the segment is 64KB, while in [[DosSubAlloc]] and [[DosSubFree]], | The size parameter should be a multiple of four bytes, or it is rounded up to a multiple of four. Note in DosSubSet, a size parameter of 0 indicates the segment is 64KB, while in [[DosSubAlloc]] and [[DosSubFree]], | ||




