Important: The information in this document is obsolete and should not be used for new development.
GetNextDeviceAfter using the
GetDeviceListfunction to obtain a handle to the first
GDevicerecord in the device list,
GetGDeviceto obtain a handle to the
GDevicerecord for the current device,
GetMainDeviceto obtain a handle to the
GDevicerecord for the main screen, or
GetMaxDeviceto obtain a handle to the
GDevicerecord for the video device with the greatest pixel depth, you can use the
GetNextDevicefunction to obtain a handle to the next
GDevicerecord in the list.
FUNCTION GetNextDevice (curDevice: GDHandle): GDHandle;
- A handle to the
GDevicerecord at which you want the search to begin.
GetNextDevicefunction returns a handle to the next
GDevicerecord in the device list. If there are no more
GDevicerecords in the list, it returns
GetNextDevicefunction may move or purge memory blocks in the application heap. Your application should not call this function at interrupt time.
SEE ALSOListing 5-3 on page 5-9 illustrates the use of this function.