Sign in Join
FPDoc Onlineexperiment

get_next_selector_increment_value function

In unit go32

Return selector increment value.

Declaration

pascal
function get_next_selector_increment_value: Word

Description

Returns the selector increment value when allocating multiple subsequent descriptors via allocate_ldt_descriptors.

Return value: Selector increment value.

Notes: Because allocate_ldt_descriptors only returns the selector for the first descriptor and so the value returned by this function can be used to calculate the selectors for subsequent descriptors in the array.

Errors

Check the int31error variable.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.