Mac OS 9
Displays.h File Reference

Display Manager Interfaces. More...

#include <ConditionalMacros.h>
#include <Components.h>
#include <Video.h>
#include <CMApplication.h>
#include <AppleEvents.h>
#include <Events.h>
#include <Processes.h>
#include <Dialogs.h>

Go to the source code of this file.

Data Structures

struct  DMDisplayTimingInfoRec
 
struct  DMComponentListEntryRec
 
struct  AVLocationRec
 
struct  DMDepthInfoRec
 
struct  DMDepthInfoBlockRec
 
struct  DMDisplayModeListEntryRec
 
struct  DependentNotifyRec
 
struct  DMMakeAndModelRec
 
struct  DisplayListEntryRec
 
struct  DMProfileListEntryRec
 

Macros

#define NewDMNotificationUPP(userRoutine)
 
#define NewDMExtendedNotificationUPP(userRoutine)
 
#define NewDMComponentListIteratorUPP(userRoutine)
 
#define NewDMDisplayModeListIteratorUPP(userRoutine)
 
#define NewDMProfileListIteratorUPP(userRoutine)
 
#define NewDMDisplayListIteratorUPP(userRoutine)
 
#define DisposeDMNotificationUPP(userUPP)   DisposeRoutineDescriptor(userUPP)
 
#define DisposeDMExtendedNotificationUPP(userUPP)    DisposeRoutineDescriptor(userUPP)
 
#define DisposeDMComponentListIteratorUPP(userUPP)    DisposeRoutineDescriptor(userUPP)
 
#define DisposeDMDisplayModeListIteratorUPP(userUPP)    DisposeRoutineDescriptor(userUPP)
 
#define DisposeDMProfileListIteratorUPP(userUPP)    DisposeRoutineDescriptor(userUPP)
 
#define DisposeDMDisplayListIteratorUPP(userUPP)    DisposeRoutineDescriptor(userUPP)
 
#define InvokeDMNotificationUPP(theEvent, userUPP)    CALL_ONE_PARAMETER_UPP((userUPP), uppDMNotificationProcInfo, (theEvent))
 
#define InvokeDMExtendedNotificationUPP(userData, theMessage, notifyData, userUPP)
 
#define InvokeDMComponentListIteratorUPP(userData, itemIndex, componentInfo, userUPP)
 
#define InvokeDMDisplayModeListIteratorUPP(userData, itemIndex, displaymodeInfo, userUPP)
 
#define InvokeDMProfileListIteratorUPP(userData, itemIndex, profileInfo, userUPP)
 
#define InvokeDMDisplayListIteratorUPP(userData, itemIndex, displaymodeInfo, userUPP)
 
#define NewDMNotificationProc(userRoutine)   NewDMNotificationUPP(userRoutine)
 
#define NewDMExtendedNotificationProc(userRoutine)    NewDMExtendedNotificationUPP(userRoutine)
 
#define NewDMComponentListIteratorProc(userRoutine)    NewDMComponentListIteratorUPP(userRoutine)
 
#define NewDMDisplayModeListIteratorProc(userRoutine)    NewDMDisplayModeListIteratorUPP(userRoutine)
 
#define NewDMProfileListIteratorProc(userRoutine)    NewDMProfileListIteratorUPP(userRoutine)
 
#define NewDMDisplayListIteratorProc(userRoutine)    NewDMDisplayListIteratorUPP(userRoutine)
 
#define CallDMNotificationProc(userRoutine, theEvent)    InvokeDMNotificationUPP(theEvent, userRoutine)
 
#define CallDMExtendedNotificationProc(userRoutine, userData, theMessage, notifyData)    InvokeDMExtendedNotificationUPP(userData, theMessage, notifyData, userRoutine)
 
#define CallDMComponentListIteratorProc(userRoutine, userData, itemIndex, componentInfo)
 
#define CallDMDisplayModeListIteratorProc(userRoutine, userData, itemIndex, displaymodeInfo)
 
#define CallDMProfileListIteratorProc(userRoutine, userData, itemIndex, profileInfo)    InvokeDMProfileListIteratorUPP(userData, itemIndex, profileInfo, userRoutine)
 
#define CallDMDisplayListIteratorProc(userRoutine, userData, itemIndex, displaymodeInfo)
 

Typedefs

typedef ProcessSerialNumberPtr DMProcessInfoPtr
 
typedef ModalFilterUPP DMModalFilterUPP
 
typedef UInt32 DMFidelityType
 
typedef void * DMListType
 
typedef unsigned long DMListIndexType
 
typedef VDPowerStateRec AVPowerStateRec
 
typedef VDPowerStateRecAVPowerStatePtr
 
typedef struct DMDisplayTimingInfoRec DMDisplayTimingInfoRec
 
typedef DMDisplayTimingInfoRecDMDisplayTimingInfoPtr
 
typedef struct DMComponentListEntryRec DMComponentListEntryRec
 
typedef DMComponentListEntryRecDMComponentListEntryPtr
 
typedef struct AVLocationRec AVLocationRec
 
typedef AVLocationRecAVLocationPtr
 
typedef struct DMDepthInfoRec DMDepthInfoRec
 
typedef DMDepthInfoRecDMDepthInfoPtr
 
typedef struct DMDepthInfoBlockRec DMDepthInfoBlockRec
 
typedef DMDepthInfoBlockRecDMDepthInfoBlockPtr
 
typedef struct DMDisplayModeListEntryRec DMDisplayModeListEntryRec
 
typedef DMDisplayModeListEntryRecDMDisplayModeListEntryPtr
 
typedef struct DependentNotifyRec DependentNotifyRec
 
typedef DependentNotifyRecDependentNotifyPtr
 
typedef struct DMMakeAndModelRec DMMakeAndModelRec
 
typedef DMMakeAndModelRecDMMakeAndModelPtr
 
typedef struct DisplayListEntryRec DisplayListEntryRec
 
typedef DisplayListEntryRecDisplayListEntryPtr
 
typedef struct DMProfileListEntryRec DMProfileListEntryRec
 
typedef DMProfileListEntryRecDMProfileListEntryPtr
 
typedef short theMessage
 
typedef short void * notifyData
 
typedef DMListIndexType itemIndex
 
typedef DMListIndexType DMComponentListEntryPtr componentInfo
 
typedef DMListIndexType DMDisplayModeListEntryPtr displaymodeInfo
 
typedef DMListIndexType DMProfileListEntryPtr profileInfo
 

Enumerations

enum  {
  kAESystemConfigNotice = FOUR_CHAR_CODE('cnfg') , kAEDisplayNotice = FOUR_CHAR_CODE('dspl') , kAEDisplaySummary = FOUR_CHAR_CODE('dsum') , keyDMConfigVersion = FOUR_CHAR_CODE('dmcv') ,
  keyDMConfigFlags = FOUR_CHAR_CODE('dmcf') , keyDMConfigReserved = FOUR_CHAR_CODE('dmcr') , keyDisplayID = FOUR_CHAR_CODE('dmid') , keyDisplayComponent = FOUR_CHAR_CODE('dmdc') ,
  keyDisplayDevice = FOUR_CHAR_CODE('dmdd') , keyDisplayFlags = FOUR_CHAR_CODE('dmdf') , keyDisplayMode = FOUR_CHAR_CODE('dmdm') , keyDisplayModeReserved = FOUR_CHAR_CODE('dmmr') ,
  keyDisplayReserved = FOUR_CHAR_CODE('dmdr') , keyDisplayMirroredId = FOUR_CHAR_CODE('dmmi') , keyDeviceFlags = FOUR_CHAR_CODE('dddf') , keyDeviceDepthMode = FOUR_CHAR_CODE('dddm') ,
  keyDeviceRect = FOUR_CHAR_CODE('dddr') , keyPixMapRect = FOUR_CHAR_CODE('dpdr') , keyPixMapHResolution = FOUR_CHAR_CODE('dphr') , keyPixMapVResolution = FOUR_CHAR_CODE('dpvr') ,
  keyPixMapPixelType = FOUR_CHAR_CODE('dppt') , keyPixMapPixelSize = FOUR_CHAR_CODE('dpps') , keyPixMapCmpCount = FOUR_CHAR_CODE('dpcc') , keyPixMapCmpSize = FOUR_CHAR_CODE('dpcs') ,
  keyPixMapAlignment = FOUR_CHAR_CODE('dppa') , keyPixMapResReserved = FOUR_CHAR_CODE('dprr') , keyPixMapReserved = FOUR_CHAR_CODE('dppr') , keyPixMapColorTableSeed = FOUR_CHAR_CODE('dpct') ,
  keySummaryMenubar = FOUR_CHAR_CODE('dsmb') , keySummaryChanges = FOUR_CHAR_CODE('dsch') , keyDisplayOldConfig = FOUR_CHAR_CODE('dold') , keyDisplayNewConfig = FOUR_CHAR_CODE('dnew')
}
 
enum  { dmOnlyActiveDisplays = true , dmAllDisplays = false }
 
