4
Contains: Display Manager Interfaces.
6
Version: Technology: Mac OS 8
7
Release: Universal Interfaces 3.4.2
9
Copyright: � 1993-2002 by Apple Computer, Inc., all rights reserved.
11
Bugs?: For bug reports, consult the following page on
14
http://www.freepascal.org/bugs.html
20
Modified for use with Free Pascal
22
Please report any bugs to <gpc@microbizz.nl>
33
{$setc UNIVERSAL_INTERFACES_VERSION := $0342}
34
{$setc GAP_INTERFACES_VERSION := $0200}
36
{$ifc not defined USE_CFSTR_CONSTANT_MACROS}
37
{$setc USE_CFSTR_CONSTANT_MACROS := TRUE}
40
{$ifc defined CPUPOWERPC and defined CPUI386}
41
{$error Conflicting initial definitions for CPUPOWERPC and CPUI386}
43
{$ifc defined FPC_BIG_ENDIAN and defined FPC_LITTLE_ENDIAN}
44
{$error Conflicting initial definitions for FPC_BIG_ENDIAN and FPC_LITTLE_ENDIAN}
47
{$ifc not defined __ppc__ and defined CPUPOWERPC}
52
{$ifc not defined __i386__ and defined CPUI386}
58
{$ifc defined __ppc__ and __ppc__ and defined __i386__ and __i386__}
59
{$error Conflicting definitions for __ppc__ and __i386__}
62
{$ifc defined __ppc__ and __ppc__}
63
{$setc TARGET_CPU_PPC := TRUE}
64
{$setc TARGET_CPU_X86 := FALSE}
65
{$elifc defined __i386__ and __i386__}
66
{$setc TARGET_CPU_PPC := FALSE}
67
{$setc TARGET_CPU_X86 := TRUE}
69
{$error Neither __ppc__ nor __i386__ is defined.}
71
{$setc TARGET_CPU_PPC_64 := FALSE}
73
{$ifc defined FPC_BIG_ENDIAN}
74
{$setc TARGET_RT_BIG_ENDIAN := TRUE}
75
{$setc TARGET_RT_LITTLE_ENDIAN := FALSE}
76
{$elifc defined FPC_LITTLE_ENDIAN}
77
{$setc TARGET_RT_BIG_ENDIAN := FALSE}
78
{$setc TARGET_RT_LITTLE_ENDIAN := TRUE}
80
{$error Neither FPC_BIG_ENDIAN nor FPC_LITTLE_ENDIAN are defined.}
82
{$setc ACCESSOR_CALLS_ARE_FUNCTIONS := TRUE}
83
{$setc CALL_NOT_IN_CARBON := FALSE}
84
{$setc OLDROUTINENAMES := FALSE}
85
{$setc OPAQUE_TOOLBOX_STRUCTS := TRUE}
86
{$setc OPAQUE_UPP_TYPES := TRUE}
87
{$setc OTCARBONAPPLICATION := TRUE}
88
{$setc OTKERNEL := FALSE}
89
{$setc PM_USE_SESSION_APIS := TRUE}
90
{$setc TARGET_API_MAC_CARBON := TRUE}
91
{$setc TARGET_API_MAC_OS8 := FALSE}
92
{$setc TARGET_API_MAC_OSX := TRUE}
93
{$setc TARGET_CARBON := TRUE}
94
{$setc TARGET_CPU_68K := FALSE}
95
{$setc TARGET_CPU_MIPS := FALSE}
96
{$setc TARGET_CPU_SPARC := FALSE}
97
{$setc TARGET_OS_MAC := TRUE}
98
{$setc TARGET_OS_UNIX := FALSE}
99
{$setc TARGET_OS_WIN32 := FALSE}
100
{$setc TARGET_RT_MAC_68881 := FALSE}
101
{$setc TARGET_RT_MAC_CFM := FALSE}
102
{$setc TARGET_RT_MAC_MACHO := TRUE}
103
{$setc TYPED_FUNCTION_POINTERS := TRUE}
104
{$setc TYPE_BOOL := FALSE}
105
{$setc TYPE_EXTENDED := FALSE}
106
{$setc TYPE_LONGLONG := TRUE}
107
uses MacTypes,Quickdraw,CMTypes,AEDataModel,ConditionalMacros,Components,Video,CMApplication,AppleEvents,Events,Processes,Dialogs;
114
DMProcessInfoPtr = ProcessSerialNumberPtr;
115
DMModalFilterUPP = ModalFilterUPP;
119
{ AppleEvents Core Suite }
120
kAESystemConfigNotice = $636E6667 (* 'cnfg' *); { Core Suite types }
121
kAEDisplayNotice = $6473706C (* 'dspl' *);
122
kAEDisplaySummary = $6473756D (* 'dsum' *);
123
keyDMConfigVersion = $646D6376 (* 'dmcv' *);
124
keyDMConfigFlags = $646D6366 (* 'dmcf' *);
125
keyDMConfigReserved = $646D6372 (* 'dmcr' *);
126
keyDisplayID = $646D6964 (* 'dmid' *);
127
keyDisplayComponent = $646D6463 (* 'dmdc' *);
128
keyDisplayDevice = $646D6464 (* 'dmdd' *);
129
keyDisplayFlags = $646D6466 (* 'dmdf' *);
130
keyDisplayMode = $646D646D (* 'dmdm' *);
131
keyDisplayModeReserved = $646D6D72 (* 'dmmr' *);
132
keyDisplayReserved = $646D6472 (* 'dmdr' *);
133
keyDisplayMirroredId = $646D6D69 (* 'dmmi' *);
134
keyDeviceFlags = $64646466 (* 'dddf' *);
135
keyDeviceDepthMode = $6464646D (* 'dddm' *);
136
keyDeviceRect = $64646472 (* 'dddr' *);
137
keyPixMapRect = $64706472 (* 'dpdr' *);
138
keyPixMapHResolution = $64706872 (* 'dphr' *);
139
keyPixMapVResolution = $64707672 (* 'dpvr' *);
140
keyPixMapPixelType = $64707074 (* 'dppt' *);
141
keyPixMapPixelSize = $64707073 (* 'dpps' *);
142
keyPixMapCmpCount = $64706363 (* 'dpcc' *);
143
keyPixMapCmpSize = $64706373 (* 'dpcs' *);
144
keyPixMapAlignment = $64707061 (* 'dppa' *);
145
keyPixMapResReserved = $64707272 (* 'dprr' *);
146
keyPixMapReserved = $64707072 (* 'dppr' *);
147
keyPixMapColorTableSeed = $64706374 (* 'dpct' *);
148
keySummaryMenubar = $64736D62 (* 'dsmb' *);
149
keySummaryChanges = $64736368 (* 'dsch' *);
150
keyDisplayOldConfig = $646F6C64 (* 'dold' *);
151
keyDisplayNewConfig = $646E6577 (* 'dnew' *);
153
dmOnlyActiveDisplays = true;
154
dmAllDisplays = false;
157
{ DMSendDependentNotification notifyClass }
158
kDependentNotifyClassShowCursor = $73686372 (* 'shcr' *); { When display mgr shows a hidden cursor during an unmirror }
159
kDependentNotifyClassDriverOverride = $6E647276 (* 'ndrv' *); { When a driver is overridden }
160
kDependentNotifyClassDisplayMgrOverride = $646D6772 (* 'dmgr' *); { When display manager is upgraded }
161
kDependentNotifyClassProfileChanged = $70726F66 (* 'prof' *); { When DMSetProfileByAVID is called }
165
kNoSwitchConfirmBit = 0; { Flag indicating that there is no need to confirm a switch to this mode }
166
kDepthNotAvailableBit = 1; { Current depth not available in new mode }
167
kShowModeBit = 3; { Show this mode even though it requires a confirm. }
168
kModeNotResizeBit = 4; { Do not use this mode to resize display (for cards that mode drives a different connector). }
169
kNeverShowModeBit = 5; { This mode should not be shown in the user interface. }
171
{ Summary Change Flags (sticky bits indicating an operation was performed)
172
For example, moving a display then moving it back will still set the kMovedDisplayBit.
174
kBeginEndConfigureBit = 0;
175
kMovedDisplayBit = 1;
176
kSetMainDisplayBit = 2;
177
kSetDisplayModeBit = 3;
179
kRemoveDisplayBit = 5;
181
kDisposeDisplayBit = 7;
182
kEnabledDisplayBit = 8;
183
kDisabledDisplayBit = 9;
184
kMirrorDisplayBit = 10;
185
kUnMirrorDisplayBit = 11;
188
{ Notification Messages for extended call back routines }
189
kDMNotifyRequestConnectionProbe = 0; { Like kDMNotifyRequestDisplayProbe only not for smart displays (used in wake before all busses are awake) }
190
kDMNotifyInstalled = 1; { At install time }
191
kDMNotifyEvent = 2; { Post change time }
192
kDMNotifyRemoved = 3; { At remove time }
193
kDMNotifyPrep = 4; { Pre change time }
194
kDMNotifyExtendEvent = 5; { Allow registrees to extend apple event before it is sent }
195
kDMNotifyDependents = 6; { Minor notification check without full update }
196
kDMNotifySuspendConfigure = 7; { Temporary end of configuration }
197
kDMNotifyResumeConfigure = 8; { Resume configuration }
198
kDMNotifyRequestDisplayProbe = 9; { Request smart displays re-probe (used in sleep and hot plugging) }
199
{ Notification Flags }
200
kExtendedNotificationProc = $00010000;
203
{ types for notifyType }
204
kFullNotify = 0; { This is the appleevent whole nine yards notify }
205
kFullDependencyNotify = 1; { Only sends to those who want to know about interrelated functionality (used for updating UI) }
207
{ DisplayID/DeviceID constants }
208
kDummyDeviceID = $00FF; { This is the ID of the dummy display, used when the last �real� display is disabled. }
209
kInvalidDisplayID = $0000; { This is the invalid ID }
210
kFirstDisplayID = $0100;
212
{ bits for panelListFlags }
213
kAllowDuplicatesBit = 0;
215
{ bits for nameFlags }
216
kSuppressNumberBit = 0;
217
kSuppressNumberMask = 1;
219
kForceNumberMask = 2;
220
kSuppressNameBit = 2;
221
kSuppressNameMask = 4;
223
{ DMGetNameByAVID masks }
224
kDMSupressNumbersMask = $01; { Supress the numbers and return only names }
225
kDMForceNumbersMask = $02; { Force numbers to always be shown (even on single display configs) }
226
kDMSupressNameMask = $04; { Supress the names and return only numbers. }
229
{ Constants for fidelity checks }
231
kMinimumFidelity = 1;
232
kDefaultFidelity = 500; { I'm just picking a number for Apple default panels and engines }
233
kDefaultManufacturerFidelity = 1000; { I'm just picking a number for Manufacturer's panels and engines (overrides apple defaults) }
235
kAnyPanelType = 0; { Pass to DMNewEngineList for list of all panels (as opposed to specific types) }
236
kAnyEngineType = 0; { Pass to DMNewEngineList for list of all engines }
237
kAnyDeviceType = 0; { Pass to DMNewDeviceList for list of all devices }
238
kAnyPortType = 0; { Pass to DMNewDevicePortList for list of all devices }
240
{ portListFlags for DM_NewDevicePortList }
241
{ Should offline devices be put into the port list (such as dummy display) }
242
kPLIncludeOfflineDevicesBit = 0;
245
{ confirmFlags for DMConfirmConfiguration }
246
kForceConfirmBit = 0; { Force a confirm dialog }
247
kForceConfirmMask = $01;
250
{ Flags for displayModeFlags }
251
kDisplayModeListNotPreferredBit = 0;
252
kDisplayModeListNotPreferredMask = $01;
255
{ Flags for itemFlags }
256
kComponentListNotPreferredBit = 0;
257
kComponentListNotPreferredMask = $01;
259
kDisplayTimingInfoVersionZero = 1;
260
kDisplayTimingInfoReservedCountVersionZero = 16;
261
kDisplayModeEntryVersionZero = 0; { displayModeVersion - original version }
262
kDisplayModeEntryVersionOne = 1; { displayModeVersion - added displayModeOverrideInfo }
265
kMakeAndModelReservedCount = 4; { Number of reserved fields }
268
{ Display Gestalt for DMDisplayGestalt }
269
kDisplayGestaltDisplayCommunicationAttr = $636F6D6D (* 'comm' *);
270
kDisplayGestaltForbidI2CMask = $01; { Some displays have firmware problems if they get I2C communication. If this bit is set, then I2C communication is forbidden }
271
kDisplayGestaltUseI2CPowerMask = $02; { Some displays require I2C power settings (most use DPMS). }
272
kDisplayGestaltCalibratorAttr = $63616C69 (* 'cali' *);
273
kDisplayGestaltBrightnessAffectsGammaMask = $01; { Used by default calibrator (should we show brightness panel) }
274
kDisplayGestaltViewAngleAffectsGammaMask = $02; { Currently not used by color sync }
278
DMFidelityType = UInt32;
280
AVID is an ID for ports and devices the old DisplayID type
281
is carried on for compatibility
286
DMListIndexType = UInt32;
287
AVPowerStateRec = VDPowerStateRec;
288
AVPowerStateRecPtr = ^AVPowerStateRec;
289
AVPowerStatePtr = ^VDPowerStateRec;
290
DMDisplayTimingInfoRecPtr = ^DMDisplayTimingInfoRec;
291
DMDisplayTimingInfoRec = record
292
timingInfoVersion: UInt32;
293
timingInfoAttributes: UInt32; { Flags }
294
timingInfoRelativeQuality: SInt32; { quality of the timing }
295
timingInfoRelativeDefault: SInt32; { relative default of the timing }
296
timingInfoReserved: array [0..15] of UInt32; { Reserved }
299
DMDisplayTimingInfoPtr = ^DMDisplayTimingInfoRec;
301
DMComponentListEntryRecPtr = ^DMComponentListEntryRec;
302
DMComponentListEntryRec = record
303
itemID: DisplayIDType; { DisplayID Manager }
304
itemComponent: Component; { Component Manager }
305
itemDescription: ComponentDescription; { We can always construct this if we use something beyond the compontent mgr. }
306
itemClass: ResType; { Class of group to put this panel (eg geometry/color/etc for panels, brightness/contrast for engines, video out/sound/etc for devices) }
307
itemFidelity: DMFidelityType; { How good is this item for the specified search? }
308
itemSubClass: ResType; { Subclass of group to put this panel. Can use to do sub-grouping (eg volume for volume panel and mute panel) }
309
itemSort: Point; { Set to 0 - future to sort the items in a sub group. }
310
itemFlags: UInt32; { Set to 0 (future expansion) }
311
itemReserved: ResType; { What kind of code does the itemReference point to (right now - kPanelEntryTypeComponentMgr only) }
312
itemFuture1: UInt32; { Set to 0 (future expansion - probably an alternate code style) }
313
itemFuture2: UInt32; { Set to 0 (future expansion - probably an alternate code style) }
314
itemFuture3: UInt32; { Set to 0 (future expansion - probably an alternate code style) }
315
itemFuture4: UInt32; { Set to 0 (future expansion - probably an alternate code style) }
318
DMComponentListEntryPtr = ^DMComponentListEntryRec;
319
{ ��� Move AVLocationRec to AVComponents.i AFTER AVComponents.i is created }
320
AVLocationRecPtr = ^AVLocationRec;
321
AVLocationRec = record
322
locationConstant: UInt32; { Set to 0 (future expansion - probably an alternate code style) }
325
AVLocationPtr = ^AVLocationRec;
326
DMDepthInfoRecPtr = ^DMDepthInfoRec;
327
DMDepthInfoRec = record
328
depthSwitchInfo: VDSwitchInfoPtr; { This is the switch mode to choose this timing/depth }
329
depthVPBlock: VPBlockPtr; { VPBlock (including size, depth and format) }
330
depthFlags: UInt32; { VDVideoParametersInfoRec.csDepthFlags }
331
depthReserved1: UInt32; { Reserved }
332
depthReserved2: UInt32; { Reserved }
335
DMDepthInfoPtr = ^DMDepthInfoRec;
336
DMDepthInfoBlockRecPtr = ^DMDepthInfoBlockRec;
337
DMDepthInfoBlockRec = record
338
depthBlockCount: UInt32; { How many depths are there? }
339
depthVPBlock: DMDepthInfoPtr; { Array of DMDepthInfoRec }
340
depthBlockFlags: UInt32; { Reserved }
341
depthBlockReserved1: UInt32; { Reserved }
342
depthBlockReserved2: UInt32; { Reserved }
345
DMDepthInfoBlockPtr = ^DMDepthInfoBlockRec;
346
DMDisplayModeListEntryRecPtr = ^DMDisplayModeListEntryRec;
347
DMDisplayModeListEntryRec = record
348
displayModeFlags: UInt32;
349
displayModeSwitchInfo: VDSwitchInfoPtr;
350
displayModeResolutionInfo: VDResolutionInfoPtr;
351
displayModeTimingInfo: VDTimingInfoPtr;
352
displayModeDepthBlockInfo: DMDepthInfoBlockPtr; { Information about all the depths }
353
displayModeVersion: UInt32; { What version is this record (now kDisplayModeEntryVersionOne) }
354
displayModeName: StringPtr; { Name of the timing mode }
355
displayModeDisplayInfo: DMDisplayTimingInfoPtr; { Information from the display. }
358
DMDisplayModeListEntryPtr = ^DMDisplayModeListEntryRec;
360
DependentNotifyRecPtr = ^DependentNotifyRec;
361
DependentNotifyRec = record
362
notifyType: ResType; { What type was the engine that made the change (may be zero) }
363
notifyClass: ResType; { What class was the change (eg geometry, color etc) }
364
notifyPortID: DisplayIDType; { Which device was touched (kInvalidDisplayID -> all or none) }
365
notifyComponent: ComponentInstance; { What engine did it (may be 0)? }
366
notifyVersion: UInt32; { Set to 0 (future expansion) }
367
notifyFlags: UInt32; { Set to 0 (future expansion) }
368
notifyReserved: UInt32; { Set to 0 (future expansion) }
369
notifyFuture: UInt32; { Set to 0 (future expansion) }
372
DependentNotifyPtr = ^DependentNotifyRec;
374
DMMakeAndModelRecPtr = ^DMMakeAndModelRec;
375
DMMakeAndModelRec = record
376
manufacturer: ResType;
378
serialNumber: UInt32;
379
manufactureDate: UInt32;
380
makeReserved: array [0..3] of UInt32;
383
DMMakeAndModelPtr = ^DMMakeAndModelRec;
384
{ DMNewDisplayList displayListIncludeFlags }
387
kIncludeOnlineActiveDisplaysMask = $01;
388
kIncludeOnlineDisabledDisplaysMask = $02;
389
kIncludeOfflineDisplaysMask = $04;
390
kIncludeOfflineDummyDisplaysMask = $08;
391
kIncludeHardwareMirroredDisplaysMask = $10;
394
{ modeListFlags for DMNewDisplayModeList }
395
kDMModeListIncludeAllModesMask = $01; { Include all timing modes not _explicitly_ excluded (see other bits) }
396
kDMModeListIncludeOfflineModesMask = $02;
397
kDMModeListExcludeDriverModesMask = $04; { Exclude old-style timing modes (cscGetNextResolution/kDisplayModeIDFindFirstResolution modes) }
398
kDMModeListExcludeDisplayModesMask = $08; { Exclude timing modes that come from the display (always arbritrary timing modes) }
399
kDMModeListExcludeCustomModesMask = $10; { Exclude custom modes that came neither from the driver or display (need a better name) }
400
kDMModeListPreferStretchedModesMask = $20; { Prefer modes that are stretched over modes that are letterboxed when setting kDisplayModeListNotPreferredBit }
401
kDMModeListPreferSafeModesMask = $40; { Prefer modes that are safe over modes that are not when setting kDisplayModeListNotPreferredBit }
402
kDMModeListExcludeDriverScaledModesMask = $80; { Exclude modes that are scaled by the driver (usually on fixed resolution displays) }
405
{ DMNewDisplayList displayListFlags }
408
DisplayListEntryRecPtr = ^DisplayListEntryRec;
409
DisplayListEntryRec = record
410
displayListEntryGDevice: GDHandle;
411
displayListEntryDisplayID: DisplayIDType;
412
displayListEntryIncludeFlags: UInt32; { Reason this entry was included }
413
displayListEntryReserved1: UInt32;
414
displayListEntryReserved2: UInt32; { Zero }
415
displayListEntryReserved3: UInt32; { Zero }
416
displayListEntryReserved4: UInt32; { Zero }
417
displayListEntryReserved5: UInt32; { Zero }
420
DisplayListEntryPtr = ^DisplayListEntryRec;
421
DMProfileListEntryRecPtr = ^DMProfileListEntryRec;
422
DMProfileListEntryRec = record
423
profileRef: CMProfileRef;
424
profileReserved1: Ptr; { Reserved }
425
profileReserved2: Ptr; { Reserved }
426
profileReserved3: Ptr; { Reserved }
429
DMProfileListEntryPtr = ^DMProfileListEntryRec;
430
{$ifc TYPED_FUNCTION_POINTERS}
431
DMNotificationProcPtr = procedure(var theEvent: AppleEvent);
433
DMNotificationProcPtr = ProcPtr;
436
{$ifc TYPED_FUNCTION_POINTERS}
437
DMExtendedNotificationProcPtr = procedure(userData: UnivPtr; theMessage: SInt16; notifyData: UnivPtr);
439
DMExtendedNotificationProcPtr = ProcPtr;
442
{$ifc TYPED_FUNCTION_POINTERS}
443
DMComponentListIteratorProcPtr = procedure(userData: UnivPtr; itemIndex: DMListIndexType; componentInfo: DMComponentListEntryPtr);
445
DMComponentListIteratorProcPtr = ProcPtr;
448
{$ifc TYPED_FUNCTION_POINTERS}
449
DMDisplayModeListIteratorProcPtr = procedure(userData: UnivPtr; itemIndex: DMListIndexType; displaymodeInfo: DMDisplayModeListEntryPtr);
451
DMDisplayModeListIteratorProcPtr = ProcPtr;
454
{$ifc TYPED_FUNCTION_POINTERS}
455
DMProfileListIteratorProcPtr = procedure(userData: UnivPtr; itemIndex: DMListIndexType; profileInfo: DMProfileListEntryPtr);
457
DMProfileListIteratorProcPtr = ProcPtr;
460
{$ifc TYPED_FUNCTION_POINTERS}
461
DMDisplayListIteratorProcPtr = procedure(userData: UnivPtr; itemIndex: DMListIndexType; displaymodeInfo: DisplayListEntryPtr);
463
DMDisplayListIteratorProcPtr = ProcPtr;
466
{$ifc OPAQUE_UPP_TYPES}
467
DMNotificationUPP = ^SInt32; { an opaque UPP }
469
DMNotificationUPP = UniversalProcPtr;
471
{$ifc OPAQUE_UPP_TYPES}
472
DMExtendedNotificationUPP = ^SInt32; { an opaque UPP }
474
DMExtendedNotificationUPP = UniversalProcPtr;
476
{$ifc OPAQUE_UPP_TYPES}
477
DMComponentListIteratorUPP = ^SInt32; { an opaque UPP }
479
DMComponentListIteratorUPP = UniversalProcPtr;
481
{$ifc OPAQUE_UPP_TYPES}
482
DMDisplayModeListIteratorUPP = ^SInt32; { an opaque UPP }
484
DMDisplayModeListIteratorUPP = UniversalProcPtr;
486
{$ifc OPAQUE_UPP_TYPES}
487
DMProfileListIteratorUPP = ^SInt32; { an opaque UPP }
489
DMProfileListIteratorUPP = UniversalProcPtr;
491
{$ifc OPAQUE_UPP_TYPES}
492
DMDisplayListIteratorUPP = ^SInt32; { an opaque UPP }
494
DMDisplayListIteratorUPP = UniversalProcPtr;
498
uppDMNotificationProcInfo = $000000C0;
499
uppDMExtendedNotificationProcInfo = $00000EC0;
500
uppDMComponentListIteratorProcInfo = $00000FC0;
501
uppDMDisplayModeListIteratorProcInfo = $00000FC0;
502
uppDMProfileListIteratorProcInfo = $00000FC0;
503
uppDMDisplayListIteratorProcInfo = $00000FC0;
505
* NewDMNotificationUPP()
508
* Non-Carbon CFM: available as macro/inline
509
* CarbonLib: in CarbonLib 1.0 and later
510
* Mac OS X: in version 10.0 and later
512
function NewDMNotificationUPP(userRoutine: DMNotificationProcPtr): DMNotificationUPP; external name '_NewDMNotificationUPP'; { old name was NewDMNotificationProc }
514
* NewDMExtendedNotificationUPP()
517
* Non-Carbon CFM: available as macro/inline
518
* CarbonLib: in CarbonLib 1.0 and later
519
* Mac OS X: in version 10.0 and later
521
function NewDMExtendedNotificationUPP(userRoutine: DMExtendedNotificationProcPtr): DMExtendedNotificationUPP; external name '_NewDMExtendedNotificationUPP'; { old name was NewDMExtendedNotificationProc }
523
* NewDMComponentListIteratorUPP()
526
* Non-Carbon CFM: available as macro/inline
527
* CarbonLib: in CarbonLib 1.0 and later
528
* Mac OS X: in version 10.0 and later
530
function NewDMComponentListIteratorUPP(userRoutine: DMComponentListIteratorProcPtr): DMComponentListIteratorUPP; external name '_NewDMComponentListIteratorUPP'; { old name was NewDMComponentListIteratorProc }
532
* NewDMDisplayModeListIteratorUPP()
535
* Non-Carbon CFM: available as macro/inline
536
* CarbonLib: in CarbonLib 1.0 and later
537
* Mac OS X: in version 10.0 and later
539
function NewDMDisplayModeListIteratorUPP(userRoutine: DMDisplayModeListIteratorProcPtr): DMDisplayModeListIteratorUPP; external name '_NewDMDisplayModeListIteratorUPP'; { old name was NewDMDisplayModeListIteratorProc }
541
* NewDMProfileListIteratorUPP()
544
* Non-Carbon CFM: available as macro/inline
545
* CarbonLib: in CarbonLib 1.0 and later
546
* Mac OS X: in version 10.0 and later
548
function NewDMProfileListIteratorUPP(userRoutine: DMProfileListIteratorProcPtr): DMProfileListIteratorUPP; external name '_NewDMProfileListIteratorUPP'; { old name was NewDMProfileListIteratorProc }
550
* NewDMDisplayListIteratorUPP()
553
* Non-Carbon CFM: available as macro/inline
554
* CarbonLib: in CarbonLib 1.0 and later
555
* Mac OS X: in version 10.0 and later
557
function NewDMDisplayListIteratorUPP(userRoutine: DMDisplayListIteratorProcPtr): DMDisplayListIteratorUPP; external name '_NewDMDisplayListIteratorUPP'; { old name was NewDMDisplayListIteratorProc }
559
* DisposeDMNotificationUPP()
562
* Non-Carbon CFM: available as macro/inline
563
* CarbonLib: in CarbonLib 1.0 and later
564
* Mac OS X: in version 10.0 and later
566
procedure DisposeDMNotificationUPP(userUPP: DMNotificationUPP); external name '_DisposeDMNotificationUPP';
568
* DisposeDMExtendedNotificationUPP()
571
* Non-Carbon CFM: available as macro/inline
572
* CarbonLib: in CarbonLib 1.0 and later
573
* Mac OS X: in version 10.0 and later
575
procedure DisposeDMExtendedNotificationUPP(userUPP: DMExtendedNotificationUPP); external name '_DisposeDMExtendedNotificationUPP';
577
* DisposeDMComponentListIteratorUPP()
580
* Non-Carbon CFM: available as macro/inline
581
* CarbonLib: in CarbonLib 1.0 and later
582
* Mac OS X: in version 10.0 and later
584
procedure DisposeDMComponentListIteratorUPP(userUPP: DMComponentListIteratorUPP); external name '_DisposeDMComponentListIteratorUPP';
586
* DisposeDMDisplayModeListIteratorUPP()
589
* Non-Carbon CFM: available as macro/inline
590
* CarbonLib: in CarbonLib 1.0 and later
591
* Mac OS X: in version 10.0 and later
593
procedure DisposeDMDisplayModeListIteratorUPP(userUPP: DMDisplayModeListIteratorUPP); external name '_DisposeDMDisplayModeListIteratorUPP';
595
* DisposeDMProfileListIteratorUPP()
598
* Non-Carbon CFM: available as macro/inline
599
* CarbonLib: in CarbonLib 1.0 and later
600
* Mac OS X: in version 10.0 and later
602
procedure DisposeDMProfileListIteratorUPP(userUPP: DMProfileListIteratorUPP); external name '_DisposeDMProfileListIteratorUPP';
604
* DisposeDMDisplayListIteratorUPP()
607
* Non-Carbon CFM: available as macro/inline
608
* CarbonLib: in CarbonLib 1.0 and later
609
* Mac OS X: in version 10.0 and later
611
procedure DisposeDMDisplayListIteratorUPP(userUPP: DMDisplayListIteratorUPP); external name '_DisposeDMDisplayListIteratorUPP';
613
* InvokeDMNotificationUPP()
616
* Non-Carbon CFM: available as macro/inline
617
* CarbonLib: in CarbonLib 1.0 and later
618
* Mac OS X: in version 10.0 and later
620
procedure InvokeDMNotificationUPP(var theEvent: AppleEvent; userRoutine: DMNotificationUPP); external name '_InvokeDMNotificationUPP'; { old name was CallDMNotificationProc }
622
* InvokeDMExtendedNotificationUPP()
625
* Non-Carbon CFM: available as macro/inline
626
* CarbonLib: in CarbonLib 1.0 and later
627
* Mac OS X: in version 10.0 and later
629
procedure InvokeDMExtendedNotificationUPP(userData: UnivPtr; theMessage: SInt16; notifyData: UnivPtr; userRoutine: DMExtendedNotificationUPP); external name '_InvokeDMExtendedNotificationUPP'; { old name was CallDMExtendedNotificationProc }
631
* InvokeDMComponentListIteratorUPP()
634
* Non-Carbon CFM: available as macro/inline
635
* CarbonLib: in CarbonLib 1.0 and later
636
* Mac OS X: in version 10.0 and later
638
procedure InvokeDMComponentListIteratorUPP(userData: UnivPtr; itemIndex: DMListIndexType; componentInfo: DMComponentListEntryPtr; userRoutine: DMComponentListIteratorUPP); external name '_InvokeDMComponentListIteratorUPP'; { old name was CallDMComponentListIteratorProc }
640
* InvokeDMDisplayModeListIteratorUPP()
643
* Non-Carbon CFM: available as macro/inline
644
* CarbonLib: in CarbonLib 1.0 and later
645
* Mac OS X: in version 10.0 and later
647
procedure InvokeDMDisplayModeListIteratorUPP(userData: UnivPtr; itemIndex: DMListIndexType; displaymodeInfo: DMDisplayModeListEntryPtr; userRoutine: DMDisplayModeListIteratorUPP); external name '_InvokeDMDisplayModeListIteratorUPP'; { old name was CallDMDisplayModeListIteratorProc }
649
* InvokeDMProfileListIteratorUPP()
652
* Non-Carbon CFM: available as macro/inline
653
* CarbonLib: in CarbonLib 1.0 and later
654
* Mac OS X: in version 10.0 and later
656
procedure InvokeDMProfileListIteratorUPP(userData: UnivPtr; itemIndex: DMListIndexType; profileInfo: DMProfileListEntryPtr; userRoutine: DMProfileListIteratorUPP); external name '_InvokeDMProfileListIteratorUPP'; { old name was CallDMProfileListIteratorProc }
658
* InvokeDMDisplayListIteratorUPP()
661
* Non-Carbon CFM: available as macro/inline
662
* CarbonLib: in CarbonLib 1.0 and later
663
* Mac OS X: in version 10.0 and later
665
procedure InvokeDMDisplayListIteratorUPP(userData: UnivPtr; itemIndex: DMListIndexType; displaymodeInfo: DisplayListEntryPtr; userRoutine: DMDisplayListIteratorUPP); external name '_InvokeDMDisplayListIteratorUPP'; { old name was CallDMDisplayListIteratorProc }
666
{$ifc CALL_NOT_IN_CARBON}
671
* Non-Carbon CFM: in DisplayLib 2.1 and later
672
* CarbonLib: not available
673
* Mac OS X: not available
675
function DMDisplayGestalt(theDisplayID: DisplayIDType; displayGestaltSelector: ResType; var displayGestaltResponse: UInt32): OSErr; external name '_DMDisplayGestalt';
680
* Non-Carbon CFM: in DisplayLib 2.1 and later
681
* CarbonLib: not available
682
* Mac OS X: not available
684
function DMUseScreenPrefs(usePrefs: boolean; displayState: Handle): OSErr; external name '_DMUseScreenPrefs';
686
* DMSuspendConfigure()
689
* Non-Carbon CFM: in DisplayLib 2.1 and later
690
* CarbonLib: not available
691
* Mac OS X: not available
693
function DMSuspendConfigure(displayState: Handle; reserved1: UInt32): OSErr; external name '_DMSuspendConfigure';
695
* DMResumeConfigure()
698
* Non-Carbon CFM: in DisplayLib 2.1 and later
699
* CarbonLib: not available
700
* Mac OS X: not available
702
function DMResumeConfigure(displayState: Handle; reserved1: UInt32): OSErr; external name '_DMResumeConfigure';
707
* Non-Carbon CFM: in DisplayLib 2.1 and later
708
* CarbonLib: not available
709
* Mac OS X: not available
711
function DMSetGammaByAVID(gammaAVID: AVIDType; setGammaFlags: UInt32; theGamma: GammaTblHandle): OSErr; external name '_DMSetGammaByAVID';
716
* Non-Carbon CFM: in DisplayLib 2.1 and later
717
* CarbonLib: not available
718
* Mac OS X: not available
720
function DMGetGammaByAVID(gammaAVID: AVIDType; getGammaFlags: UInt32; var theGamma: GammaTblHandle): OSErr; external name '_DMGetGammaByAVID';
722
* DMGetMakeAndModelByAVID()
725
* Non-Carbon CFM: in DisplayLib 2.1 and later
726
* CarbonLib: not available
727
* Mac OS X: not available
729
function DMGetMakeAndModelByAVID(theAVID: AVIDType; theMakeAndModel: DMMakeAndModelPtr): OSErr; external name '_DMGetMakeAndModelByAVID';
734
* Non-Carbon CFM: in DisplayLib 2.1 and later
735
* CarbonLib: not available
736
* Mac OS X: not available
738
function DMNewDisplayList(displayListIncludeFlags: UInt32; reserved1: UInt32; reserved2: UInt32; var theCount: DMListIndexType; var theDisplayList: DMListType): OSErr; external name '_DMNewDisplayList';
740
* DMGetIndexedDisplayFromList()
743
* Non-Carbon CFM: in DisplayLib 2.1 and later
744
* CarbonLib: not available
745
* Mac OS X: not available
747
function DMGetIndexedDisplayFromList(theDisplayList: DMListType; itemIndex: DMListIndexType; reserved: UInt32; listIterator: DMDisplayListIteratorUPP; userData: UnivPtr): OSErr; external name '_DMGetIndexedDisplayFromList';
749
* DMNewProfileListByAVID()
752
* Non-Carbon CFM: in DisplayLib 2.1 and later
753
* CarbonLib: not available
754
* Mac OS X: not available
756
function DMNewProfileListByAVID(theAVID: AVIDType; reserved: UInt32; var profileCount: DMListIndexType; var profileList: DMListType): OSErr; external name '_DMNewProfileListByAVID';
758
* DMGetIndexedProfileFromList()
761
* Non-Carbon CFM: in DisplayLib 2.1 and later
762
* CarbonLib: not available
763
* Mac OS X: not available
765
function DMGetIndexedProfileFromList(profileList: DMListType; itemIndex: DMListIndexType; reserved: UInt32; listIterator: DMProfileListIteratorUPP; userData: UnivPtr): OSErr; external name '_DMGetIndexedProfileFromList';
766
{$endc} {CALL_NOT_IN_CARBON}
769
* DMGetFirstScreenDevice()
772
* Non-Carbon CFM: in InterfaceLib 7.1 and later
773
* CarbonLib: in CarbonLib 1.0 and later
774
* Mac OS X: in version 10.0 and later
776
function DMGetFirstScreenDevice(activeOnly: boolean): GDHandle; external name '_DMGetFirstScreenDevice';
778
* DMGetNextScreenDevice()
781
* Non-Carbon CFM: in InterfaceLib 7.1 and later
782
* CarbonLib: in CarbonLib 1.0 and later
783
* Mac OS X: in version 10.0 and later
785
function DMGetNextScreenDevice(theDevice: GDHandle; activeOnly: boolean): GDHandle; external name '_DMGetNextScreenDevice';
787
* DMDrawDesktopRect()
790
* Non-Carbon CFM: in InterfaceLib 7.1 and later
791
* CarbonLib: in CarbonLib 1.0 and later
792
* Mac OS X: in version 10.0 and later
794
procedure DMDrawDesktopRect(var globalRect: Rect); external name '_DMDrawDesktopRect';
796
* DMDrawDesktopRegion()
799
* Non-Carbon CFM: in InterfaceLib 7.1 and later
800
* CarbonLib: in CarbonLib 1.0 and later
801
* Mac OS X: in version 10.0 and later
803
procedure DMDrawDesktopRegion(globalRgn: RgnHandle); external name '_DMDrawDesktopRegion';
805
* DMBeginConfigureDisplays()
808
* Non-Carbon CFM: in InterfaceLib 7.1 and later
809
* CarbonLib: in CarbonLib 1.0 and later
810
* Mac OS X: in version 10.0 and later
812
function DMBeginConfigureDisplays(var displayState: Handle): OSErr; external name '_DMBeginConfigureDisplays';
814
* DMEndConfigureDisplays()
817
* Non-Carbon CFM: in InterfaceLib 7.1 and later
818
* CarbonLib: in CarbonLib 1.0 and later
819
* Mac OS X: in version 10.0 and later
821
function DMEndConfigureDisplays(displayState: Handle): OSErr; external name '_DMEndConfigureDisplays';
826
* Non-Carbon CFM: in InterfaceLib 7.1 and later
827
* CarbonLib: in CarbonLib 1.0 and later
828
* Mac OS X: in version 10.0 and later
830
function DMAddDisplay(newDevice: GDHandle; driver: SInt16; mode: UInt32; reserved: UInt32; displayID: UInt32; displayComponent: Component; displayState: Handle): OSErr; external name '_DMAddDisplay';
835
* Non-Carbon CFM: in InterfaceLib 7.1 and later
836
* CarbonLib: in CarbonLib 1.0 and later
837
* Mac OS X: in version 10.0 and later
839
function DMMoveDisplay(moveDevice: GDHandle; x: SInt16; y: SInt16; displayState: Handle): OSErr; external name '_DMMoveDisplay';
844
* Non-Carbon CFM: in InterfaceLib 7.1 and later
845
* CarbonLib: in CarbonLib 1.0 and later
846
* Mac OS X: in version 10.0 and later
848
function DMDisableDisplay(disableDevice: GDHandle; displayState: Handle): OSErr; external name '_DMDisableDisplay';
853
* Non-Carbon CFM: in InterfaceLib 7.1 and later
854
* CarbonLib: in CarbonLib 1.0 and later
855
* Mac OS X: in version 10.0 and later
857
function DMEnableDisplay(enableDevice: GDHandle; displayState: Handle): OSErr; external name '_DMEnableDisplay';
862
* Non-Carbon CFM: in InterfaceLib 7.1 and later
863
* CarbonLib: in CarbonLib 1.0 and later
864
* Mac OS X: in version 10.0 and later
866
function DMRemoveDisplay(removeDevice: GDHandle; displayState: Handle): OSErr; external name '_DMRemoveDisplay';
871
* Non-Carbon CFM: in InterfaceLib 7.1 and later
872
* CarbonLib: in CarbonLib 1.0 and later
873
* Mac OS X: in version 10.0 and later
875
function DMSetMainDisplay(newMainDevice: GDHandle; displayState: Handle): OSErr; external name '_DMSetMainDisplay';
880
* Non-Carbon CFM: in InterfaceLib 7.1 and later
881
* CarbonLib: in CarbonLib 1.0 and later
882
* Mac OS X: in version 10.0 and later
884
function DMSetDisplayMode(theDevice: GDHandle; mode: UInt32; var depthMode: UInt32; reserved: UInt32; displayState: Handle): OSErr; external name '_DMSetDisplayMode';
886
* DMCheckDisplayMode()
889
* Non-Carbon CFM: in InterfaceLib 7.1 and later
890
* CarbonLib: in CarbonLib 1.0 and later
891
* Mac OS X: in version 10.0 and later
893
function DMCheckDisplayMode(theDevice: GDHandle; mode: UInt32; depthMode: UInt32; var switchFlags: UInt32; reserved: UInt32; var modeOk: boolean): OSErr; external name '_DMCheckDisplayMode';
898
* Non-Carbon CFM: in InterfaceLib 7.1 and later
899
* CarbonLib: in CarbonLib 1.0 and later
900
* Mac OS X: in version 10.0 and later
902
function DMGetDeskRegion(var desktopRegion: RgnHandle): OSErr; external name '_DMGetDeskRegion';
904
* DMRegisterNotifyProc()
907
* Non-Carbon CFM: in InterfaceLib 7.1 and later
908
* CarbonLib: in CarbonLib 1.0 and later
909
* Mac OS X: in version 10.0 and later
911
function DMRegisterNotifyProc(notificationProc: DMNotificationUPP; whichPSN: DMProcessInfoPtr): OSErr; external name '_DMRegisterNotifyProc';
913
* DMRemoveNotifyProc()
916
* Non-Carbon CFM: in InterfaceLib 7.1 and later
917
* CarbonLib: in CarbonLib 1.0 and later
918
* Mac OS X: in version 10.0 and later
920
function DMRemoveNotifyProc(notificationProc: DMNotificationUPP; whichPSN: DMProcessInfoPtr): OSErr; external name '_DMRemoveNotifyProc';
922
* DMQDIsMirroringCapable()
925
* Non-Carbon CFM: in InterfaceLib 7.5 and later
926
* CarbonLib: in CarbonLib 1.0 and later
927
* Mac OS X: in version 10.0 and later
929
function DMQDIsMirroringCapable(var qdIsMirroringCapable: boolean): OSErr; external name '_DMQDIsMirroringCapable';
934
* Non-Carbon CFM: in InterfaceLib 7.5 and later
935
* CarbonLib: in CarbonLib 1.0 and later
936
* Mac OS X: in version 10.0 and later
938
function DMCanMirrorNow(var canMirrorNow: boolean): OSErr; external name '_DMCanMirrorNow';
943
* Non-Carbon CFM: in InterfaceLib 7.5 and later
944
* CarbonLib: in CarbonLib 1.0 and later
945
* Mac OS X: in version 10.0 and later
947
function DMIsMirroringOn(var isMirroringOn: boolean): OSErr; external name '_DMIsMirroringOn';
952
* Non-Carbon CFM: in InterfaceLib 7.5 and later
953
* CarbonLib: in CarbonLib 1.0 and later
954
* Mac OS X: in version 10.0 and later
956
function DMMirrorDevices(gD1: GDHandle; gD2: GDHandle; displayState: Handle): OSErr; external name '_DMMirrorDevices';
961
* Non-Carbon CFM: in InterfaceLib 7.5 and later
962
* CarbonLib: in CarbonLib 1.0 and later
963
* Mac OS X: in version 10.0 and later
965
function DMUnmirrorDevice(gDevice: GDHandle; displayState: Handle): OSErr; external name '_DMUnmirrorDevice';
967
* DMGetNextMirroredDevice()
970
* Non-Carbon CFM: in InterfaceLib 7.5 and later
971
* CarbonLib: in CarbonLib 1.0 and later
972
* Mac OS X: in version 10.0 and later
974
function DMGetNextMirroredDevice(gDevice: GDHandle; var mirroredDevice: GDHandle): OSErr; external name '_DMGetNextMirroredDevice';
979
* Non-Carbon CFM: in InterfaceLib 7.5 and later
980
* CarbonLib: in CarbonLib 1.0 and later
981
* Mac OS X: in version 10.0 and later
983
function DMBlockMirroring: OSErr; external name '_DMBlockMirroring';
985
* DMUnblockMirroring()
988
* Non-Carbon CFM: in InterfaceLib 7.5 and later
989
* CarbonLib: in CarbonLib 1.0 and later
990
* Mac OS X: in version 10.0 and later
992
function DMUnblockMirroring: OSErr; external name '_DMUnblockMirroring';
993
{$ifc CALL_NOT_IN_CARBON}
995
* DMGetDisplayMgrA5World()
998
* Non-Carbon CFM: in InterfaceLib 7.5 and later
999
* CarbonLib: not available
1000
* Mac OS X: not available
1002
function DMGetDisplayMgrA5World(var dmA5: Ptr): OSErr; external name '_DMGetDisplayMgrA5World';
1003
{$endc} {CALL_NOT_IN_CARBON}
1006
* DMGetDisplayIDByGDevice()
1009
* Non-Carbon CFM: in InterfaceLib 7.5 and later
1010
* CarbonLib: in CarbonLib 1.0 and later
1011
* Mac OS X: in version 10.0 and later
1013
function DMGetDisplayIDByGDevice(displayDevice: GDHandle; var displayID: DisplayIDType; failToMain: boolean): OSErr; external name '_DMGetDisplayIDByGDevice';
1015
* DMGetGDeviceByDisplayID()
1018
* Non-Carbon CFM: in InterfaceLib 7.5 and later
1019
* CarbonLib: in CarbonLib 1.0 and later
1020
* Mac OS X: in version 10.0 and later
1022
function DMGetGDeviceByDisplayID(displayID: DisplayIDType; var displayDevice: GDHandle; failToMain: boolean): OSErr; external name '_DMGetGDeviceByDisplayID';
1024
* DMSetDisplayComponent()
1027
* Non-Carbon CFM: in InterfaceLib 7.1 and later
1028
* CarbonLib: in CarbonLib 1.0 and later
1029
* Mac OS X: in version 10.0 and later
1031
function DMSetDisplayComponent(theDevice: GDHandle; displayComponent: Component): OSErr; external name '_DMSetDisplayComponent';
1033
* DMGetDisplayComponent()
1036
* Non-Carbon CFM: in InterfaceLib 7.1 and later
1037
* CarbonLib: in CarbonLib 1.0 and later
1038
* Mac OS X: in version 10.0 and later
1040
function DMGetDisplayComponent(theDevice: GDHandle; var displayComponent: Component): OSErr; external name '_DMGetDisplayComponent';
1045
* Non-Carbon CFM: in InterfaceLib 7.5 and later
1046
* CarbonLib: in CarbonLib 1.0 and later
1047
* Mac OS X: in version 10.0 and later
1049
function DMNewDisplay(var newDevice: GDHandle; driverRefNum: SInt16; mode: UInt32; reserved: UInt32; displayID: DisplayIDType; displayComponent: Component; displayState: Handle): OSErr; external name '_DMNewDisplay';
1051
* DMDisposeDisplay()
1054
* Non-Carbon CFM: in InterfaceLib 7.5 and later
1055
* CarbonLib: in CarbonLib 1.0 and later
1056
* Mac OS X: in version 10.0 and later
1058
function DMDisposeDisplay(disposeDevice: GDHandle; displayState: Handle): OSErr; external name '_DMDisposeDisplay';
1060
* DMResolveDisplayComponents()
1063
* Non-Carbon CFM: in InterfaceLib 7.1 and later
1064
* CarbonLib: in CarbonLib 1.0 and later
1065
* Mac OS X: in version 10.0 and later
1067
function DMResolveDisplayComponents: OSErr; external name '_DMResolveDisplayComponents';
1069
* DMRegisterExtendedNotifyProc()
1072
* Non-Carbon CFM: in DisplayLib 2.0 and later
1073
* CarbonLib: in CarbonLib 1.0 and later
1074
* Mac OS X: in version 10.0 and later
1076
function DMRegisterExtendedNotifyProc(notifyProc: DMExtendedNotificationUPP; notifyUserData: UnivPtr; nofifyOnFlags: UInt16; whichPSN: DMProcessInfoPtr): OSErr; external name '_DMRegisterExtendedNotifyProc';
1078
* DMRemoveExtendedNotifyProc()
1081
* Non-Carbon CFM: in DisplayLib 2.0 and later
1082
* CarbonLib: in CarbonLib 1.0 and later
1083
* Mac OS X: in version 10.0 and later
1085
function DMRemoveExtendedNotifyProc(notifyProc: DMExtendedNotificationUPP; notifyUserData: UnivPtr; whichPSN: DMProcessInfoPtr; removeFlags: UInt16): OSErr; external name '_DMRemoveExtendedNotifyProc';
1087
* DMNewAVPanelList()
1090
* Non-Carbon CFM: in DisplayLib68k 2.0 and later
1091
* CarbonLib: in CarbonLib 1.0 and later
1092
* Mac OS X: in version 10.0 and later
1094
function DMNewAVPanelList(displayID: DisplayIDType; panelType: ResType; minimumFidelity: DMFidelityType; panelListFlags: UInt32; reserved: UInt32; var thePanelCount: DMListIndexType; var thePanelList: DMListType): OSErr; external name '_DMNewAVPanelList';
1096
* DMNewAVEngineList()
1099
* Non-Carbon CFM: in DisplayLib68k 2.0 and later
1100
* CarbonLib: in CarbonLib 1.0 and later
1101
* Mac OS X: in version 10.0 and later
1103
function DMNewAVEngineList(displayID: DisplayIDType; engineType: ResType; minimumFidelity: DMFidelityType; engineListFlags: UInt32; reserved: UInt32; var engineCount: DMListIndexType; var engineList: DMListType): OSErr; external name '_DMNewAVEngineList';
1105
* DMNewAVDeviceList()
1108
* Non-Carbon CFM: in DisplayLib68k 2.0 and later
1109
* CarbonLib: in CarbonLib 1.0 and later
1110
* Mac OS X: in version 10.0 and later
1112
function DMNewAVDeviceList(deviceType: ResType; deviceListFlags: UInt32; reserved: UInt32; var deviceCount: DMListIndexType; var deviceList: DMListType): OSErr; external name '_DMNewAVDeviceList';
1114
* DMNewAVPortListByPortType()
1117
* Non-Carbon CFM: in DisplayLib68k 2.0 and later
1118
* CarbonLib: in CarbonLib 1.0 and later
1119
* Mac OS X: in version 10.0 and later
1121
function DMNewAVPortListByPortType(subType: ResType; portListFlags: UInt32; reserved: UInt32; var devicePortCount: DMListIndexType; var theDevicePortList: DMListType): OSErr; external name '_DMNewAVPortListByPortType';
1123
* DMGetIndexedComponentFromList()
1126
* Non-Carbon CFM: in DisplayLib68k 2.0 and later
1127
* CarbonLib: in CarbonLib 1.0 and later
1128
* Mac OS X: in version 10.0 and later
1130
function DMGetIndexedComponentFromList(panelList: DMListType; itemIndex: DMListIndexType; reserved: UInt32; listIterator: DMComponentListIteratorUPP; userData: UnivPtr): OSErr; external name '_DMGetIndexedComponentFromList';
1135
* Non-Carbon CFM: in DisplayLib 2.0 and later
1136
* CarbonLib: in CarbonLib 1.0 and later
1137
* Mac OS X: in version 10.0 and later
1139
function DMDisposeList(panelList: DMListType): OSErr; external name '_DMDisposeList';
1144
* Non-Carbon CFM: in DisplayLib68k 2.0 and later
1145
* CarbonLib: in CarbonLib 1.0 and later
1146
* Mac OS X: in version 10.0 and later
1148
function DMGetNameByAVID(theID: AVIDType; nameFlags: UInt32; var name: Str255): OSErr; external name '_DMGetNameByAVID';
1150
* DMNewAVIDByPortComponent()
1153
* Non-Carbon CFM: in DisplayLib68k 2.0 and later
1154
* CarbonLib: in CarbonLib 1.0 and later
1155
* Mac OS X: in version 10.0 and later
1157
function DMNewAVIDByPortComponent(thePortComponent: Component; portKind: ResType; reserved: UInt32; var newID: AVIDType): OSErr; external name '_DMNewAVIDByPortComponent';
1159
* DMGetPortComponentByAVID()
1162
* Non-Carbon CFM: in DisplayLib68k 2.0 and later
1163
* CarbonLib: in CarbonLib 1.0 and later
1164
* Mac OS X: in version 10.0 and later
1166
function DMGetPortComponentByAVID(thePortID: DisplayIDType; var thePortComponent: Component; var theDesciption: ComponentDescription; var thePortKind: ResType): OSErr; external name '_DMGetPortComponentByAVID';
1168
* DMSendDependentNotification()
1171
* Non-Carbon CFM: in DisplayLib 2.0 and later
1172
* CarbonLib: in CarbonLib 1.0 and later
1173
* Mac OS X: in version 10.0 and later
1175
function DMSendDependentNotification(notifyType: ResType; notifyClass: ResType; displayID: AVIDType; notifyComponent: ComponentInstance): OSErr; external name '_DMSendDependentNotification';
1177
* DMDisposeAVComponent()
1180
* Non-Carbon CFM: in DisplayLib68k 2.0 and later
1181
* CarbonLib: in CarbonLib 1.0 and later
1182
* Mac OS X: in version 10.0 and later
1184
function DMDisposeAVComponent(theAVComponent: Component): OSErr; external name '_DMDisposeAVComponent';
1186
* DMSaveScreenPrefs()
1189
* Non-Carbon CFM: in DisplayLib68k 2.0 and later
1190
* CarbonLib: in CarbonLib 1.0 and later
1191
* Mac OS X: in version 10.0 and later
1193
function DMSaveScreenPrefs(reserved1: UInt32; saveFlags: UInt32; reserved2: UInt32): OSErr; external name '_DMSaveScreenPrefs';
1195
* DMNewAVIDByDeviceComponent()
1198
* Non-Carbon CFM: in DisplayLib68k 2.0 and later
1199
* CarbonLib: in CarbonLib 1.0 and later
1200
* Mac OS X: in version 10.0 and later
1202
function DMNewAVIDByDeviceComponent(theDeviceComponent: Component; portKind: ResType; reserved: UInt32; var newID: DisplayIDType): OSErr; external name '_DMNewAVIDByDeviceComponent';
1204
* DMNewAVPortListByDeviceAVID()
1207
* Non-Carbon CFM: in DisplayLib68k 2.0 and later
1208
* CarbonLib: in CarbonLib 1.0 and later
1209
* Mac OS X: in version 10.0 and later
1211
function DMNewAVPortListByDeviceAVID(theID: AVIDType; minimumFidelity: DMFidelityType; portListFlags: UInt32; reserved: UInt32; var devicePortCount: DMListIndexType; var theDevicePortList: DMListType): OSErr; external name '_DMNewAVPortListByDeviceAVID';
1213
* DMGetDeviceComponentByAVID()
1216
* Non-Carbon CFM: in DisplayLib68k 2.0 and later
1217
* CarbonLib: in CarbonLib 1.0 and later
1218
* Mac OS X: in version 10.0 and later
1220
function DMGetDeviceComponentByAVID(theDeviceID: AVIDType; var theDeviceComponent: Component; var theDesciption: ComponentDescription; var theDeviceKind: ResType): OSErr; external name '_DMGetDeviceComponentByAVID';
1222
* DMNewDisplayModeList()
1225
* Non-Carbon CFM: in DisplayLib68k 2.0 and later
1226
* CarbonLib: in CarbonLib 1.0 and later
1227
* Mac OS X: in version 10.0 and later
1229
function DMNewDisplayModeList(displayID: DisplayIDType; modeListFlags: UInt32; reserved: UInt32; var thePanelCount: DMListIndexType; var thePanelList: DMListType): OSErr; external name '_DMNewDisplayModeList';
1231
* DMGetIndexedDisplayModeFromList()
1234
* Non-Carbon CFM: in DisplayLib68k 2.0 and later
1235
* CarbonLib: in CarbonLib 1.0 and later
1236
* Mac OS X: in version 10.0 and later
1238
function DMGetIndexedDisplayModeFromList(panelList: DMListType; itemIndex: DMListIndexType; reserved: UInt32; listIterator: DMDisplayModeListIteratorUPP; userData: UnivPtr): OSErr; external name '_DMGetIndexedDisplayModeFromList';
1240
* DMGetGraphicInfoByAVID()
1243
* Non-Carbon CFM: in DisplayLib68k 2.0 and later
1244
* CarbonLib: in CarbonLib 1.0 and later
1245
* Mac OS X: in version 10.0 and later
1247
function DMGetGraphicInfoByAVID(theID: AVIDType; var theAVPcit: PicHandle; var theAVIconSuite: Handle; var theAVLocation: AVLocationRec): OSErr; external name '_DMGetGraphicInfoByAVID';
1249
* DMGetAVPowerState()
1252
* Non-Carbon CFM: in DisplayLib68k 2.0 and later
1253
* CarbonLib: in CarbonLib 1.0 and later
1254
* Mac OS X: in version 10.0 and later
1256
function DMGetAVPowerState(theID: AVIDType; getPowerState: AVPowerStatePtr; reserved1: UInt32): OSErr; external name '_DMGetAVPowerState';
1258
* DMSetAVPowerState()
1261
* Non-Carbon CFM: in DisplayLib68k 2.0 and later
1262
* CarbonLib: in CarbonLib 1.0 and later
1263
* Mac OS X: in version 10.0 and later
1265
function DMSetAVPowerState(theID: AVIDType; setPowerState: AVPowerStatePtr; powerFlags: UInt32; displayState: Handle): OSErr; external name '_DMSetAVPowerState';
1267
* DMGetDeviceAVIDByPortAVID()
1270
* Non-Carbon CFM: in DisplayLib68k 2.0 and later
1271
* CarbonLib: in CarbonLib 1.0 and later
1272
* Mac OS X: in version 10.0 and later
1274
function DMGetDeviceAVIDByPortAVID(portAVID: AVIDType; var deviceAVID: AVIDType): OSErr; external name '_DMGetDeviceAVIDByPortAVID';
1276
* DMGetEnableByAVID()
1279
* Non-Carbon CFM: in DisplayLib68k 2.0 and later
1280
* CarbonLib: in CarbonLib 1.0 and later
1281
* Mac OS X: in version 10.0 and later
1283
function DMGetEnableByAVID(theAVID: AVIDType; var isAVIDEnabledNow: boolean; var canChangeEnableNow: boolean): OSErr; external name '_DMGetEnableByAVID';
1285
* DMSetEnableByAVID()
1288
* Non-Carbon CFM: in DisplayLib68k 2.0 and later
1289
* CarbonLib: in CarbonLib 1.0 and later
1290
* Mac OS X: in version 10.0 and later
1292
function DMSetEnableByAVID(theAVID: AVIDType; doEnable: boolean; displayState: Handle): OSErr; external name '_DMSetEnableByAVID';
1294
* DMGetDisplayMode()
1297
* Non-Carbon CFM: in DisplayLib68k 2.0 and later
1298
* CarbonLib: in CarbonLib 1.0 and later
1299
* Mac OS X: in version 10.0 and later
1301
function DMGetDisplayMode(theDevice: GDHandle; switchInfo: VDSwitchInfoPtr): OSErr; external name '_DMGetDisplayMode';
1303
* DMConfirmConfiguration()
1306
* Non-Carbon CFM: in DisplayLib 2.1 and later
1307
* CarbonLib: in CarbonLib 1.0 and later
1308
* Mac OS X: in version 10.0 and later
1310
function DMConfirmConfiguration(filterProc: DMModalFilterUPP; confirmFlags: UInt32; reserved: UInt32; displayState: Handle): OSErr; external name '_DMConfirmConfiguration';