Legacy Documentclose button

Important: The information in this document is obsolete and should not be used for new development.

Previous Book Contents Book Index Next

Inside Macintosh: Mac OS Runtime Architectures /
Appendix B - The RTLib.o and NuRTLib.o Libraries / Runtime Operations


kRTGetVersion and kRTGetVersionA5

The operation kRTGetVersion returns the value of the current A5 world and kRTGetVersionA5 returns the value of the specified A5 world.

The fRTParams structure (page B-2) used with these operations is as follows:

struct RTGetVersionParam {
   unsigned short fVersion;
   };
typedef struct RTGetVersionParam RTGetVersionParam;
The kRTGetVersion operation assumes the current A5 world, while RTGetVersionA5 lets you specify one in the fA5 field of the RTPB structure (page B-2).

The fVersion field holds the returned version number as shown in Table B-4.
Table B-4 Current version numbers
Version
number
Description
$0000Classic 68K near model A5 world
$FFFDCFM-68K runtime A5 world
$FFFFClassic 68K far model (32-bit everything) A5 world


Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 MARCH 1997