enum  { kDependentNotifyClassShowCursor , kDependentNotifyClassDriverOverride , kDependentNotifyClassDisplayMgrOverride , kDependentNotifyClassProfileChanged }
 
enum  {
  kNoSwitchConfirmBit = 0 , kDepthNotAvailableBit = 1 , kShowModeBit = 3 , kModeNotResizeBit = 4 ,
  kNeverShowModeBit
}
 
enum  {
  kBeginEndConfigureBit = 0 , kMovedDisplayBit = 1 , kSetMainDisplayBit = 2 , kSetDisplayModeBit = 3 ,
  kAddDisplayBit = 4 , kRemoveDisplayBit = 5 , kNewDisplayBit = 6 , kDisposeDisplayBit = 7 ,
  kEnabledDisplayBit = 8 , kDisabledDisplayBit = 9 , kMirrorDisplayBit = 10 , kUnMirrorDisplayBit = 11
}
 
enum  {
  kDMNotifyRequestConnectionProbe , kDMNotifyInstalled = 1 , kDMNotifyEvent = 2 , kDMNotifyRemoved = 3 ,
  kDMNotifyPrep = 4 , kDMNotifyExtendEvent , kDMNotifyDependents = 6 , kDMNotifySuspendConfigure = 7 ,
  kDMNotifyResumeConfigure = 8 , kDMNotifyRequestDisplayProbe , kExtendedNotificationProc = (1L << 16)
}
 
enum  { kFullNotify = 0 , kFullDependencyNotify }
 
enum  { kDummyDeviceID = 0x00FF , kInvalidDisplayID = 0x0000 , kFirstDisplayID = 0x0100 }
 
enum  { kAllowDuplicatesBit = 0 }
 
enum  {
  kSuppressNumberBit = 0 , kSuppressNumberMask = 1 , kForceNumberBit = 1 , kForceNumberMask = 2 ,
  kSuppressNameBit = 2 , kSuppressNameMask = 4
}
 
enum  { kDMSupressNumbersMask , kDMForceNumbersMask = (1 << 1) , kDMSupressNameMask = (1 << 2) }
 
enum  { kNoFidelity = 0 , kMinimumFidelity = 1 , kDefaultFidelity , kDefaultManufacturerFidelity }
 
enum  { kAnyPanelType = 0 , kAnyEngineType = 0 , kAnyDeviceType = 0 , kAnyPortType = 0 }
 
enum  { kPLIncludeOfflineDevicesBit = 0 }
 
enum  { kForceConfirmBit = 0 , kForceConfirmMask = (1 << kForceConfirmBit) }
 
enum  { kDisplayModeListNotPreferredBit = 0 , kDisplayModeListNotPreferredMask = (1 << kDisplayModeListNotPreferredBit) }
 
enum  { kComponentListNotPreferredBit = 0 , kComponentListNotPreferredMask = (1 << kComponentListNotPreferredBit) }
 
enum  { kDisplayTimingInfoVersionZero = 1 , kDisplayTimingInfoReservedCountVersionZero = 16 , kDisplayModeEntryVersionZero = 0 , kDisplayModeEntryVersionOne }
 
enum  { kMakeAndModelReservedCount = 4 }
 
enum  {
  kDisplayGestaltDisplayCommunicationAttr = FOUR_CHAR_CODE('comm') , kDisplayGestaltForbidI2CMask , kDisplayGestaltUseI2CPowerMask , kDisplayGestaltCalibratorAttr = FOUR_CHAR_CODE('cali') ,
  kDisplayGestaltBrightnessAffectsGammaMask , kDisplayGestaltViewAngleAffectsGammaMask
}
 
enum  {
  kIncludeOnlineActiveDisplaysMask = (1 << 0) , kIncludeOnlineDisabledDisplaysMask = (1 << 1) , kIncludeOfflineDisplaysMask = (1 << 2) , kIncludeOfflineDummyDisplaysMask = (1 << 3) ,
  kIncludeHardwareMirroredDisplaysMask = (1 << 4)
}
 
enum  {
  kDMModeListIncludeAllModesMask , kDMModeListIncludeOfflineModesMask = (1 << 1) , kDMModeListExcludeDriverModesMask , kDMModeListExcludeDisplayModesMask ,
  kDMModeListExcludeCustomModesMask , kDMModeListPreferStretchedModesMask , kDMModeListPreferSafeModesMask , kDMModeListExcludeDriverScaledModesMask
}
 
enum  { uppDMNotificationProcInfo = 0x000000C0 }
 
enum  { uppDMExtendedNotificationProcInfo = 0x00000EC0 }
 
enum  { uppDMComponentListIteratorProcInfo = 0x00000FC0 }
 
enum  { uppDMDisplayModeListIteratorProcInfo = 0x00000FC0 }
 
enum  { uppDMProfileListIteratorProcInfo = 0x00000FC0 }
 
enum  { uppDMDisplayListIteratorProcInfo = 0x00000FC0 }
 

Functions

typedef CALLBACK_API (void, DMNotificationProcPtr)(AppleEvent *theEvent)
 
