Carbon


DMNewDisplayModeList

Header: Displays.h Carbon status: Supported

Builds a new display mode list for a specified video device.

OSErr DMNewDisplayModeList (
    DisplayIDType displayID, 
    UInt32 modeListFlags, 
    UInt32 reserved, 
    DMListIndexType *thePanelCount, 
    DMListType *thePanelList
);
Parameter descriptions
displayID

The display ID for the video device that will have a new display mode list.

modeListFlags

Reserved for future expansion. Pass NULL in this parameter.

reserved

Reserved for future expansion. Pass NULL in this parameter.

thePanelCount

The number of entries in the display mode list specified by the theList parameter.

thePanelList

The display mode list for the specified video device. You can access entries with the function DMGetIndexedDisplayModeFromList

function result

A result code.

SPECIAL CONSIDERATIONS

Because this function may move or purge memory blocks or access handles, you cannot call it at interrupt time.

Generally, your application should not use this function, but should instead allow system software to maintain the device list. This function is described here for completeness only.

AVAILABILITY

Supported in Carbon. Available in Carbon 1.0.2 and later when Displays 2.0 or later is present.


© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)