home *** CD-ROM | disk | FTP | other *** search
/ QuickTime 2.0 Developer Kit / QuickTime 2.0 Developer Kit.iso / mac / MAC / Programming Stuff / Interfaces / CIncludes / Start.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-11-11  |  2.5 KB  |  129 lines  |  [TEXT/MPS ]

  1. /*
  2.      File:        Start.h
  3.  
  4.      Copyright:    © 1984-1994 by Apple Computer, Inc.
  5.                  All rights reserved.
  6.  
  7.      Version:    Universal Interfaces 2.0a3  ETO #16, MPW prerelease.  Friday, November 11, 1994. 
  8.  
  9.      Bugs?:        If you find a problem with this file, send the file and version
  10.                  information (from above) and the problem description to:
  11.  
  12.                      Internet:    apple.bugs@applelink.apple.com
  13.                      AppleLink:    APPLE.BUGS
  14.  
  15. */
  16.  
  17. #ifndef __START__
  18. #define __START__
  19.  
  20.  
  21. #ifndef __TYPES__
  22. #include <Types.h>
  23. #endif
  24. /*    #include <ConditionalMacros.h>                                */
  25.  
  26. #ifdef __cplusplus
  27. extern "C" {
  28. #endif
  29.  
  30. #if GENERATINGPOWERPC
  31. #pragma options align=mac68k
  32. #endif
  33.  
  34. #ifdef __CFM68K__
  35. #pragma lib_export on
  36. #endif
  37.  
  38. struct SlotDev {
  39.     SignedByte                        sdExtDevID;
  40.     SignedByte                        sdPartition;
  41.     SignedByte                        sdSlotNum;
  42.     SignedByte                        sdSRsrcID;
  43. };
  44. typedef struct SlotDev SlotDev, *SlotDevPtr;
  45.  
  46. struct SCSIDev {
  47.     SignedByte                        sdReserved1;
  48.     SignedByte                        sdReserved2;
  49.     short                            sdRefNum;
  50. };
  51. typedef struct SCSIDev SCSIDev, *SCSIDevPtr;
  52.  
  53. union DefStartRec {
  54.     SlotDev                            slotDev;
  55.     SCSIDev                            scsiDev;
  56. };
  57. typedef union DefStartRec DefStartRec;
  58.  
  59. typedef DefStartRec *DefStartPtr;
  60.  
  61. struct DefVideoRec {
  62.     SignedByte                        sdSlot;
  63.     SignedByte                        sdsResource;
  64. };
  65. typedef struct DefVideoRec DefVideoRec;
  66.  
  67. typedef DefVideoRec *DefVideoPtr;
  68.  
  69. struct DefOSRec {
  70.     SignedByte                        sdReserved;
  71.     SignedByte                        sdOSType;
  72. };
  73. typedef struct DefOSRec DefOSRec;
  74.  
  75. typedef DefOSRec *DefOSPtr;
  76.  
  77.  
  78. #if !GENERATINGCFM
  79. #pragma parameter GetDefaultStartup(__A0)
  80. #endif
  81. extern pascal void GetDefaultStartup(DefStartPtr paramBlock)
  82.  ONEWORDINLINE(0xA07D);
  83.  
  84. #if !GENERATINGCFM
  85. #pragma parameter SetDefaultStartup(__A0)
  86. #endif
  87. extern pascal void SetDefaultStartup(DefStartPtr paramBlock)
  88.  ONEWORDINLINE(0xA07E);
  89.  
  90. #if !GENERATINGCFM
  91. #pragma parameter GetVideoDefault(__A0)
  92. #endif
  93. extern pascal void GetVideoDefault(DefVideoPtr paramBlock)
  94.  ONEWORDINLINE(0xA080);
  95.  
  96. #if !GENERATINGCFM
  97. #pragma parameter SetVideoDefault(__A0)
  98. #endif
  99. extern pascal void SetVideoDefault(DefVideoPtr paramBlock)
  100.  ONEWORDINLINE(0xA081);
  101.  
  102. #if !GENERATINGCFM
  103. #pragma parameter GetOSDefault(__A0)
  104. #endif
  105. extern pascal void GetOSDefault(DefOSPtr paramBlock)
  106.  ONEWORDINLINE(0xA084);
  107.  
  108. #if !GENERATINGCFM
  109. #pragma parameter SetOSDefault(__A0)
  110. #endif
  111. extern pascal void SetOSDefault(DefOSPtr paramBlock)
  112.  ONEWORDINLINE(0xA083);
  113. extern pascal void SetTimeout(short count);
  114. extern pascal void GetTimeout(short *count);
  115.  
  116. #ifdef __CFM68K__
  117. #pragma lib_export off
  118. #endif
  119.  
  120. #if GENERATINGPOWERPC
  121. #pragma options align=reset
  122. #endif
  123.  
  124. #ifdef __cplusplus
  125. }
  126. #endif
  127.  
  128. #endif /* __START__ */
  129.