typedef CALLBACK_API (void, DMExtendedNotificationProcPtr)(void *userData
 
typedef CALLBACK_API (void, DMComponentListIteratorProcPtr)(void *userData
 
typedef CALLBACK_API (void, DMDisplayModeListIteratorProcPtr)(void *userData
 
typedef CALLBACK_API (void, DMProfileListIteratorProcPtr)(void *userData
 
typedef CALLBACK_API (void, DMDisplayListIteratorProcPtr)(void *userData
 
typedef STACK_UPP_TYPE (DMNotificationProcPtr) DMNotificationUPP
 
typedef STACK_UPP_TYPE (DMExtendedNotificationProcPtr) DMExtendedNotificationUPP
 
typedef STACK_UPP_TYPE (DMComponentListIteratorProcPtr) DMComponentListIteratorUPP
 
typedef STACK_UPP_TYPE (DMDisplayModeListIteratorProcPtr) DMDisplayModeListIteratorUPP
 
typedef STACK_UPP_TYPE (DMProfileListIteratorProcPtr) DMProfileListIteratorUPP
 
typedef STACK_UPP_TYPE (DMDisplayListIteratorProcPtr) DMDisplayListIteratorUPP
 
DMNotificationUPP NewDMNotificationUPP (DMNotificationProcPtr userRoutine)
 
DMExtendedNotificationUPP NewDMExtendedNotificationUPP (DMExtendedNotificationProcPtr userRoutine)
 
DMComponentListIteratorUPP NewDMComponentListIteratorUPP (DMComponentListIteratorProcPtr userRoutine)
 
DMDisplayModeListIteratorUPP NewDMDisplayModeListIteratorUPP (DMDisplayModeListIteratorProcPtr userRoutine)
 
DMProfileListIteratorUPP NewDMProfileListIteratorUPP (DMProfileListIteratorProcPtr userRoutine)
 
DMDisplayListIteratorUPP NewDMDisplayListIteratorUPP (DMDisplayListIteratorProcPtr userRoutine)
 
void DisposeDMNotificationUPP (DMNotificationUPP userUPP)
 
void DisposeDMExtendedNotificationUPP (DMExtendedNotificationUPP userUPP)
 
void DisposeDMComponentListIteratorUPP (DMComponentListIteratorUPP userUPP)
 
void DisposeDMDisplayModeListIteratorUPP (DMDisplayModeListIteratorUPP userUPP)
 
void DisposeDMProfileListIteratorUPP (DMProfileListIteratorUPP userUPP)
 
void DisposeDMDisplayListIteratorUPP (DMDisplayListIteratorUPP userUPP)
 
void InvokeDMNotificationUPP (AppleEvent *theEvent, DMNotificationUPP userUPP)
 
void InvokeDMExtendedNotificationUPP (void *userData, short theMessage, void *notifyData, DMExtendedNotificationUPP userUPP)
 
void InvokeDMComponentListIteratorUPP (void *userData, DMListIndexType itemIndex, DMComponentListEntryPtr componentInfo, DMComponentListIteratorUPP userUPP)
 
void InvokeDMDisplayModeListIteratorUPP (void *userData, DMListIndexType itemIndex, DMDisplayModeListEntryPtr displaymodeInfo, DMDisplayModeListIteratorUPP userUPP)
 
void InvokeDMProfileListIteratorUPP (void *userData, DMListIndexType itemIndex, DMProfileListEntryPtr profileInfo, DMProfileListIteratorUPP userUPP)
 
void InvokeDMDisplayListIteratorUPP (void *userData, DMListIndexType itemIndex, DisplayListEntryPtr displaymodeInfo, DMDisplayListIteratorUPP userUPP)
 
OSErr DMDisplayGestalt (DisplayIDType theDisplayID, ResType displayGestaltSelector, UInt32 *displayGestaltResponse)
 
OSErr DMUseScreenPrefs (Boolean usePrefs, Handle displayState)
 
OSErr DMSuspendConfigure (Handle displayState, unsigned long reserved1)
 
OSErr DMResumeConfigure (Handle displayState, unsigned long reserved1)
 
OSErr DMSetGammaByAVID (AVIDType gammaAVID, UInt32 setGammaFlags, GammaTblHandle theGamma)
 
OSErr DMGetGammaByAVID (AVIDType gammaAVID, UInt32 getGammaFlags, GammaTblHandle *theGamma)
 
OSErr DMGetMakeAndModelByAVID (AVIDType theAVID, DMMakeAndModelPtr theMakeAndModel)
 
OSErr DMNewDisplayList (UInt32 displayListIncludeFlags, UInt32 reserved1, UInt32 reserved2, DMListIndexType *theCount, DMListType *theDisplayList)
 
OSErr DMGetIndexedDisplayFromList (DMListType theDisplayList, DMListIndexType itemIndex, UInt32 reserved, DMDisplayListIteratorUPP listIterator, void *userData)
 
OSErr DMNewProfileListByAVID (AVIDType theAVID, UInt32 reserved, DMListIndexType *profileCount, DMListType *profileList)
 
OSErr DMGetIndexedProfileFromList (DMListType profileList, DMListIndexType itemIndex, UInt32 reserved, DMProfileListIteratorUPP listIterator, void *userData)
 
GDHandle DMGetFirstScreenDevice (Boolean activeOnly)
 
GDHandle DMGetNextScreenDevice (GDHandle theDevice, Boolean activeOnly)
 
void DMDrawDesktopRect (Rect *globalRect)
 
void DMDrawDesktopRegion (RgnHandle globalRgn)
 
OSErr DMBeginConfigureDisplays (Handle *displayState)
 
OSErr DMEndConfigureDisplays (Handle displayState)
 
OSErr DMAddDisplay (GDHandle newDevice, short driver, unsigned long mode, unsigned long reserved, unsigned long displayID, Component displayComponent, Handle displayState)
 
OSErr DMMoveDisplay (GDHandle moveDevice, short x, short y, Handle displayState)
 
OSErr DMDisableDisplay (GDHandle disableDevice, Handle displayState)
 
OSErr DMEnableDisplay (GDHandle enableDevice, Handle displayState)
 
OSErr DMRemoveDisplay (GDHandle removeDevice, Handle displayState)
 
OSErr DMSetMainDisplay (GDHandle newMainDevice, Handle displayState)
 
OSErr DMSetDisplayMode (GDHandle theDevice, unsigned long mode, unsigned long *depthMode, unsigned long reserved, Handle displayState)
 
OSErr DMCheckDisplayMode (GDHandle theDevice, unsigned long mode, unsigned long depthMode, unsigned long *switchFlags, unsigned long reserved, Boolean *modeOk)
 
OSErr DMGetDeskRegion (RgnHandle *desktopRegion)
 
OSErr DMRegisterNotifyProc (DMNotificationUPP notificationProc, DMProcessInfoPtr whichPSN)
 
OSErr DMRemoveNotifyProc (DMNotificationUPP notificationProc, DMProcessInfoPtr whichPSN)
 
OSErr DMQDIsMirroringCapable (Boolean *qdIsMirroringCapable)
 
OSErr DMCanMirrorNow (Boolean *canMirrorNow)
 
OSErr DMIsMirroringOn (Boolean *isMirroringOn)
 
OSErr DMMirrorDevices (GDHandle gD1, GDHandle gD2, Handle displayState)
 
OSErr DMUnmirrorDevice (GDHandle gDevice, Handle displayState)
 
OSErr DMGetNextMirroredDevice (GDHandle gDevice, GDHandle *mirroredDevice)
 
OSErr DMBlockMirroring (void)
 
OSErr DMUnblockMirroring (void)
 
OSErr DMGetDisplayMgrA5World (Ptr *dmA5)
 
OSErr DMGetDisplayIDByGDevice (GDHandle displayDevice, DisplayIDType *displayID, Boolean failToMain)
 
OSErr DMGetGDeviceByDisplayID (DisplayIDType displayID, GDHandle *displayDevice, Boolean failToMain)
 
OSErr DMSetDisplayComponent (GDHandle theDevice, Component displayComponent)
 
OSErr DMGetDisplayComponent (GDHandle theDevice, Component *displayComponent)
 
OSErr DMNewDisplay (GDHandle *newDevice, short driverRefNum, unsigned long mode, unsigned long reserved, DisplayIDType displayID, Component displayComponent, Handle displayState)
 
OSErr DMDisposeDisplay (GDHandle disposeDevice, Handle displayState)
 
OSErr DMResolveDisplayComponents (void)
 
OSErr DMRegisterExtendedNotifyProc (DMExtendedNotificationUPP notifyProc, void *notifyUserData, unsigned short nofifyOnFlags, DMProcessInfoPtr whichPSN)
 
OSErr DMRemoveExtendedNotifyProc (DMExtendedNotificationUPP notifyProc, void *notifyUserData, DMProcessInfoPtr whichPSN, unsigned short removeFlags)
 
OSErr DMNewAVPanelList (DisplayIDType displayID, ResType panelType, DMFidelityType minimumFidelity, unsigned long panelListFlags, unsigned long reserved, DMListIndexType *thePanelCount, DMListType *thePanelList)
 
OSErr DMNewAVEngineList (DisplayIDType displayID, ResType engineType, DMFidelityType minimumFidelity, unsigned long engineListFlags, unsigned long reserved, DMListIndexType *engineCount, DMListType *engineList)
 
OSErr DMNewAVDeviceList (ResType deviceType, unsigned long deviceListFlags, unsigned long reserved, DMListIndexType *deviceCount, DMListType *deviceList)
 
OSErr DMNewAVPortListByPortType (ResType subType, unsigned long portListFlags, unsigned long reserved, DMListIndexType *devicePortCount, DMListType *theDevicePortList)
 
OSErr DMGetIndexedComponentFromList (DMListType panelList, DMListIndexType itemIndex, unsigned long reserved, DMComponentListIteratorUPP listIterator, void *userData)
 
OSErr DMDisposeList (DMListType panelList)
 
OSErr DMGetNameByAVID (AVIDType theID, unsigned long nameFlags, Str255 name)
 
OSErr DMNewAVIDByPortComponent (Component thePortComponent, ResType portKind, unsigned long reserved, AVIDType *newID)
 
OSErr DMGetPortComponentByAVID (DisplayIDType thePortID, Component *thePortComponent, ComponentDescription *theDesciption, ResType *thePortKind)
 
OSErr DMSendDependentNotification (ResType notifyType, ResType notifyClass, AVIDType displayID, ComponentInstance notifyComponent)
 
OSErr DMDisposeAVComponent (Component theAVComponent)
 
OSErr DMSaveScreenPrefs (unsigned long reserved1, unsigned long saveFlags, unsigned long reserved2)
 
OSErr DMNewAVIDByDeviceComponent (Component theDeviceComponent, ResType portKind, unsigned long reserved, DisplayIDType *newID)
 
OSErr DMNewAVPortListByDeviceAVID (AVIDType theID, DMFidelityType minimumFidelity, unsigned long portListFlags, unsigned long reserved, DMListIndexType *devicePortCount, DMListType *theDevicePortList)
 
OSErr DMGetDeviceComponentByAVID (AVIDType theDeviceID, Component *theDeviceComponent, ComponentDescription *theDesciption, ResType *theDeviceKind)
 
OSErr DMNewDisplayModeList (DisplayIDType displayID, unsigned long modeListFlags, unsigned long reserved, DMListIndexType *thePanelCount, DMListType *thePanelList)
 
OSErr DMGetIndexedDisplayModeFromList (DMListType panelList, DMListIndexType itemIndex, unsigned long reserved, DMDisplayModeListIteratorUPP listIterator, void *userData)
 
OSErr DMGetGraphicInfoByAVID (AVIDType theID, PicHandle *theAVPcit, Handle *theAVIconSuite, AVLocationRec *theAVLocation)
 
OSErr DMGetAVPowerState (AVIDType theID, AVPowerStatePtr getPowerState, unsigned long reserved1)
 
OSErr DMSetAVPowerState (AVIDType theID, AVPowerStatePtr setPowerState, unsigned long powerFlags, Handle displayState)
 
OSErr DMGetDeviceAVIDByPortAVID (AVIDType portAVID, AVIDType *deviceAVID)
 
OSErr DMGetEnableByAVID (AVIDType theAVID, Boolean *isAVIDEnabledNow, Boolean *canChangeEnableNow)
 
OSErr DMSetEnableByAVID (AVIDType theAVID, Boolean doEnable, Handle displayState)
 
OSErr DMGetDisplayMode (GDHandle theDevice, VDSwitchInfoPtr switchInfo)
 
OSErr DMConfirmConfiguration (DMModalFilterUPP filterProc, UInt32 confirmFlags, UInt32 reserved, Handle displayState)
 

Detailed Description

Display Manager Interfaces.

Introduced In: Mac OS 8
Avaliable From: Universal Interfaces 3.4.1
Copyright: © 1993-2001 by Apple Computer, Inc., all rights reserved.

For bug reports, consult the following page on the World Wide Web:

http://developer.apple.com/bugreporter/

Macro Definition Documentation

◆ CallDMComponentListIteratorProc

#define CallDMComponentListIteratorProc (   userRoutine,
  userData,
  itemIndex,
  componentInfo 
)
Value:
InvokeDMComponentListIteratorUPP(userData, itemIndex, componentInfo, \
userRoutine)
void InvokeDMComponentListIteratorUPP(void *userData, DMListIndexType itemIndex, DMComponentListEntryPtr componentInfo, DMComponentListIteratorUPP userUPP)

◆ CallDMDisplayListIteratorProc

#define CallDMDisplayListIteratorProc (   userRoutine,
  userData,
  itemIndex,
  displaymodeInfo 
)
Value:
InvokeDMDisplayListIteratorUPP(userData, itemIndex, displaymodeInfo, \
userRoutine)
void InvokeDMDisplayListIteratorUPP(void *userData, DMListIndexType itemIndex, DisplayListEntryPtr displaymodeInfo, DMDisplayListIteratorUPP userUPP)

◆ CallDMDisplayModeListIteratorProc

#define CallDMDisplayModeListIteratorProc (   userRoutine,
  userData,
  itemIndex,
  displaymodeInfo 
)
Value:
InvokeDMDisplayModeListIteratorUPP(userData, itemIndex, displaymodeInfo, \
userRoutine)
void InvokeDMDisplayModeListIteratorUPP(void *userData, DMListIndexType itemIndex, DMDisplayModeListEntryPtr displaymodeInfo, DMDisplayModeListIteratorUPP userUPP)

◆ InvokeDMComponentListIteratorUPP

#define InvokeDMComponentListIteratorUPP (   userData,
  itemIndex,
  componentInfo,
  userUPP 
)
Value:
CALL_THREE_PARAMETER_UPP((userUPP), uppDMComponentListIteratorProcInfo, \
(userData), (itemIndex), (componentInfo))

◆ InvokeDMDisplayListIteratorUPP

#define InvokeDMDisplayListIteratorUPP (   userData,
  itemIndex,
  displaymodeInfo,
  userUPP 
)
Value:
CALL_THREE_PARAMETER_UPP((userUPP), uppDMDisplayListIteratorProcInfo, \
(userData), (itemIndex), (displaymodeInfo))

