Important: The information in this document is obsolete and should not be used for new development.
RecordPixMapInfo
To add a pixel map or bitmap to an informational survey of multiple pixel maps and bitmaps, use theRecordPictInfo
function.
FUNCTION RecordPixMapInfo (thePictInfoID: PictInfoID; thePixMapHandle: PixMapHandle): OSErr;
thePictInfoID
- The ID number--returned by the
NewPictInfo
function--that identifies the survey to which you are adding the pixel map or bitmap. TheNewPictInfo
function is described on page 7-52.thePixMapHandle
- A handle to a pixel map (or bitmap) to be added to the survey.
DESCRIPTION
TheRecordPixMapInfo
function adds the pixel map or bitmap you specify in the parameterthePixMapHandle
to the survey identified by the parameterthePictInfoID
. UseRecordPictInfo
repeatedly to add additional pixel maps and bitmaps to your survey.After you have collected all of the images you need, use the
RetrievePictInfo
function, described on page 7-57, to return information about all the images in the survey.SPECIAL CONSIDERATIONS
TheRecordPixMapInfo
function may move or purge memory.ASSEMBLY-LANGUAGE INFORMATION
The trap macro and routine selector for theRecordPixMapInfo
function are
Trap macro Selector _Pack15 $0404 RESULT CODES
pictInfoIDErr -11001 Invalid picture information ID pictureDataErr -11005 Invalid picture data