Carbon


DMDisposeList

Header: Displays.h Carbon status: Supported

Disposes of a display mode list built by DMNewDisplayModeList.

OSErr DMDisposeList (
    DMListType panelList
);
Parameter descriptions
panelList

A value that specifies the display mode list you want to delete.

function result

A result code.

DISCUSSION

You should call the DMDisposeList function after you have iterated the mode list.

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)