◆ InvokeDMDisplayModeListIteratorUPP

#define InvokeDMDisplayModeListIteratorUPP (   userData,
  itemIndex,
  displaymodeInfo,
  userUPP 
)
Value:
CALL_THREE_PARAMETER_UPP((userUPP), uppDMDisplayModeListIteratorProcInfo, \
(userData), (itemIndex), (displaymodeInfo))

◆ InvokeDMExtendedNotificationUPP

#define InvokeDMExtendedNotificationUPP (   userData,
  theMessage,
  notifyData,
  userUPP 
)
Value:
CALL_THREE_PARAMETER_UPP((userUPP), uppDMExtendedNotificationProcInfo, \
(userData), (theMessage), (notifyData))

◆ InvokeDMProfileListIteratorUPP

#define InvokeDMProfileListIteratorUPP (   userData,
  itemIndex,
  profileInfo,
  userUPP 
)
Value:
CALL_THREE_PARAMETER_UPP((userUPP), uppDMProfileListIteratorProcInfo, \
(userData), (itemIndex), (profileInfo))

◆ NewDMComponentListIteratorUPP

#define NewDMComponentListIteratorUPP (   userRoutine)
Value:
(DMComponentListIteratorUPP) NewRoutineDescriptor( \
(ProcPtr)(userRoutine), uppDMComponentListIteratorProcInfo, \
GetCurrentArchitecture())
UniversalProcPtr NewRoutineDescriptor(ProcPtr theProc, ProcInfoType theProcInfo, ISAType theISA)

pascal no_return_value Func(4_bytes, 4_bytes, 4_bytes)

◆ NewDMDisplayListIteratorUPP

#define NewDMDisplayListIteratorUPP (   userRoutine)
Value:
(DMDisplayListIteratorUPP) NewRoutineDescriptor( \
(ProcPtr)(userRoutine), uppDMDisplayListIteratorProcInfo, \
GetCurrentArchitecture())

pascal no_return_value Func(4_bytes, 4_bytes, 4_bytes)

◆ NewDMDisplayModeListIteratorUPP

#define NewDMDisplayModeListIteratorUPP (   userRoutine)
Value:
(DMDisplayModeListIteratorUPP) NewRoutineDescriptor( \
(ProcPtr)(userRoutine), uppDMDisplayModeListIteratorProcInfo, \
GetCurrentArchitecture())

pascal no_return_value Func(4_bytes, 4_bytes, 4_bytes)

◆ NewDMExtendedNotificationUPP

#define NewDMExtendedNotificationUPP (   userRoutine)
Value:
(DMExtendedNotificationUPP) NewRoutineDescriptor( \
(ProcPtr)(userRoutine), uppDMExtendedNotificationProcInfo, \
GetCurrentArchitecture())

pascal no_return_value Func(4_bytes, 2_bytes, 4_bytes)

◆ NewDMNotificationProc

#define NewDMNotificationProc (   userRoutine)    NewDMNotificationUPP(userRoutine)

support for pre-Carbon UPP routines: New...Proc and Call...Proc

◆ NewDMNotificationUPP

#define NewDMNotificationUPP (   userRoutine)
Value:
(DMNotificationUPP) \
NewRoutineDescriptor((ProcPtr)(userRoutine), uppDMNotificationProcInfo, \
GetCurrentArchitecture())

pascal no_return_value Func(4_bytes)

◆ NewDMProfileListIteratorUPP

#define NewDMProfileListIteratorUPP (   userRoutine)
Value:
(DMProfileListIteratorUPP) NewRoutineDescriptor( \
(ProcPtr)(userRoutine), uppDMProfileListIteratorProcInfo, \
GetCurrentArchitecture())

pascal no_return_value Func(4_bytes, 4_bytes, 4_bytes)

Typedef Documentation

◆ DMListType

typedef void* DMListType

AVID is an ID for ports and devices the old DisplayID type is carried on for compatibility

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
kAESystemConfigNotice 

AppleEvents Core Suite

kAEDisplayNotice 

Core Suite types

◆ anonymous enum

anonymous enum
Enumerator
kDependentNotifyClassShowCursor 

DMSendDependentNotification notifyClass

kDependentNotifyClassDriverOverride 

When display mgr shows a hidden cursor during an unmirror

kDependentNotifyClassDisplayMgrOverride 

When a driver is overridden

kDependentNotifyClassProfileChanged 

When display manager is upgraded

◆ anonymous enum

anonymous enum
Enumerator
kNoSwitchConfirmBit 

Switch Flags

kDepthNotAvailableBit 

Flag indicating that there is no need to confirm a switch to this mode

kShowModeBit 

Current depth not available in new mode

kModeNotResizeBit 

Show this mode even though it requires a confirm.

kNeverShowModeBit 

Do not use this mode to resize display (for cards that mode drives a different connector).

◆ anonymous enum

anonymous enum

Summary Change Flags (sticky bits indicating an operation was performed) For example, moving a display then moving it back will still set the kMovedDisplayBit.

◆ anonymous enum

anonymous enum
Enumerator
kDMNotifyRequestConnectionProbe 

Notification Messages for extended call back routines

kDMNotifyInstalled 

Like kDMNotifyRequestDisplayProbe only not for smart displays (used in wake before all busses are awake)

kDMNotifyEvent 

At install time

kDMNotifyRemoved 

Post change time

kDMNotifyPrep 

At remove time

kDMNotifyExtendEvent 

Pre change time

kDMNotifyDependents 

Allow registrees to extend apple event before it is sent

kDMNotifySuspendConfigure 

Minor notification check without full update

kDMNotifyResumeConfigure 

Temporary end of configuration

kDMNotifyRequestDisplayProbe 

Resume configuration

kExtendedNotificationProc 

Request smart displays re-probe (used in sleep and hot plugging) Notification Flags

◆ anonymous enum

anonymous enum

types for notifyType

Enumerator
kFullDependencyNotify 

This is the appleevent whole nine yards notify

◆ anonymous enum

anonymous enum

DisplayID/DeviceID constants

Enumerator
kInvalidDisplayID 

This is the ID of the dummy display, used when the last ©real© display is disabled.

kFirstDisplayID 

This is the invalid ID

◆ anonymous enum

anonymous enum
Enumerator
kAllowDuplicatesBit 

bits for panelListFlags

◆ anonymous enum

anonymous enum
Enumerator
kSuppressNumberBit 

bits for nameFlags

◆ anonymous enum

anonymous enum

DMGetNameByAVID masks

Enumerator
kDMForceNumbersMask 

Supress the numbers and return only names

kDMSupressNameMask 

Force numbers to always be shown (even on single display configs)

◆ anonymous enum

anonymous enum

Constants for fidelity checks

Enumerator
kDefaultManufacturerFidelity 

I'm just picking a number for Apple default panels and engines

