RetrievePictInfo
colorsRequested);
PictInfoID thePictInfoID; specifies a picture information record
PictInfo *thePictInfo; a pointer to the picture information record short colorsRequested; number of colors you want
verb parameter passed to the associated NewPictInfo function specified by thePictInfoID. You supply a pointer to the picture information record in
thePictInfo. If you requested a palette or color table, specify the number of
colors you want in the colorsRequested parameter.
You can call this function repeatedly, gathering new information after
dispose of the handles returned to you (thePalette, theColorTable,
commentHandle, fontHandle, and fontNamesHandle) when you finish with
them.
thePictInfoID picture information record specifier returned by NewPictInfo. thePictInfo a pointer to a picture information record.
colorsRequested specifies the number of colors you want
noErr (0) No error
pictInfoIDErr (-11001) Invalid picture information ID
colorsRequestedErr (-11004) Number out of range or greater than passed to