Important: The information in this document is obsolete and should not be used for new development.
PixMap32Bit
You can use thePixMap32Bit
function to determine whether a pixel map requires 32-bit addressing mode for access to its pixel image.
FUNCTION PixMap32Bit (pmHandle: PixMapHandle): Boolean;
pmHandle
- A handle to an offscreen pixel map.
DESCRIPTION
ThePixMap32Bit
function returnsTRUE
if a pixel map requires 32-bit addressing mode for access to its pixel image. If your application is in 24-bit mode, you must change to 32-bit mode.To get a handle to an offscreen pixel map, first use the
GetGWorldPixMap
function, described on page 6-31. Then supply this handle for thepm
parameter ofPixMap32Bit
.ASSEMBLY-LANGUAGE INFORMATION
The trap macro and routine selector for thePixMap32Bit
function are
Trap macro Selector _QDExtensions $00040016 SEE ALSO
See Inside Macintosh: Memory for information about determining and setting addressing modes.