◆ anonymous enum

anonymous enum
Enumerator
kAnyEngineType 

Pass to DMNewEngineList for list of all panels (as opposed to specific types)

kAnyDeviceType 

Pass to DMNewEngineList for list of all engines

kAnyPortType 

Pass to DMNewDeviceList for list of all devices

◆ anonymous enum

anonymous enum

portListFlags for DM_NewDevicePortList

Enumerator
kPLIncludeOfflineDevicesBit 

Should offline devices be put into the port list (such as dummy display)

◆ anonymous enum

anonymous enum

confirmFlags for DMConfirmConfiguration

Enumerator
kForceConfirmMask 

Force a confirm dialog

◆ anonymous enum

anonymous enum

Flags for displayModeFlags

◆ anonymous enum

anonymous enum

Flags for itemFlags

◆ anonymous enum

anonymous enum
Enumerator
kDisplayModeEntryVersionOne 

displayModeVersion - original version

◆ anonymous enum

anonymous enum

Display Gestalt for DMDisplayGestalt

Enumerator
kDisplayGestaltUseI2CPowerMask 

Some displays have firmware problems if they get I2C communication. If this bit is set, then I2C communication is forbidden

kDisplayGestaltCalibratorAttr 

Some displays require I2C power settings (most use DPMS).

kDisplayGestaltViewAngleAffectsGammaMask 

Used by default calibrator (should we show brightness panel)

◆ anonymous enum

anonymous enum

DMNewDisplayList displayListIncludeFlags

◆ anonymous enum

anonymous enum
Enumerator
kDMModeListIncludeAllModesMask 

modeListFlags for DMNewDisplayModeList

kDMModeListIncludeOfflineModesMask 

Include all timing modes not explicitly excluded (see other bits)

kDMModeListExcludeDisplayModesMask 

Exclude old-style timing modes (cscGetNextResolution/kDisplayModeIDFindFirstResolution modes)

kDMModeListExcludeCustomModesMask 

Exclude timing modes that come from the display (always arbritrary timing modes)

kDMModeListPreferStretchedModesMask 

Exclude custom modes that came neither from the driver or display (need a better name)

kDMModeListPreferSafeModesMask 

Prefer modes that are stretched over modes that are letterboxed when setting kDisplayModeListNotPreferredBit

kDMModeListExcludeDriverScaledModesMask 

Prefer modes that are safe over modes that are not when setting kDisplayModeListNotPreferredBit

Function Documentation

◆ DisposeDMComponentListIteratorUPP()

void DisposeDMComponentListIteratorUPP ( DMComponentListIteratorUPP  userUPP)

DisposeDMComponentListIteratorUPP()

Non-Carbon CFM: available as macro/inline
Carbon Lib: in CarbonLib 1.0 and later
Mac OS X: in version 10.0 and later

◆ DisposeDMDisplayListIteratorUPP()

void DisposeDMDisplayListIteratorUPP ( DMDisplayListIteratorUPP  userUPP)

DisposeDMDisplayListIteratorUPP()

Non-Carbon CFM: available as macro/inline
Carbon Lib: in CarbonLib 1.0 and later
Mac OS X: in version 10.0 and later

◆ DisposeDMDisplayModeListIteratorUPP()

void DisposeDMDisplayModeListIteratorUPP ( DMDisplayModeListIteratorUPP  userUPP)

DisposeDMDisplayModeListIteratorUPP()

Non-Carbon CFM: available as macro/inline
Carbon Lib: in CarbonLib 1.0 and later
Mac OS X: in version 10.0 and later

◆ DisposeDMExtendedNotificationUPP()

void DisposeDMExtendedNotificationUPP ( DMExtendedNotificationUPP  userUPP)

DisposeDMExtendedNotificationUPP()

Non-Carbon CFM: available as macro/inline
Carbon Lib: in CarbonLib 1.0 and later
Mac OS X: in version 10.0 and later

◆ DisposeDMNotificationUPP()

void DisposeDMNotificationUPP ( DMNotificationUPP  userUPP)

DisposeDMNotificationUPP()

Non-Carbon CFM: available as macro/inline
Carbon Lib: in CarbonLib 1.0 and later
Mac OS X: in version 10.0 and later

◆ DisposeDMProfileListIteratorUPP()

void DisposeDMProfileListIteratorUPP ( DMProfileListIteratorUPP  userUPP)

DisposeDMProfileListIteratorUPP()

Non-Carbon CFM: available as macro/inline
Carbon Lib: in CarbonLib 1.0 and later
Mac OS X: in version 10.0 and later

◆ DMAddDisplay()

OSErr DMAddDisplay ( GDHandle  newDevice,
short  driver,
unsigned long  mode,
unsigned long  reserved,
unsigned long  displayID,
Component  displayComponent,
Handle  displayState 
)

DMAddDisplay()

Non-Carbon CFM: in InterfaceLib 7.1 and later
Carbon Lib: in CarbonLib 1.0 and later
Mac OS X: in version 10.0 and later

◆ DMBeginConfigureDisplays()

OSErr DMBeginConfigureDisplays ( Handle *  displayState)

DMBeginConfigureDisplays()

Non-Carbon CFM: in InterfaceLib 7.1 and later
Carbon Lib: in CarbonLib 1.0 and later
Mac OS X: in version 10.0 and later

◆ DMBlockMirroring()

OSErr DMBlockMirroring ( void  )

DMBlockMirroring()

Non-Carbon CFM: in InterfaceLib 7.5 and later
Carbon Lib: in CarbonLib 1.0 and later
Mac OS X: in version 10.0 and later

◆ DMCanMirrorNow()

OSErr DMCanMirrorNow ( Boolean canMirrorNow)

DMCanMirrorNow()

Non-Carbon CFM: in InterfaceLib 7.5 and later
Carbon Lib: in CarbonLib 1.0 and later
Mac OS X: in version 10.0 and later

◆ DMCheckDisplayMode()

OSErr DMCheckDisplayMode ( GDHandle  theDevice,
unsigned long  mode,
unsigned long  depthMode,
unsigned long *  switchFlags,
unsigned long  reserved,
Boolean modeOk 
)

DMCheckDisplayMode()

Non-Carbon CFM: in InterfaceLib 7.1 and later
Carbon Lib: in CarbonLib 1.0 and later
Mac OS X: in version 10.0 and later

◆ DMConfirmConfiguration()

OSErr DMConfirmConfiguration ( DMModalFilterUPP  filterProc,
UInt32  confirmFlags,
UInt32  reserved,
Handle  displayState 
)

DMConfirmConfiguration()

Non-Carbon CFM: in DisplayLib 2.1 and later
Carbon Lib: in CarbonLib 1.0 and later
Mac OS X: in version 10.0 and later

◆ DMDisableDisplay()

OSErr DMDisableDisplay ( GDHandle  disableDevice,
Handle  displayState 
)

DMDisableDisplay()

Non-Carbon CFM: in InterfaceLib 7.1 and later
Carbon Lib: in CarbonLib 1.0 and later
Mac OS X: in version 10.0 and later

◆ DMDisplayGestalt()

OSErr DMDisplayGestalt ( DisplayIDType  theDisplayID,
ResType  displayGestaltSelector,
UInt32 *  displayGestaltResponse 
)

CALL_NOT_IN_CARBON DMDisplayGestalt()

Non-Carbon CFM: in DisplayLib 2.1 and later
Carbon Lib: not available
Mac OS X: not available

◆ DMDisposeAVComponent()

OSErr DMDisposeAVComponent ( Component  theAVComponent)

DMDisposeAVComponent()

Non-Carbon CFM: in DisplayLib68k 2.0 and later
Carbon Lib: in CarbonLib 1.0 and later
Mac OS X: in version 10.0 and later

◆ DMDisposeDisplay()

OSErr DMDisposeDisplay ( GDHandle  disposeDevice,
Handle  displayState 
)

DMDisposeDisplay()

Non-Carbon CFM: in InterfaceLib 7.5 and later
Carbon Lib: in CarbonLib 1.0 and later
Mac OS X: in version 10.0 and later

◆ DMDisposeList()

OSErr DMDisposeList ( DMListType  panelList)

DMDisposeList()

Non-Carbon CFM: in DisplayLib 2.0 and later
Carbon Lib: in CarbonLib 1.0 and later
Mac OS X: in version 10.0 and later

◆ DMDrawDesktopRect()

void DMDrawDesktopRect ( Rect globalRect)

DMDrawDesktopRect()

Non-Carbon CFM: in InterfaceLib 7.1 and later
Carbon Lib: in CarbonLib 1.0 and later
Mac OS X: in version 10.0 and later

◆ DMDrawDesktopRegion()

void DMDrawDesktopRegion ( RgnHandle  globalRgn)

DMDrawDesktopRegion()

Non-Carbon CFM: in InterfaceLib 7.1 and later
Carbon Lib: in CarbonLib 1.0 and later
Mac OS X: in version 10.0 and later

◆ DMEnableDisplay()

OSErr DMEnableDisplay ( GDHandle  enableDevice,
Handle  displayState 
)

