19 #ifndef __VIDEOSERVICES__
20 #define __VIDEOSERVICES__
26 #ifndef __NAMEREGISTRY__
47 #if PRAGMA_STRUCT_ALIGN
48 #pragma options align = mac68k
49 #elif PRAGMA_STRUCT_PACKPUSH
51 #elif PRAGMA_STRUCT_PACK
57 kTransparentEncoding = 0,
58 kInvertingEncoding = 1
63 kTransparentEncodingShift = (kTransparentEncoding << 1),
64 kTransparentEncodedPixel = (0x01 << kTransparentEncodingShift),
65 kInvertingEncodingShift = (kInvertingEncoding << 1),
66 kInvertingEncodedPixel = (0x01 << kInvertingEncodingShift)
71 kHardwareCursorDescriptorMajorVersion = 0x0001,
72 kHardwareCursorDescriptorMinorVersion = 0x0000
75 typedef UInt32 *UInt32Ptr;
85 UInt32Ptr colorEncodings;
87 UInt32 supportedSpecialEncodings;
88 UInt32 specialEncodings[16];
94 kHardwareCursorInfoMajorVersion = 0x0001,
95 kHardwareCursorInfoMinorVersion = 0x0000
115 kVBLInterruptServiceType = FOUR_CHAR_CODE(
'vbl '),
116 kHBLInterruptServiceType = FOUR_CHAR_CODE(
'hbl '),
117 kFrameInterruptServiceType = FOUR_CHAR_CODE(
'fram'),
118 kConnectInterruptServiceType =
119 FOUR_CHAR_CODE(
'dci '),
120 kFBConnectInterruptServiceType =
121 kConnectInterruptServiceType,
123 kFBChangedInterruptServiceType =
124 FOUR_CHAR_CODE(
'chng'),
126 kFBOfflineInterruptServiceType = FOUR_CHAR_CODE(
129 kFBOnlineInterruptServiceType = FOUR_CHAR_CODE(
135 kMaxDisplayConfigDataSize =
139 typedef ResType InterruptServiceType;
140 typedef UInt32 InterruptServiceIDType;
141 typedef InterruptServiceIDType *InterruptServiceIDPtr;
142 #if CALL_NOT_IN_CARBON
153 InterruptServiceType serviceType,
154 InterruptServiceIDPtr serviceID);
212 void *configData,
long configDataSize);
216 #if PRAGMA_STRUCT_ALIGN
217 #pragma options align = reset
218 #elif PRAGMA_STRUCT_PACKPUSH
220 #elif PRAGMA_STRUCT_PACK
224 #ifdef PRAGMA_IMPORT_OFF
Basic Macintosh data types.
unsigned char Boolean
Definition: MacTypes.h:318
Interface to Quickdraw Graphics.
OSErr VSLWaitOnInterruptService(InterruptServiceIDType serviceID, Duration timeout)
OSErr VSLDoInterruptService(InterruptServiceIDType serviceID)
OSErr VSLNewInterruptService(RegEntryID *serviceDevice, InterruptServiceType serviceType, InterruptServiceIDPtr serviceID)
OSErr VSLSetDisplayConfiguration(RegEntryID *device, RegPropertyName *propertyName, void *configData, long configDataSize)
Boolean VSLPrepareCursorForHardwareCursor(void *cursorRef, HardwareCursorDescriptorPtr hardwareDescriptor, HardwareCursorInfoPtr hwCursorInfo)
OSErr VSLDisposeInterruptService(InterruptServiceIDType serviceID)
Definition: Quickdraw.h:1968
Definition: VideoServices.h:77
Definition: VideoServices.h:99
Definition: NameRegistry.h:62