NoPurgePixels
To prevent the Memory Manager from purging the base address for an offscreen pixel image, use theNoPurgePixelsprocedure.
PROCEDURE NoPurgePixels (pm: PixMapHandle);
pm- A handle to an offscreen pixel map.
DESCRIPTION
TheNoPurgePixelsprocedure marks the base address for an offscreen pixel image as unpurgeable. To get a handle to an offscreen pixel map, use theGetGWorldPixMapfunction, described on page 6-31. Then supply this handle for thepmparameter ofNoPurgePixels.SPECIAL CONSIDERATIONS
TheNoPurgePixelsprocedure may move or purge memory blocks in the application heap. Your application should not call this procedure at interrupt time.ASSEMBLY-LANGUAGE INFORMATION
The trap macro and routine selector for theNoPurgePixelsprocedure are
Trap macro Selector _QDExtensions $0004000C
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help