Important: The information in this document is obsolete and should not be used for new development.
 
 
 
 
GetMaxDevice
To obtain a handle to theGDevicerecord for the video device with the greatest pixel depth, use theGetMaxDevicefunction.
FUNCTION GetMaxDevice (globalRect: Rect): GDHandle;
globalRect- A rectangle, in global coordinates, that intersects the graphics devices that you are searching to find the one with the greatest pixel depth.
 DESCRIPTION
As its function result,GetMaxDevicereturns a handle to theGDevicerecord for the video device that has the greatest pixel depth among all graphics devices that intersect the rectangle you specify in theglobalRectparameter.SPECIAL CONSIDERATIONS
TheGetMaxDevicefunction may move or purge memory blocks in the application heap. Your application should not call this function at interrupt time.