•  Back 
  •  XHDI functions 
  •  Index 
  •  Tree View 
  •  Cross references 
  •  Help page 
  •  Show info about hypertext 
  •  View a new file 
Topic       : TOS - The Operating System
Author      : 
Version     : tos.hyp (December 19, 2008)
Subject     : Programmieren/Atari
Nodes       : 3010
Index Size  : 93790
HCP-Version : 5
Compiled on : Atari
@charset    : atarist
@lang       : 
@default    : Title
@help       : 
@options    : +g -i -s +x +zz -t4
@width      : 70
View Ref-File14.8.5.4  XHEject                                                  TOS

 Name:         »XHEject« - Eject medium or reinsert it again.

 Opcode:       5

 Syntax:       LONG XHEject ( UWORD major, UWORD minor, UWORD 
               do_eject, UWORD key );

 Description:  XHEject ejects or inserts the medium.

                Parameter  Meaning

                do_eject
                            (1)  Ejects medium
                            (0)  Inserts medium
                key        If the device is reserved pass the key, 
                           otherwise zero.

 Return value: The code returned in case of errors is undefined. But 
               more information is not really required, since one can 
               make a targeted test for this capability beforehand 
               with XHInqTarget.

 Group:        XHDI functions

 See Also:     Arbitration   _drvbits   Partition types 
               System variables   XHDI cookie   XHDI terminology