Important: The information in this document is obsolete and should not be used for new development.
GetNextDevice
After using theGetDeviceList
function to obtain a handle to the firstGDevice
record in the device list,GetGDevice
to obtain a handle to theGDevice
record for the current device,GetMainDevice
to obtain a handle to theGDevice
record for the main screen, orGetMaxDevice
to obtain a handle to theGDevice
record for the video device with the greatest pixel depth, you can use theGetNextDevice
function to obtain a handle to the nextGDevice
record in the list.
FUNCTION GetNextDevice (curDevice: GDHandle): GDHandle;
curDevice
- A handle to the
GDevice
record at which you want the search to begin.DESCRIPTION
TheGetNextDevice
function returns a handle to the nextGDevice
record in the device list. If there are no moreGDevice
records in the list, it returnsNIL
.SPECIAL CONSIDERATIONS
TheGetNextDevice
function 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.