DMEnableDisplay()

Non-Carbon CFM: in InterfaceLib 7.1 and later
Carbon Lib: in CarbonLib 1.0 and later
Mac OS X: in version 10.0 and later

◆ DMEndConfigureDisplays()

OSErr DMEndConfigureDisplays ( Handle  displayState)

DMEndConfigureDisplays()

Non-Carbon CFM: in InterfaceLib 7.1 and later
Carbon Lib: in CarbonLib 1.0 and later
Mac OS X: in version 10.0 and later

◆ DMGetAVPowerState()

OSErr DMGetAVPowerState ( AVIDType  theID,
AVPowerStatePtr  getPowerState,
unsigned long  reserved1 
)

DMGetAVPowerState()

Non-Carbon CFM: in DisplayLib68k 2.0 and later
Carbon Lib: in CarbonLib 1.0 and later
Mac OS X: in version 10.0 and later

◆ DMGetDeskRegion()

OSErr DMGetDeskRegion ( RgnHandle desktopRegion)

DMGetDeskRegion()

Non-Carbon CFM: in InterfaceLib 7.1 and later
Carbon Lib: in CarbonLib 1.0 and later
Mac OS X: in version 10.0 and later

◆ DMGetDeviceAVIDByPortAVID()

OSErr DMGetDeviceAVIDByPortAVID ( AVIDType  portAVID,
AVIDType *  deviceAVID 
)

DMGetDeviceAVIDByPortAVID()

Non-Carbon CFM: in DisplayLib68k 2.0 and later
Carbon Lib: in CarbonLib 1.0 and later
Mac OS X: in version 10.0 and later

◆ DMGetDeviceComponentByAVID()

OSErr DMGetDeviceComponentByAVID ( AVIDType  theDeviceID,
Component theDeviceComponent,
ComponentDescription theDesciption,
ResType *  theDeviceKind 
)

DMGetDeviceComponentByAVID()

Non-Carbon CFM: in DisplayLib68k 2.0 and later
Carbon Lib: in CarbonLib 1.0 and later
Mac OS X: in version 10.0 and later

◆ DMGetDisplayComponent()

OSErr DMGetDisplayComponent ( GDHandle  theDevice,
Component displayComponent 
)

DMGetDisplayComponent()

Non-Carbon CFM: in InterfaceLib 7.1 and later
Carbon Lib: in CarbonLib 1.0 and later
Mac OS X: in version 10.0 and later

◆ DMGetDisplayIDByGDevice()

OSErr DMGetDisplayIDByGDevice ( GDHandle  displayDevice,
DisplayIDType *  displayID,
Boolean  failToMain 
)

CALL_NOT_IN_CARBON DMGetDisplayIDByGDevice()

Non-Carbon CFM: in InterfaceLib 7.5 and later
Carbon Lib: in CarbonLib 1.0 and later
Mac OS X: in version 10.0 and later

◆ DMGetDisplayMgrA5World()

OSErr DMGetDisplayMgrA5World ( Ptr *  dmA5)

DMGetDisplayMgrA5World()

Non-Carbon CFM: in InterfaceLib 7.5 and later
Carbon Lib: not available
Mac OS X: not available

◆ DMGetDisplayMode()

OSErr DMGetDisplayMode ( GDHandle  theDevice,
VDSwitchInfoPtr  switchInfo 
)

DMGetDisplayMode()

Non-Carbon CFM: in DisplayLib68k 2.0 and later
Carbon Lib: in CarbonLib 1.0 and later
Mac OS X: in version 10.0 and later

◆ DMGetEnableByAVID()

OSErr DMGetEnableByAVID ( AVIDType  theAVID,
Boolean isAVIDEnabledNow,
Boolean canChangeEnableNow 
)

DMGetEnableByAVID()

Non-Carbon CFM: in DisplayLib68k 2.0 and later
Carbon Lib: in CarbonLib 1.0 and later
Mac OS X: in version 10.0 and later

◆ DMGetFirstScreenDevice()

GDHandle DMGetFirstScreenDevice ( Boolean  activeOnly)

CALL_NOT_IN_CARBON DMGetFirstScreenDevice()

Non-Carbon CFM: in InterfaceLib 7.1 and later
Carbon Lib: in CarbonLib 1.0 and later
Mac OS X: in version 10.0 and later

◆ DMGetGammaByAVID()

OSErr DMGetGammaByAVID ( AVIDType  gammaAVID,
UInt32  getGammaFlags,
GammaTblHandle theGamma 
)

DMGetGammaByAVID()

Non-Carbon CFM: in DisplayLib 2.1 and later
Carbon Lib: not available
Mac OS X: not available

◆ DMGetGDeviceByDisplayID()

OSErr DMGetGDeviceByDisplayID ( DisplayIDType  displayID,
GDHandle displayDevice,
Boolean  failToMain 
)

DMGetGDeviceByDisplayID()

Non-Carbon CFM: in InterfaceLib 7.5 and later
Carbon Lib: in CarbonLib 1.0 and later
Mac OS X: in version 10.0 and later

◆ DMGetGraphicInfoByAVID()

OSErr DMGetGraphicInfoByAVID ( AVIDType  theID,
PicHandle theAVPcit,
Handle *  theAVIconSuite,
AVLocationRec theAVLocation 
)

DMGetGraphicInfoByAVID()

Non-Carbon CFM: in DisplayLib68k 2.0 and later
Carbon Lib: in CarbonLib 1.0 and later
Mac OS X: in version 10.0 and later

◆ DMGetIndexedComponentFromList()

OSErr DMGetIndexedComponentFromList ( DMListType  panelList,
DMListIndexType  itemIndex,
unsigned long  reserved,
DMComponentListIteratorUPP  listIterator,
void *  userData 
)

DMGetIndexedComponentFromList()

Non-Carbon CFM: in DisplayLib68k 2.0 and later
Carbon Lib: in CarbonLib 1.0 and later
Mac OS X: in version 10.0 and later

◆ DMGetIndexedDisplayFromList()

OSErr DMGetIndexedDisplayFromList ( DMListType  theDisplayList,
DMListIndexType  itemIndex,
UInt32  reserved,
DMDisplayListIteratorUPP  listIterator,
void *  userData 
)

DMGetIndexedDisplayFromList()

Non-Carbon CFM: in DisplayLib 2.1 and later
Carbon Lib: not available
Mac OS X: not available

◆ DMGetIndexedDisplayModeFromList()

OSErr DMGetIndexedDisplayModeFromList ( DMListType  panelList,
DMListIndexType  itemIndex,
unsigned long  reserved,
DMDisplayModeListIteratorUPP  listIterator,
void *  userData 
)

DMGetIndexedDisplayModeFromList()

Non-Carbon CFM: in DisplayLib68k 2.0 and later
Carbon Lib: in CarbonLib 1.0 and later
Mac OS X: in version 10.0 and later

◆ DMGetIndexedProfileFromList()

OSErr DMGetIndexedProfileFromList ( DMListType  profileList,
DMListIndexType  itemIndex,
UInt32  reserved,
DMProfileListIteratorUPP  listIterator,
void *  userData 
)

DMGetIndexedProfileFromList()

Non-Carbon CFM: in DisplayLib 2.1 and later
Carbon Lib: not available
Mac OS X: not available

◆ DMGetMakeAndModelByAVID()

OSErr DMGetMakeAndModelByAVID ( AVIDType  theAVID,
DMMakeAndModelPtr  theMakeAndModel 
)

DMGetMakeAndModelByAVID()

Non-Carbon CFM: in DisplayLib 2.1 and later
Carbon Lib: not available
Mac OS X: not available

◆ DMGetNameByAVID()

OSErr DMGetNameByAVID ( AVIDType  theID,
unsigned long  nameFlags,
Str255  name 
)

DMGetNameByAVID()

Non-Carbon CFM: in DisplayLib68k 2.0 and later
Carbon Lib: in CarbonLib 1.0 and later
Mac OS X: in version 10.0 and later

◆ DMGetNextMirroredDevice()

OSErr DMGetNextMirroredDevice ( GDHandle  gDevice,
GDHandle mirroredDevice 
)

DMGetNextMirroredDevice()

Non-Carbon CFM: in InterfaceLib 7.5 and later
Carbon Lib: in CarbonLib 1.0 and later
Mac OS X: in version 10.0 and later

◆ DMGetNextScreenDevice()

GDHandle DMGetNextScreenDevice ( GDHandle  theDevice,
Boolean  activeOnly 
)

DMGetNextScreenDevice()

Non-Carbon CFM: in InterfaceLib 7.1 and later
Carbon Lib: in CarbonLib 1.0 and later
Mac OS X: in version 10.0 and later

◆ DMGetPortComponentByAVID()

OSErr DMGetPortComponentByAVID ( DisplayIDType  thePortID,
Component thePortComponent,
ComponentDescription theDesciption,
ResType *  thePortKind 
)

DMGetPortComponentByAVID()

