Important: The information in this document is obsolete and should not be used for new development.
GetMaxDevice
To obtain a handle to theGDevice
record for the video device with the greatest pixel depth, use theGetMaxDevice
function.
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,GetMaxDevice
returns a handle to theGDevice
record for the video device that has the greatest pixel depth among all graphics devices that intersect the rectangle you specify in theglobalRect
parameter.SPECIAL CONSIDERATIONS
TheGetMaxDevice
function may move or purge memory blocks in the application heap. Your application should not call this function at interrupt time.