•  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.15  XHMiNTInfo                                              TOS

 Name:         »XHMiNTInfo« - Set or inquire MiNT-specific 
               information.

 Opcode:       16

 Syntax:       LONG XHMiNTInfo ( UWORD opcode, VOID *data );

 Description:  XHMiNTInfo is a function for setting/inquiring MiNT- 
               related information.

               The following opcodes are defined (for unknown opcodes 
               EINVFN is returned; E_OK is returned if, and only if, 
               the call has been executed correctly).

               XH_MI_SETKERINFO (0) [struct kerinfo *data]

               Sends (through data) a pointer to the MiNT kernel info 
               structure to the driver. The driver can use it for 
               direct calls of kernel functions.

               XH_MI_GETKERINFO (1) [struct kerinfo **data]

               Inquires for a previously set MiNT kernel info pointer. 
               The pointer is returned in the struct kerinfo * pointed 
               to by data. If the adress of the MiNT kernel info 
               structure is unknown, data is filled with a NULL 
               pointer.

               Note: This function is optional and may return EINVFN.

 Return value: XHDI error-codes

 Group:        XHDI functions

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