![]() |
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 );
The display ID for the video device that will have a new display mode list.
Reserved for future expansion. Pass NULL in this parameter.
Reserved for future expansion. Pass NULL in this parameter.
The number of entries in the display mode list specified by the theList parameter.
The display mode list for the specified video device. You can access entries with the function DMGetIndexedDisplayModeFromList
A result code.
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.
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)