next up previous contents index
Next: Get_Linear_Addr Up: Functions and Procedures Previous: Set_Segment_Limit

Create_Code_Segment_Alias_Descriptor

   

Declaration:

Function Create_Code_Segment_Alias_Descriptor (Des : Word) : Word;

Description:

Create_Code_Segment_Alias_Descriptor Creates a new descriptor that has the same base and limit as the specified descriptor. In effect, the function returns a copy of the descriptor.

Notes:

Errors:

None.

See also:

Example
uses go32;

var copysel : word;

begin
     copysel := create_code_segment_alias_descriptor(get_ds);
     {...}
     free_ldt_descriptor(copysel);
end.



Michael Van Canneyt
Tue Mar 31 16:46:10 CEST 1998