22 #ifndef __CONDITIONALMACROS__
26 #ifndef __COMPONENTS__
34 #ifndef __CMAPPLICATION__
38 #ifndef __APPLEEVENTS__
67 #if PRAGMA_STRUCT_ALIGN
68 #pragma options align = mac68k
69 #elif PRAGMA_STRUCT_PACKPUSH
71 #elif PRAGMA_STRUCT_PACK
76 typedef ModalFilterUPP DMModalFilterUPP;
83 kAEDisplaySummary = FOUR_CHAR_CODE(
'dsum'),
84 keyDMConfigVersion = FOUR_CHAR_CODE(
'dmcv'),
85 keyDMConfigFlags = FOUR_CHAR_CODE(
'dmcf'),
86 keyDMConfigReserved = FOUR_CHAR_CODE(
'dmcr'),
87 keyDisplayID = FOUR_CHAR_CODE(
'dmid'),
88 keyDisplayComponent = FOUR_CHAR_CODE(
'dmdc'),
89 keyDisplayDevice = FOUR_CHAR_CODE(
'dmdd'),
90 keyDisplayFlags = FOUR_CHAR_CODE(
'dmdf'),
91 keyDisplayMode = FOUR_CHAR_CODE(
'dmdm'),
92 keyDisplayModeReserved = FOUR_CHAR_CODE(
'dmmr'),
93 keyDisplayReserved = FOUR_CHAR_CODE(
'dmdr'),
94 keyDisplayMirroredId = FOUR_CHAR_CODE(
'dmmi'),
95 keyDeviceFlags = FOUR_CHAR_CODE(
'dddf'),
96 keyDeviceDepthMode = FOUR_CHAR_CODE(
'dddm'),
97 keyDeviceRect = FOUR_CHAR_CODE(
'dddr'),
98 keyPixMapRect = FOUR_CHAR_CODE(
'dpdr'),
99 keyPixMapHResolution = FOUR_CHAR_CODE(
'dphr'),
100 keyPixMapVResolution = FOUR_CHAR_CODE(
'dpvr'),
101 keyPixMapPixelType = FOUR_CHAR_CODE(
'dppt'),
102 keyPixMapPixelSize = FOUR_CHAR_CODE(
'dpps'),
103 keyPixMapCmpCount = FOUR_CHAR_CODE(
'dpcc'),
104 keyPixMapCmpSize = FOUR_CHAR_CODE(
'dpcs'),
105 keyPixMapAlignment = FOUR_CHAR_CODE(
'dppa'),
106 keyPixMapResReserved = FOUR_CHAR_CODE(
'dprr'),
107 keyPixMapReserved = FOUR_CHAR_CODE(
'dppr'),
108 keyPixMapColorTableSeed = FOUR_CHAR_CODE(
'dpct'),
109 keySummaryMenubar = FOUR_CHAR_CODE(
'dsmb'),
110 keySummaryChanges = FOUR_CHAR_CODE(
'dsch'),
111 keyDisplayOldConfig = FOUR_CHAR_CODE(
'dold'),
112 keyDisplayNewConfig = FOUR_CHAR_CODE(
'dnew')
117 dmOnlyActiveDisplays =
true,
118 dmAllDisplays =
false
127 FOUR_CHAR_CODE(
'ndrv'),
129 FOUR_CHAR_CODE(
'dmgr'),
131 FOUR_CHAR_CODE(
'prof')
153 kBeginEndConfigureBit = 0,
154 kMovedDisplayBit = 1,
155 kSetMainDisplayBit = 2,
156 kSetDisplayModeBit = 3,
158 kRemoveDisplayBit = 5,
160 kDisposeDisplayBit = 7,
161 kEnabledDisplayBit = 8,
162 kDisabledDisplayBit = 9,
163 kMirrorDisplayBit = 10,
164 kUnMirrorDisplayBit = 11
200 kDummyDeviceID = 0x00FF,
216 kSuppressNumberMask = 1,
218 kForceNumberMask = 2,
219 kSuppressNameBit = 2,
220 kSuppressNameMask = 4
226 kDMSupressNumbersMask =
237 kMinimumFidelity = 1,
265 kForceConfirmBit = 0,
272 kDisplayModeListNotPreferredBit = 0,
273 kDisplayModeListNotPreferredMask = (1 << kDisplayModeListNotPreferredBit)
279 kComponentListNotPreferredBit = 0,
280 kComponentListNotPreferredMask = (1 << kComponentListNotPreferredBit)
285 kDisplayTimingInfoVersionZero = 1,
286 kDisplayTimingInfoReservedCountVersionZero = 16,
287 kDisplayModeEntryVersionZero = 0,
294 kMakeAndModelReservedCount = 4
300 kDisplayGestaltDisplayCommunicationAttr = FOUR_CHAR_CODE(
'comm'),
301 kDisplayGestaltForbidI2CMask =
308 kDisplayGestaltBrightnessAffectsGammaMask =
315 typedef UInt32 DMFidelityType;
322 typedef unsigned long DMListIndexType;
327 UInt32 timingInfoVersion;
328 UInt32 timingInfoAttributes;
339 DisplayIDType itemID;
372 unsigned long locationConstant;
390 unsigned long depthBlockCount;
400 UInt32 displayModeFlags;
405 displayModeDepthBlockInfo;
434 ResType manufacturer;
437 UInt32 manufactureDate;
439 UInt32 makeReserved[4];
446 kIncludeOnlineActiveDisplaysMask = (1 << 0),
447 kIncludeOnlineDisabledDisplaysMask = (1 << 1),
448 kIncludeOfflineDisplaysMask = (1 << 2),
449 kIncludeOfflineDummyDisplaysMask = (1 << 3),
450 kIncludeHardwareMirroredDisplaysMask = (1 << 4)
460 kDMModeListExcludeDriverModesMask =
485 DisplayIDType displayListEntryDisplayID;
486 UInt32 displayListEntryIncludeFlags;
489 UInt32 displayListEntryReserved2;
498 CMProfileRef profileRef;
499 Ptr profileReserved1;
506 typedef CALLBACK_API(
void, DMExtendedNotificationProcPtr)(
void *userData,
509 typedef CALLBACK_API(
void, DMComponentListIteratorProcPtr)(
510 void *userData, DMListIndexType itemIndex,
512 typedef CALLBACK_API(
void, DMDisplayModeListIteratorProcPtr)(
513 void *userData, DMListIndexType itemIndex,
515 typedef CALLBACK_API(
void, DMProfileListIteratorProcPtr)(
516 void *userData, DMListIndexType itemIndex,
518 typedef CALLBACK_API(
void, DMDisplayListIteratorProcPtr)(
519 void *userData, DMListIndexType itemIndex,
522 typedef STACK_UPP_TYPE(DMExtendedNotificationProcPtr) DMExtendedNotificationUPP;
524 DMComponentListIteratorUPP;
526 DMDisplayModeListIteratorUPP;
527 typedef STACK_UPP_TYPE(DMProfileListIteratorProcPtr) DMProfileListIteratorUPP;
528 typedef STACK_UPP_TYPE(DMDisplayListIteratorProcPtr) DMDisplayListIteratorUPP;
539 #if !OPAQUE_UPP_TYPES
542 uppDMNotificationProcInfo = 0x000000C0
545 inline DMNotificationUPP
549 uppDMNotificationProcInfo,
550 GetCurrentArchitecture());
553 #define NewDMNotificationUPP(userRoutine) \
554 (DMNotificationUPP) \
555 NewRoutineDescriptor((ProcPtr)(userRoutine), uppDMNotificationProcInfo, \
556 GetCurrentArchitecture())
568 DMExtendedNotificationUPP
570 #if !OPAQUE_UPP_TYPES
573 uppDMExtendedNotificationProcInfo = 0x00000EC0
576 inline DMExtendedNotificationUPP
580 (ProcPtr)(userRoutine), uppDMExtendedNotificationProcInfo,
581 GetCurrentArchitecture());
584 #define NewDMExtendedNotificationUPP(userRoutine) \
585 (DMExtendedNotificationUPP) NewRoutineDescriptor( \
586 (ProcPtr)(userRoutine), uppDMExtendedNotificationProcInfo, \
587 GetCurrentArchitecture())
599 DMComponentListIteratorUPP
601 #if !OPAQUE_UPP_TYPES
604 uppDMComponentListIteratorProcInfo = 0x00000FC0
607 inline DMComponentListIteratorUPP
611 (ProcPtr)(userRoutine), uppDMComponentListIteratorProcInfo,
612 GetCurrentArchitecture());
615 #define NewDMComponentListIteratorUPP(userRoutine) \
616 (DMComponentListIteratorUPP) NewRoutineDescriptor( \
617 (ProcPtr)(userRoutine), uppDMComponentListIteratorProcInfo, \
618 GetCurrentArchitecture())
630 DMDisplayModeListIteratorUPP
632 #if !OPAQUE_UPP_TYPES
635 uppDMDisplayModeListIteratorProcInfo = 0x00000FC0
638 inline DMDisplayModeListIteratorUPP
642 (ProcPtr)(userRoutine), uppDMDisplayModeListIteratorProcInfo,
643 GetCurrentArchitecture());
646 #define NewDMDisplayModeListIteratorUPP(userRoutine) \
647 (DMDisplayModeListIteratorUPP) NewRoutineDescriptor( \
648 (ProcPtr)(userRoutine), uppDMDisplayModeListIteratorProcInfo, \
649 GetCurrentArchitecture())
661 DMProfileListIteratorUPP
663 #if !OPAQUE_UPP_TYPES
666 uppDMProfileListIteratorProcInfo = 0x00000FC0
669 inline DMProfileListIteratorUPP
673 (ProcPtr)(userRoutine), uppDMProfileListIteratorProcInfo,
674 GetCurrentArchitecture());
677 #define NewDMProfileListIteratorUPP(userRoutine) \
678 (DMProfileListIteratorUPP) NewRoutineDescriptor( \
679 (ProcPtr)(userRoutine), uppDMProfileListIteratorProcInfo, \
680 GetCurrentArchitecture())
692 DMDisplayListIteratorUPP
694 #if !OPAQUE_UPP_TYPES
697 uppDMDisplayListIteratorProcInfo = 0x00000FC0
700 inline DMDisplayListIteratorUPP
704 (ProcPtr)(userRoutine), uppDMDisplayListIteratorProcInfo,
705 GetCurrentArchitecture());
708 #define NewDMDisplayListIteratorUPP(userRoutine) \
709 (DMDisplayListIteratorUPP) NewRoutineDescriptor( \
710 (ProcPtr)(userRoutine), uppDMDisplayListIteratorProcInfo, \
711 GetCurrentArchitecture())
725 #if !OPAQUE_UPP_TYPES
732 #define DisposeDMNotificationUPP(userUPP) DisposeRoutineDescriptor(userUPP)
746 #if !OPAQUE_UPP_TYPES
754 #define DisposeDMExtendedNotificationUPP(userUPP) \
755 DisposeRoutineDescriptor(userUPP)
769 #if !OPAQUE_UPP_TYPES
777 #define DisposeDMComponentListIteratorUPP(userUPP) \
778 DisposeRoutineDescriptor(userUPP)
792 #if !OPAQUE_UPP_TYPES
800 #define DisposeDMDisplayModeListIteratorUPP(userUPP) \
801 DisposeRoutineDescriptor(userUPP)
815 #if !OPAQUE_UPP_TYPES
822 #define DisposeDMProfileListIteratorUPP(userUPP) \
823 DisposeRoutineDescriptor(userUPP)
837 #if !OPAQUE_UPP_TYPES
844 #define DisposeDMDisplayListIteratorUPP(userUPP) \
845 DisposeRoutineDescriptor(userUPP)
859 #if !OPAQUE_UPP_TYPES
862 DMNotificationUPP userUPP)
864 CALL_ONE_PARAMETER_UPP(userUPP, uppDMNotificationProcInfo,
theEvent);
867 #define InvokeDMNotificationUPP(theEvent, userUPP) \
868 CALL_ONE_PARAMETER_UPP((userUPP), uppDMNotificationProcInfo, (theEvent))
883 DMExtendedNotificationUPP userUPP);
884 #if !OPAQUE_UPP_TYPES
888 DMExtendedNotificationUPP userUPP)
890 CALL_THREE_PARAMETER_UPP(userUPP, uppDMExtendedNotificationProcInfo, userData,
891 theMessage, notifyData);
894 #define InvokeDMExtendedNotificationUPP(userData, theMessage, notifyData, \
896 CALL_THREE_PARAMETER_UPP((userUPP), uppDMExtendedNotificationProcInfo, \
897 (userData), (theMessage), (notifyData))
912 DMComponentListIteratorUPP userUPP);
913 #if !OPAQUE_UPP_TYPES
918 DMComponentListIteratorUPP userUPP)
920 CALL_THREE_PARAMETER_UPP(userUPP, uppDMComponentListIteratorProcInfo,
921 userData, itemIndex, componentInfo);
924 #define InvokeDMComponentListIteratorUPP(userData, itemIndex, componentInfo, \
926 CALL_THREE_PARAMETER_UPP((userUPP), uppDMComponentListIteratorProcInfo, \
927 (userData), (itemIndex), (componentInfo))
942 DMDisplayModeListIteratorUPP userUPP);
943 #if !OPAQUE_UPP_TYPES
948 DMDisplayModeListIteratorUPP userUPP)
950 CALL_THREE_PARAMETER_UPP(userUPP, uppDMDisplayModeListIteratorProcInfo,
951 userData, itemIndex, displaymodeInfo);
954 #define InvokeDMDisplayModeListIteratorUPP(userData, itemIndex, \
955 displaymodeInfo, userUPP) \
956 CALL_THREE_PARAMETER_UPP((userUPP), uppDMDisplayModeListIteratorProcInfo, \
957 (userData), (itemIndex), (displaymodeInfo))
972 DMProfileListIteratorUPP userUPP);
973 #if !OPAQUE_UPP_TYPES
976 DMListIndexType itemIndex,
978 DMProfileListIteratorUPP userUPP)
980 CALL_THREE_PARAMETER_UPP(userUPP, uppDMProfileListIteratorProcInfo, userData,
981 itemIndex, profileInfo);
984 #define InvokeDMProfileListIteratorUPP(userData, itemIndex, profileInfo, \
986 CALL_THREE_PARAMETER_UPP((userUPP), uppDMProfileListIteratorProcInfo, \
987 (userData), (itemIndex), (profileInfo))
1002 DMDisplayListIteratorUPP userUPP);
1003 #if !OPAQUE_UPP_TYPES
1006 DMListIndexType itemIndex,
1008 DMDisplayListIteratorUPP userUPP)
1010 CALL_THREE_PARAMETER_UPP(userUPP, uppDMDisplayListIteratorProcInfo, userData,
1011 itemIndex, displaymodeInfo);
1014 #define InvokeDMDisplayListIteratorUPP(userData, itemIndex, displaymodeInfo, \
1016 CALL_THREE_PARAMETER_UPP((userUPP), uppDMDisplayListIteratorProcInfo, \
1017 (userData), (itemIndex), (displaymodeInfo))
1021 #if CALL_NOT_IN_CARBON || OLDROUTINENAMES
1023 #define NewDMNotificationProc(userRoutine) NewDMNotificationUPP(userRoutine)
1024 #define NewDMExtendedNotificationProc(userRoutine) \
1025 NewDMExtendedNotificationUPP(userRoutine)
1026 #define NewDMComponentListIteratorProc(userRoutine) \
1027 NewDMComponentListIteratorUPP(userRoutine)
1028 #define NewDMDisplayModeListIteratorProc(userRoutine) \
1029 NewDMDisplayModeListIteratorUPP(userRoutine)
1030 #define NewDMProfileListIteratorProc(userRoutine) \
1031 NewDMProfileListIteratorUPP(userRoutine)
1032 #define NewDMDisplayListIteratorProc(userRoutine) \
1033 NewDMDisplayListIteratorUPP(userRoutine)
1034 #define CallDMNotificationProc(userRoutine, theEvent) \
1035 InvokeDMNotificationUPP(theEvent, userRoutine)
1036 #define CallDMExtendedNotificationProc(userRoutine, userData, theMessage, \
1038 InvokeDMExtendedNotificationUPP(userData, theMessage, notifyData, userRoutine)
1039 #define CallDMComponentListIteratorProc(userRoutine, userData, itemIndex, \
1041 InvokeDMComponentListIteratorUPP(userData, itemIndex, componentInfo, \
1043 #define CallDMDisplayModeListIteratorProc(userRoutine, userData, itemIndex, \
1045 InvokeDMDisplayModeListIteratorUPP(userData, itemIndex, displaymodeInfo, \
1047 #define CallDMProfileListIteratorProc(userRoutine, userData, itemIndex, \
1049 InvokeDMProfileListIteratorUPP(userData, itemIndex, profileInfo, userRoutine)
1050 #define CallDMDisplayListIteratorProc(userRoutine, userData, itemIndex, \
1052 InvokeDMDisplayListIteratorUPP(userData, itemIndex, displaymodeInfo, \
1056 #if CALL_NOT_IN_CARBON
1067 UInt32 *displayGestaltResponse);
1147 UInt32 reserved2, DMListIndexType *theCount,
1160 DMListIndexType itemIndex, UInt32 reserved,
1161 DMDisplayListIteratorUPP listIterator,
1174 DMListIndexType *profileCount,
DMListType *profileList);
1187 DMProfileListIteratorUPP listIterator,
1268 unsigned long reserved,
unsigned long displayID,
1269 Component displayComponent, Handle displayState);
1336 unsigned long *depthMode,
unsigned long reserved,
1337 Handle displayState);
1349 unsigned long depthMode,
unsigned long *switchFlags,
1350 unsigned long reserved,
Boolean *modeOk);
1475 #if CALL_NOT_IN_CARBON
1545 unsigned long reserved, DisplayIDType displayID,
1546 Component displayComponent, Handle displayState);
1580 void *notifyUserData,
unsigned short nofifyOnFlags,
1594 unsigned short removeFlags);
1606 DMFidelityType minimumFidelity,
unsigned long panelListFlags,
1607 unsigned long reserved, DMListIndexType *thePanelCount,
1620 DMFidelityType minimumFidelity,
unsigned long engineListFlags,
1621 unsigned long reserved, DMListIndexType *engineCount,
1634 unsigned long reserved, DMListIndexType *deviceCount,
1647 unsigned long reserved,
1648 DMListIndexType *devicePortCount,
1661 unsigned long reserved,
1662 DMComponentListIteratorUPP listIterator,
1697 unsigned long reserved, AVIDType *newID);
1710 ResType *thePortKind);
1746 unsigned long reserved2);
1758 unsigned long reserved, DisplayIDType *newID);
1770 unsigned long portListFlags,
unsigned long reserved,
1771 DMListIndexType *devicePortCount,
1785 ResType *theDeviceKind);
1797 unsigned long reserved, DMListIndexType *thePanelCount,
1810 unsigned long reserved,
1811 DMDisplayModeListIteratorUPP listIterator,
1836 unsigned long reserved1);
1848 unsigned long powerFlags, Handle displayState);
1905 UInt32 reserved, Handle displayState);
1907 #if PRAGMA_STRUCT_ALIGN
1908 #pragma options align = reset
1909 #elif PRAGMA_STRUCT_PACKPUSH
1911 #elif PRAGMA_STRUCT_PACK
1915 #ifdef PRAGMA_IMPORT_OFF
1918 #pragma import reset
AppleEvent Package Interfaces.
Color Matching Interfaces.
Component Manager Interfaces.
Set up for compiler independent conditionals.
Dialog Manager interfaces.
@ kDependentNotifyClassProfileChanged
Definition: Displays.h:130
@ kDependentNotifyClassDisplayMgrOverride
Definition: Displays.h:128
@ kDependentNotifyClassShowCursor
Definition: Displays.h:124
@ kDependentNotifyClassDriverOverride
Definition: Displays.h:126
void DMDrawDesktopRegion(RgnHandle globalRgn)
#define NewDMNotificationUPP(userRoutine)
Definition: Displays.h:553
OSErr DMDisposeDisplay(GDHandle disposeDevice, Handle displayState)
void InvokeDMNotificationUPP(AppleEvent *theEvent, DMNotificationUPP userUPP)
#define NewDMComponentListIteratorUPP(userRoutine)
Definition: Displays.h:615
OSErr DMRemoveNotifyProc(DMNotificationUPP notificationProc, DMProcessInfoPtr whichPSN)
@ kPLIncludeOfflineDevicesBit
Definition: Displays.h:259
OSErr DMMirrorDevices(GDHandle gD1, GDHandle gD2, Handle displayState)
OSErr DMNewAVPortListByDeviceAVID(AVIDType theID, DMFidelityType minimumFidelity, unsigned long portListFlags, unsigned long reserved, DMListIndexType *devicePortCount, DMListType *theDevicePortList)
OSErr DMBlockMirroring(void)
void InvokeDMProfileListIteratorUPP(void *userData, DMListIndexType itemIndex, DMProfileListEntryPtr profileInfo, DMProfileListIteratorUPP userUPP)
OSErr DMGetMakeAndModelByAVID(AVIDType theAVID, DMMakeAndModelPtr theMakeAndModel)
OSErr DMGetDisplayComponent(GDHandle theDevice, Component *displayComponent)
#define NewDMDisplayListIteratorUPP(userRoutine)
Definition: Displays.h:708
OSErr DMNewAVEngineList(DisplayIDType displayID, ResType engineType, DMFidelityType minimumFidelity, unsigned long engineListFlags, unsigned long reserved, DMListIndexType *engineCount, DMListType *engineList)
OSErr DMGetAVPowerState(AVIDType theID, AVPowerStatePtr getPowerState, unsigned long reserved1)
OSErr DMGetDeviceAVIDByPortAVID(AVIDType portAVID, AVIDType *deviceAVID)
OSErr DMGetGraphicInfoByAVID(AVIDType theID, PicHandle *theAVPcit, Handle *theAVIconSuite, AVLocationRec *theAVLocation)
OSErr DMGetGammaByAVID(AVIDType gammaAVID, UInt32 getGammaFlags, GammaTblHandle *theGamma)
OSErr DMDisposeAVComponent(Component theAVComponent)
OSErr DMGetPortComponentByAVID(DisplayIDType thePortID, Component *thePortComponent, ComponentDescription *theDesciption, ResType *thePortKind)
OSErr DMQDIsMirroringCapable(Boolean *qdIsMirroringCapable)
OSErr DMResolveDisplayComponents(void)
OSErr DMSendDependentNotification(ResType notifyType, ResType notifyClass, AVIDType displayID, ComponentInstance notifyComponent)
void DMDrawDesktopRect(Rect *globalRect)
OSErr DMMoveDisplay(GDHandle moveDevice, short x, short y, Handle displayState)
OSErr DMNewAVPanelList(DisplayIDType displayID, ResType panelType, DMFidelityType minimumFidelity, unsigned long panelListFlags, unsigned long reserved, DMListIndexType *thePanelCount, DMListType *thePanelList)
#define NewDMDisplayModeListIteratorUPP(userRoutine)
Definition: Displays.h:646
@ kFullDependencyNotify
Definition: Displays.h:192
OSErr DMNewDisplayList(UInt32 displayListIncludeFlags, UInt32 reserved1, UInt32 reserved2, DMListIndexType *theCount, DMListType *theDisplayList)
OSErr DMRegisterExtendedNotifyProc(DMExtendedNotificationUPP notifyProc, void *notifyUserData, unsigned short nofifyOnFlags, DMProcessInfoPtr whichPSN)
OSErr DMNewDisplayModeList(DisplayIDType displayID, unsigned long modeListFlags, unsigned long reserved, DMListIndexType *thePanelCount, DMListType *thePanelList)
OSErr DMConfirmConfiguration(DMModalFilterUPP filterProc, UInt32 confirmFlags, UInt32 reserved, Handle displayState)
OSErr DMAddDisplay(GDHandle newDevice, short driver, unsigned long mode, unsigned long reserved, unsigned long displayID, Component displayComponent, Handle displayState)
@ kInvalidDisplayID
Definition: Displays.h:202
@ kFirstDisplayID
Definition: Displays.h:203
OSErr DMGetIndexedDisplayModeFromList(DMListType panelList, DMListIndexType itemIndex, unsigned long reserved, DMDisplayModeListIteratorUPP listIterator, void *userData)
OSErr DMNewAVPortListByPortType(ResType subType, unsigned long portListFlags, unsigned long reserved, DMListIndexType *devicePortCount, DMListType *theDevicePortList)
OSErr DMSetAVPowerState(AVIDType theID, AVPowerStatePtr setPowerState, unsigned long powerFlags, Handle displayState)
OSErr DMResumeConfigure(Handle displayState, unsigned long reserved1)
OSErr DMGetIndexedProfileFromList(DMListType profileList, DMListIndexType itemIndex, UInt32 reserved, DMProfileListIteratorUPP listIterator, void *userData)
OSErr DMSaveScreenPrefs(unsigned long reserved1, unsigned long saveFlags, unsigned long reserved2)
@ kDisplayGestaltViewAngleAffectsGammaMask
Definition: Displays.h:311
@ kDisplayGestaltCalibratorAttr
Definition: Displays.h:307
@ kDisplayGestaltUseI2CPowerMask
Definition: Displays.h:305
OSErr DMCheckDisplayMode(GDHandle theDevice, unsigned long mode, unsigned long depthMode, unsigned long *switchFlags, unsigned long reserved, Boolean *modeOk)
OSErr DMSetDisplayComponent(GDHandle theDevice, Component displayComponent)
OSErr DMDisposeList(DMListType panelList)
OSErr DMDisableDisplay(GDHandle disableDevice, Handle displayState)
OSErr DMGetDeviceComponentByAVID(AVIDType theDeviceID, Component *theDeviceComponent, ComponentDescription *theDesciption, ResType *theDeviceKind)
@ kDMModeListExcludeCustomModesMask
Definition: Displays.h:467
@ kDMModeListIncludeOfflineModesMask
Definition: Displays.h:459
@ kDMModeListExcludeDriverScaledModesMask
Definition: Displays.h:476
@ kDMModeListPreferSafeModesMask
Definition: Displays.h:473
@ kDMModeListExcludeDisplayModesMask
Definition: Displays.h:464
@ kDMModeListIncludeAllModesMask
Definition: Displays.h:456
@ kDMModeListPreferStretchedModesMask
Definition: Displays.h:470
OSErr DMNewAVIDByDeviceComponent(Component theDeviceComponent, ResType portKind, unsigned long reserved, DisplayIDType *newID)
OSErr DMSetGammaByAVID(AVIDType gammaAVID, UInt32 setGammaFlags, GammaTblHandle theGamma)
GDHandle DMGetNextScreenDevice(GDHandle theDevice, Boolean activeOnly)
@ kAEDisplayNotice
Definition: Displays.h:82
@ kAESystemConfigNotice
Definition: Displays.h:81
OSErr DMEnableDisplay(GDHandle enableDevice, Handle displayState)
OSErr DMUnblockMirroring(void)
OSErr DMGetNextMirroredDevice(GDHandle gDevice, GDHandle *mirroredDevice)
OSErr DMUseScreenPrefs(Boolean usePrefs, Handle displayState)
OSErr DMNewDisplay(GDHandle *newDevice, short driverRefNum, unsigned long mode, unsigned long reserved, DisplayIDType displayID, Component displayComponent, Handle displayState)
void * DMListType
Definition: Displays.h:321
@ kDefaultManufacturerFidelity
Definition: Displays.h:240
OSErr DMNewAVDeviceList(ResType deviceType, unsigned long deviceListFlags, unsigned long reserved, DMListIndexType *deviceCount, DMListType *deviceList)
#define NewDMExtendedNotificationUPP(userRoutine)
Definition: Displays.h:584
OSErr DMGetDisplayMode(GDHandle theDevice, VDSwitchInfoPtr switchInfo)
@ kForceConfirmMask
Definition: Displays.h:266
OSErr DMDisplayGestalt(DisplayIDType theDisplayID, ResType displayGestaltSelector, UInt32 *displayGestaltResponse)
OSErr DMGetDeskRegion(RgnHandle *desktopRegion)
OSErr DMGetIndexedDisplayFromList(DMListType theDisplayList, DMListIndexType itemIndex, UInt32 reserved, DMDisplayListIteratorUPP listIterator, void *userData)
OSErr DMSuspendConfigure(Handle displayState, unsigned long reserved1)
#define NewDMProfileListIteratorUPP(userRoutine)
Definition: Displays.h:677
OSErr DMGetDisplayMgrA5World(Ptr *dmA5)
OSErr DMIsMirroringOn(Boolean *isMirroringOn)
void InvokeDMDisplayListIteratorUPP(void *userData, DMListIndexType itemIndex, DisplayListEntryPtr displaymodeInfo, DMDisplayListIteratorUPP userUPP)
void DisposeDMDisplayModeListIteratorUPP(DMDisplayModeListIteratorUPP userUPP)
@ kDMNotifyDependents
Definition: Displays.h:179
@ kExtendedNotificationProc
Definition: Displays.h:185
@ kDMNotifyPrep
Definition: Displays.h:176
@ kDMNotifyExtendEvent
Definition: Displays.h:177
@ kDMNotifyRemoved
Definition: Displays.h:175
@ kDMNotifyEvent
Definition: Displays.h:174
@ kDMNotifyInstalled
Definition: Displays.h:173
@ kDMNotifyRequestConnectionProbe
Definition: Displays.h:170
@ kDMNotifyResumeConfigure
Definition: Displays.h:181
@ kDMNotifyRequestDisplayProbe
Definition: Displays.h:182
@ kDMNotifySuspendConfigure
Definition: Displays.h:180
OSErr DMGetGDeviceByDisplayID(DisplayIDType displayID, GDHandle *displayDevice, Boolean failToMain)
void InvokeDMExtendedNotificationUPP(void *userData, short theMessage, void *notifyData, DMExtendedNotificationUPP userUPP)
OSErr DMCanMirrorNow(Boolean *canMirrorNow)
OSErr DMUnmirrorDevice(GDHandle gDevice, Handle displayState)
OSErr DMRemoveExtendedNotifyProc(DMExtendedNotificationUPP notifyProc, void *notifyUserData, DMProcessInfoPtr whichPSN, unsigned short removeFlags)
OSErr DMSetEnableByAVID(AVIDType theAVID, Boolean doEnable, Handle displayState)
void DisposeDMComponentListIteratorUPP(DMComponentListIteratorUPP userUPP)
@ kDMSupressNameMask
Definition: Displays.h:230
@ kDMForceNumbersMask
Definition: Displays.h:228
void InvokeDMComponentListIteratorUPP(void *userData, DMListIndexType itemIndex, DMComponentListEntryPtr componentInfo, DMComponentListIteratorUPP userUPP)
GDHandle DMGetFirstScreenDevice(Boolean activeOnly)
OSErr DMSetMainDisplay(GDHandle newMainDevice, Handle displayState)
void DisposeDMProfileListIteratorUPP(DMProfileListIteratorUPP userUPP)
OSErr DMEndConfigureDisplays(Handle displayState)
@ kDisplayModeEntryVersionOne
Definition: Displays.h:288
OSErr DMNewAVIDByPortComponent(Component thePortComponent, ResType portKind, unsigned long reserved, AVIDType *newID)
void InvokeDMDisplayModeListIteratorUPP(void *userData, DMListIndexType itemIndex, DMDisplayModeListEntryPtr displaymodeInfo, DMDisplayModeListIteratorUPP userUPP)
OSErr DMGetNameByAVID(AVIDType theID, unsigned long nameFlags, Str255 name)
OSErr DMNewProfileListByAVID(AVIDType theAVID, UInt32 reserved, DMListIndexType *profileCount, DMListType *profileList)
OSErr DMBeginConfigureDisplays(Handle *displayState)
void DisposeDMNotificationUPP(DMNotificationUPP userUPP)
@ kAnyDeviceType
Definition: Displays.h:250
@ kAnyEngineType
Definition: Displays.h:249
@ kAnyPortType
Definition: Displays.h:251
void DisposeDMExtendedNotificationUPP(DMExtendedNotificationUPP userUPP)
@ kAllowDuplicatesBit
Definition: Displays.h:209
OSErr DMGetDisplayIDByGDevice(GDHandle displayDevice, DisplayIDType *displayID, Boolean failToMain)
OSErr DMRemoveDisplay(GDHandle removeDevice, Handle displayState)
@ kShowModeBit
Definition: Displays.h:140
@ kNeverShowModeBit
Definition: Displays.h:143
@ kDepthNotAvailableBit
Definition: Displays.h:139
@ kNoSwitchConfirmBit
Definition: Displays.h:137
@ kModeNotResizeBit
Definition: Displays.h:141
OSErr DMSetDisplayMode(GDHandle theDevice, unsigned long mode, unsigned long *depthMode, unsigned long reserved, Handle displayState)
OSErr DMGetEnableByAVID(AVIDType theAVID, Boolean *isAVIDEnabledNow, Boolean *canChangeEnableNow)
OSErr DMGetIndexedComponentFromList(DMListType panelList, DMListIndexType itemIndex, unsigned long reserved, DMComponentListIteratorUPP listIterator, void *userData)
@ kSuppressNumberBit
Definition: Displays.h:215
void DisposeDMDisplayListIteratorUPP(DMDisplayListIteratorUPP userUPP)
OSErr DMRegisterNotifyProc(DMNotificationUPP notificationProc, DMProcessInfoPtr whichPSN)
Event Manager Interfaces.
unsigned char * StringPtr
Definition: MacTypes.h:477
unsigned char Boolean
Definition: MacTypes.h:318
void DisposeRoutineDescriptor(UniversalProcPtr theUPP)
#define STACK_UPP_TYPE(name)
Definition: MixedMode.h:734
UniversalProcPtr NewRoutineDescriptor(ProcPtr theProc, ProcInfoType theProcInfo, ISAType theISA)
Process Manager Interfaces.
Definition: AEDataModel.h:175
Definition: Displays.h:371
Definition: Components.h:133
Definition: Components.h:220
Definition: Components.h:214
Definition: Displays.h:338
Point itemSort
Definition: Displays.h:353
DMFidelityType itemFidelity
Definition: Displays.h:349
unsigned long itemFlags
Definition: Displays.h:355
unsigned long itemFuture3
Definition: Displays.h:362
ResType itemClass
Definition: Displays.h:345
ResType itemSubClass
Definition: Displays.h:350
unsigned long itemFuture1
Definition: Displays.h:358
unsigned long itemFuture4
Definition: Displays.h:364
ResType itemReserved
Definition: Displays.h:356
unsigned long itemFuture2
Definition: Displays.h:360
Component itemComponent
Definition: Displays.h:340
ComponentDescription itemDescription
Definition: Displays.h:342
Definition: Displays.h:389
DMDepthInfoPtr depthVPBlock
Definition: Displays.h:391
unsigned long depthBlockReserved1
Definition: Displays.h:393
unsigned long depthBlockFlags
Definition: Displays.h:392
unsigned long depthBlockReserved2
Definition: Displays.h:394
Definition: Displays.h:378
UInt32 depthReserved1
Definition: Displays.h:383
UInt32 depthFlags
Definition: Displays.h:382
VPBlockPtr depthVPBlock
Definition: Displays.h:381
UInt32 depthReserved2
Definition: Displays.h:384
Definition: Displays.h:399
UInt32 displayModeVersion
Definition: Displays.h:406
StringPtr displayModeName
Definition: Displays.h:408
DMDisplayTimingInfoPtr displayModeDisplayInfo
Definition: Displays.h:410
Definition: Displays.h:326
SInt32 timingInfoRelativeDefault
Definition: Displays.h:330
SInt32 timingInfoRelativeQuality
Definition: Displays.h:329
UInt32 timingInfoReserved[16]
Definition: Displays.h:332
Definition: Displays.h:433
Definition: Displays.h:497
Ptr profileReserved3
Definition: Displays.h:501
Ptr profileReserved2
Definition: Displays.h:500
Definition: Displays.h:416
ComponentInstance notifyComponent
Definition: Displays.h:422
DisplayIDType notifyPortID
Definition: Displays.h:420
unsigned long notifyReserved
Definition: Displays.h:426
unsigned long notifyFuture
Definition: Displays.h:427
unsigned long notifyVersion
Definition: Displays.h:424
ResType notifyClass
Definition: Displays.h:419
unsigned long notifyFlags
Definition: Displays.h:425
Definition: Displays.h:483
UInt32 displayListEntryReserved4
Definition: Displays.h:491
UInt32 displayListEntryReserved3
Definition: Displays.h:490
UInt32 displayListEntryReserved5
Definition: Displays.h:492
UInt32 displayListEntryReserved1
Definition: Displays.h:487
Definition: Quickdraw.h:2178
Definition: Quickdraw.h:2121
Definition: Quickdraw.h:306
Definition: Quickdraw.h:326
Definition: MacTypes.h:520
Definition: Processes.h:65
Definition: MacTypes.h:527