Non-Carbon CFM: in DisplayLib68k 2.0 and later
Carbon Lib: in CarbonLib 1.0 and later
Mac OS X: in version 10.0 and later

◆ DMIsMirroringOn()

OSErr DMIsMirroringOn ( Boolean isMirroringOn)

DMIsMirroringOn()

Non-Carbon CFM: in InterfaceLib 7.5 and later
Carbon Lib: in CarbonLib 1.0 and later
Mac OS X: in version 10.0 and later

◆ DMMirrorDevices()

OSErr DMMirrorDevices ( GDHandle  gD1,
GDHandle  gD2,
Handle  displayState 
)

DMMirrorDevices()

Non-Carbon CFM: in InterfaceLib 7.5 and later
Carbon Lib: in CarbonLib 1.0 and later
Mac OS X: in version 10.0 and later

◆ DMMoveDisplay()

OSErr DMMoveDisplay ( GDHandle  moveDevice,
short  x,
short  y,
Handle  displayState 
)

DMMoveDisplay()

Non-Carbon CFM: in InterfaceLib 7.1 and later
Carbon Lib: in CarbonLib 1.0 and later
Mac OS X: in version 10.0 and later

◆ DMNewAVDeviceList()

OSErr DMNewAVDeviceList ( ResType  deviceType,
unsigned long  deviceListFlags,
unsigned long  reserved,
DMListIndexType *  deviceCount,
DMListType deviceList 
)

DMNewAVDeviceList()

Non-Carbon CFM: in DisplayLib68k 2.0 and later
Carbon Lib: in CarbonLib 1.0 and later
Mac OS X: in version 10.0 and later

◆ DMNewAVEngineList()

OSErr DMNewAVEngineList ( DisplayIDType  displayID,
ResType  engineType,
DMFidelityType  minimumFidelity,
unsigned long  engineListFlags,
unsigned long  reserved,
DMListIndexType *  engineCount,
DMListType engineList 
)

DMNewAVEngineList()

Non-Carbon CFM: in DisplayLib68k 2.0 and later
Carbon Lib: in CarbonLib 1.0 and later
Mac OS X: in version 10.0 and later

◆ DMNewAVIDByDeviceComponent()

OSErr DMNewAVIDByDeviceComponent ( Component  theDeviceComponent,
ResType  portKind,
unsigned long  reserved,
DisplayIDType *  newID 
)

DMNewAVIDByDeviceComponent()

Non-Carbon CFM: in DisplayLib68k 2.0 and later
Carbon Lib: in CarbonLib 1.0 and later
Mac OS X: in version 10.0 and later

◆ DMNewAVIDByPortComponent()

OSErr DMNewAVIDByPortComponent ( Component  thePortComponent,
ResType  portKind,
unsigned long  reserved,
AVIDType *  newID 
)

DMNewAVIDByPortComponent()

Non-Carbon CFM: in DisplayLib68k 2.0 and later
Carbon Lib: in CarbonLib 1.0 and later
Mac OS X: in version 10.0 and later

◆ DMNewAVPanelList()

OSErr DMNewAVPanelList ( DisplayIDType  displayID,
ResType  panelType,
DMFidelityType  minimumFidelity,
unsigned long  panelListFlags,
unsigned long  reserved,
DMListIndexType *  thePanelCount,
DMListType thePanelList 
)

DMNewAVPanelList()

Non-Carbon CFM: in DisplayLib68k 2.0 and later
Carbon Lib: in CarbonLib 1.0 and later
Mac OS X: in version 10.0 and later

◆ DMNewAVPortListByDeviceAVID()

OSErr DMNewAVPortListByDeviceAVID ( AVIDType  theID,
DMFidelityType  minimumFidelity,
unsigned long  portListFlags,
unsigned long  reserved,
DMListIndexType *  devicePortCount,
DMListType theDevicePortList 
)

DMNewAVPortListByDeviceAVID()

Non-Carbon CFM: in DisplayLib68k 2.0 and later
Carbon Lib: in CarbonLib 1.0 and later
Mac OS X: in version 10.0 and later

◆ DMNewAVPortListByPortType()

OSErr DMNewAVPortListByPortType ( ResType  subType,
unsigned long  portListFlags,
unsigned long  reserved,
DMListIndexType *  devicePortCount,
DMListType theDevicePortList 
)

DMNewAVPortListByPortType()

Non-Carbon CFM: in DisplayLib68k 2.0 and later
Carbon Lib: in CarbonLib 1.0 and later
Mac OS X: in version 10.0 and later

◆ DMNewDisplay()

OSErr DMNewDisplay ( GDHandle newDevice,
short  driverRefNum,
unsigned long  mode,
unsigned long  reserved,
DisplayIDType  displayID,
Component  displayComponent,
Handle  displayState 
)

DMNewDisplay()

Non-Carbon CFM: in InterfaceLib 7.5 and later
Carbon Lib: in CarbonLib 1.0 and later
Mac OS X: in version 10.0 and later

◆ DMNewDisplayList()

OSErr DMNewDisplayList ( UInt32  displayListIncludeFlags,
UInt32  reserved1,
UInt32  reserved2,
DMListIndexType *  theCount,
DMListType theDisplayList 
)

DMNewDisplayList()

Non-Carbon CFM: in DisplayLib 2.1 and later
Carbon Lib: not available
Mac OS X: not available

◆ DMNewDisplayModeList()

OSErr DMNewDisplayModeList ( DisplayIDType  displayID,
unsigned long  modeListFlags,
unsigned long  reserved,
DMListIndexType *  thePanelCount,
DMListType thePanelList 
)

DMNewDisplayModeList()

Non-Carbon CFM: in DisplayLib68k 2.0 and later
Carbon Lib: in CarbonLib 1.0 and later
Mac OS X: in version 10.0 and later

◆ DMNewProfileListByAVID()

OSErr DMNewProfileListByAVID ( AVIDType  theAVID,
UInt32  reserved,
DMListIndexType *  profileCount,
DMListType profileList 
)

DMNewProfileListByAVID()

Non-Carbon CFM: in DisplayLib 2.1 and later
Carbon Lib: not available
Mac OS X: not available

◆ DMQDIsMirroringCapable()

OSErr DMQDIsMirroringCapable ( Boolean qdIsMirroringCapable)

DMQDIsMirroringCapable()

Non-Carbon CFM: in InterfaceLib 7.5 and later
Carbon Lib: in CarbonLib 1.0 and later
Mac OS X: in version 10.0 and later

◆ DMRegisterExtendedNotifyProc()

OSErr DMRegisterExtendedNotifyProc ( DMExtendedNotificationUPP  notifyProc,
void *  notifyUserData,
unsigned short  nofifyOnFlags,
DMProcessInfoPtr  whichPSN 
)

DMRegisterExtendedNotifyProc()

Non-Carbon CFM: in DisplayLib 2.0 and later
Carbon Lib: in CarbonLib 1.0 and later
Mac OS X: in version 10.0 and later

◆ DMRegisterNotifyProc()

OSErr DMRegisterNotifyProc ( DMNotificationUPP  notificationProc,
DMProcessInfoPtr  whichPSN 
)

DMRegisterNotifyProc()

Non-Carbon CFM: in InterfaceLib 7.1 and later
Carbon Lib: in CarbonLib 1.0 and later
Mac OS X: in version 10.0 and later

◆ DMRemoveDisplay()

OSErr DMRemoveDisplay ( GDHandle  removeDevice,
Handle  displayState 
)

DMRemoveDisplay()

Non-Carbon CFM: in InterfaceLib 7.1 and later
Carbon Lib: in CarbonLib 1.0 and later
Mac OS X: in version 10.0 and later

◆ DMRemoveExtendedNotifyProc()

OSErr DMRemoveExtendedNotifyProc ( DMExtendedNotificationUPP  notifyProc,
void *  notifyUserData,
DMProcessInfoPtr  whichPSN,
unsigned short  removeFlags 
)

DMRemoveExtendedNotifyProc()

Non-Carbon CFM: in DisplayLib 2.0 and later
Carbon Lib: in CarbonLib 1.0 and later
Mac OS X: in version 10.0 and later

◆ DMRemoveNotifyProc()

OSErr DMRemoveNotifyProc ( DMNotificationUPP  notificationProc,
DMProcessInfoPtr  whichPSN 
)

DMRemoveNotifyProc()

Non-Carbon CFM: in InterfaceLib 7.1 and later
Carbon Lib: in CarbonLib 1.0 and later
Mac OS X: in version 10.0 and later

◆ DMResolveDisplayComponents()

OSErr DMResolveDisplayComponents ( void  )

DMResolveDisplayComponents()

Non-Carbon CFM: in InterfaceLib 7.1 and later
Carbon Lib: in CarbonLib 1.0 and later
Mac OS X: in version 10.0 and later

◆ DMResumeConfigure()

OSErr DMResumeConfigure ( Handle  displayState,
unsigned long  reserved1 
)

DMResumeConfigure()

Non-Carbon CFM: in DisplayLib 2.1 and later
Carbon Lib: not available
Mac OS X: not available

