Important: The information in this document is obsolete and should not be used for new development.
PixMap32Bit
You can use thePixMap32Bitfunction 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
ThePixMap32Bitfunction returnsTRUEif 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
GetGWorldPixMapfunction, described on page 6-31. Then supply this handle for thepmparameter ofPixMap32Bit.ASSEMBLY-LANGUAGE INFORMATION
The trap macro and routine selector for thePixMap32Bitfunction are
Trap macro Selector _QDExtensions $00040016 SEE ALSO
See Inside Macintosh: Memory for information about determining and setting addressing modes.