GetNextDevice
After using theGetDeviceListfunction to obtain a handle to the firstGDevicerecord in the device list,GetGDeviceto obtain a handle to theGDevicerecord for the current device,GetMainDeviceto obtain a handle to theGDevicerecord for the main screen, orGetMaxDeviceto obtain a handle to theGDevicerecord for the video device with the greatest pixel depth, you can use theGetNextDevicefunction to obtain a handle to the nextGDevicerecord in the list.
FUNCTION GetNextDevice (curDevice: GDHandle): GDHandle;
curDevice- A handle to the
GDevicerecord at which you want the search to begin.DESCRIPTION
TheGetNextDevicefunction returns a handle to the nextGDevicerecord in the device list. If there are no moreGDevicerecords in the list, it returnsNIL.SPECIAL CONSIDERATIONS
TheGetNextDevicefunction may move or purge memory blocks in the application heap. Your application should not call this function at interrupt time.SEE ALSO
Listing 5-3 on page 5-9 illustrates the use of this function.
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help