◆ DMSaveScreenPrefs()

OSErr DMSaveScreenPrefs ( unsigned long  reserved1,
unsigned long  saveFlags,
unsigned long  reserved2 
)

DMSaveScreenPrefs()

Non-Carbon CFM: in DisplayLib68k 2.0 and later
Carbon Lib: in CarbonLib 1.0 and later
Mac OS X: in version 10.0 and later

◆ DMSendDependentNotification()

OSErr DMSendDependentNotification ( ResType  notifyType,
ResType  notifyClass,
AVIDType  displayID,
ComponentInstance  notifyComponent 
)

DMSendDependentNotification()

Non-Carbon CFM: in DisplayLib 2.0 and later
Carbon Lib: in CarbonLib 1.0 and later
Mac OS X: in version 10.0 and later

◆ DMSetAVPowerState()

OSErr DMSetAVPowerState ( AVIDType  theID,
AVPowerStatePtr  setPowerState,
unsigned long  powerFlags,
Handle  displayState 
)

DMSetAVPowerState()

Non-Carbon CFM: in DisplayLib68k 2.0 and later
Carbon Lib: in CarbonLib 1.0 and later
Mac OS X: in version 10.0 and later

◆ DMSetDisplayComponent()

OSErr DMSetDisplayComponent ( GDHandle  theDevice,
Component  displayComponent 
)

DMSetDisplayComponent()

Non-Carbon CFM: in InterfaceLib 7.1 and later
Carbon Lib: in CarbonLib 1.0 and later
Mac OS X: in version 10.0 and later

◆ DMSetDisplayMode()

OSErr DMSetDisplayMode ( GDHandle  theDevice,
unsigned long  mode,
unsigned long *  depthMode,
unsigned long  reserved,
Handle  displayState 
)

DMSetDisplayMode()

Non-Carbon CFM: in InterfaceLib 7.1 and later
Carbon Lib: in CarbonLib 1.0 and later
Mac OS X: in version 10.0 and later

◆ DMSetEnableByAVID()

OSErr DMSetEnableByAVID ( AVIDType  theAVID,
Boolean  doEnable,
Handle  displayState 
)

DMSetEnableByAVID()

Non-Carbon CFM: in DisplayLib68k 2.0 and later
Carbon Lib: in CarbonLib 1.0 and later
Mac OS X: in version 10.0 and later

◆ DMSetGammaByAVID()

OSErr DMSetGammaByAVID ( AVIDType  gammaAVID,
UInt32  setGammaFlags,
GammaTblHandle  theGamma 
)

DMSetGammaByAVID()

Non-Carbon CFM: in DisplayLib 2.1 and later
Carbon Lib: not available
Mac OS X: not available

◆ DMSetMainDisplay()

OSErr DMSetMainDisplay ( GDHandle  newMainDevice,
Handle  displayState 
)

DMSetMainDisplay()

Non-Carbon CFM: in InterfaceLib 7.1 and later
Carbon Lib: in CarbonLib 1.0 and later
Mac OS X: in version 10.0 and later

◆ DMSuspendConfigure()

OSErr DMSuspendConfigure ( Handle  displayState,
unsigned long  reserved1 
)

DMSuspendConfigure()

Non-Carbon CFM: in DisplayLib 2.1 and later
Carbon Lib: not available
Mac OS X: not available

◆ DMUnblockMirroring()

OSErr DMUnblockMirroring ( void  )

DMUnblockMirroring()

Non-Carbon CFM: in InterfaceLib 7.5 and later
Carbon Lib: in CarbonLib 1.0 and later
Mac OS X: in version 10.0 and later

◆ DMUnmirrorDevice()

OSErr DMUnmirrorDevice ( GDHandle  gDevice,
Handle  displayState 
)

DMUnmirrorDevice()

Non-Carbon CFM: in InterfaceLib 7.5 and later
Carbon Lib: in CarbonLib 1.0 and later
Mac OS X: in version 10.0 and later

◆ DMUseScreenPrefs()

OSErr DMUseScreenPrefs ( Boolean  usePrefs,
Handle  displayState 
)

DMUseScreenPrefs()

Non-Carbon CFM: in DisplayLib 2.1 and later
Carbon Lib: not available
Mac OS X: not available

◆ InvokeDMComponentListIteratorUPP()

void InvokeDMComponentListIteratorUPP ( void *  userData,
DMListIndexType  itemIndex,
DMComponentListEntryPtr  componentInfo,
DMComponentListIteratorUPP  userUPP 
)

InvokeDMComponentListIteratorUPP()

Non-Carbon CFM: available as macro/inline
Carbon Lib: in CarbonLib 1.0 and later
Mac OS X: in version 10.0 and later

◆ InvokeDMDisplayListIteratorUPP()

void InvokeDMDisplayListIteratorUPP ( void *  userData,
DMListIndexType  itemIndex,
DisplayListEntryPtr  displaymodeInfo,
DMDisplayListIteratorUPP  userUPP 
)

InvokeDMDisplayListIteratorUPP()

Non-Carbon CFM: available as macro/inline
Carbon Lib: in CarbonLib 1.0 and later
Mac OS X: in version 10.0 and later

◆ InvokeDMDisplayModeListIteratorUPP()

void InvokeDMDisplayModeListIteratorUPP ( void *  userData,
DMListIndexType  itemIndex,
DMDisplayModeListEntryPtr  displaymodeInfo,
DMDisplayModeListIteratorUPP  userUPP 
)

InvokeDMDisplayModeListIteratorUPP()

Non-Carbon CFM: available as macro/inline
Carbon Lib: in CarbonLib 1.0 and later
Mac OS X: in version 10.0 and later

◆ InvokeDMExtendedNotificationUPP()

void InvokeDMExtendedNotificationUPP ( void *  userData,
short  theMessage,
void *  notifyData,
DMExtendedNotificationUPP  userUPP 
)

InvokeDMExtendedNotificationUPP()

Non-Carbon CFM: available as macro/inline
Carbon Lib: in CarbonLib 1.0 and later
Mac OS X: in version 10.0 and later

◆ InvokeDMNotificationUPP()

void InvokeDMNotificationUPP ( AppleEvent theEvent,
DMNotificationUPP  userUPP 
)

InvokeDMNotificationUPP()

Non-Carbon CFM: available as macro/inline
Carbon Lib: in CarbonLib 1.0 and later
Mac OS X: in version 10.0 and later

◆ InvokeDMProfileListIteratorUPP()

void InvokeDMProfileListIteratorUPP ( void *  userData,
DMListIndexType  itemIndex,
DMProfileListEntryPtr  profileInfo,
DMProfileListIteratorUPP  userUPP 
)

InvokeDMProfileListIteratorUPP()

Non-Carbon CFM: available as macro/inline
Carbon Lib: in CarbonLib 1.0 and later
Mac OS X: in version 10.0 and later

◆ NewDMComponentListIteratorUPP()

DMComponentListIteratorUPP NewDMComponentListIteratorUPP ( DMComponentListIteratorProcPtr  userRoutine)

NewDMComponentListIteratorUPP()

Non-Carbon CFM: available as macro/inline
Carbon Lib: in CarbonLib 1.0 and later
Mac OS X: in version 10.0 and later

◆ NewDMDisplayListIteratorUPP()

DMDisplayListIteratorUPP NewDMDisplayListIteratorUPP ( DMDisplayListIteratorProcPtr  userRoutine)

NewDMDisplayListIteratorUPP()

Non-Carbon CFM: available as macro/inline
Carbon Lib: in CarbonLib 1.0 and later
Mac OS X: in version 10.0 and later

◆ NewDMDisplayModeListIteratorUPP()

DMDisplayModeListIteratorUPP NewDMDisplayModeListIteratorUPP ( DMDisplayModeListIteratorProcPtr  userRoutine)

NewDMDisplayModeListIteratorUPP()

Non-Carbon CFM: available as macro/inline
Carbon Lib: in CarbonLib 1.0 and later
Mac OS X: in version 10.0 and later

◆ NewDMExtendedNotificationUPP()

DMExtendedNotificationUPP NewDMExtendedNotificationUPP ( DMExtendedNotificationProcPtr  userRoutine)

NewDMExtendedNotificationUPP()

Non-Carbon CFM: available as macro/inline
Carbon Lib: in CarbonLib 1.0 and later
Mac OS X: in version 10.0 and later

◆ NewDMNotificationUPP()

DMNotificationUPP NewDMNotificationUPP ( DMNotificationProcPtr  userRoutine)

NewDMNotificationUPP()

Non-Carbon CFM: available as macro/inline
Carbon Lib: in CarbonLib 1.0 and later
Mac OS X: in version 10.0 and later

◆ NewDMProfileListIteratorUPP()

DMProfileListIteratorUPP NewDMProfileListIteratorUPP ( DMProfileListIteratorProcPtr  userRoutine)

NewDMProfileListIteratorUPP()

Non-Carbon CFM: available as macro/inline
Carbon Lib: in CarbonLib 1.0 and later
Mac OS X: in version 10.0 and later