Important: The information in this document is obsolete and should not be used for new development.
GXGetViewDeviceGDevice
You can use theGXGetViewDeviceGDevicefunction to return the Macintosh graphics device associated with a specified view device object.
GDHandle GXGetViewDeviceGDevice(gxViewDevice theDevice);
- theDevice
- A reference to the view device whose graphics device is requested.
- function result
- A handle to the
GDevicerecord of the specified view device.DESCRIPTION
TheGXGetViewDeviceGDevicefunction returns a handle to theGDevicerecord associated with a specified view device. The function returnsnilif the view device has noGDevicerecord.ERRORS, WARNINGS, AND NOTICES
Errors out_of_memory invalid_viewdevice_reference SEE ALSO
Macintosh graphics devices and theGDevicerecord are described in Inside Macintosh: Imaging With QuickDraw.View devices are described in the chapter "View-Related Objects" in Inside Macintosh: QuickDraw GX Objects.
To obtain the view device associated with a graphics device, use the GXGetGDeviceViewDevice function, described next.