Functions


CallInScrapPromises Forces all promised flavors to be supplied. ClearCurrentScrap Clears the current scrap. DisposeScrapPromiseKeeperUPP Disposes of a universal procedure pointer to a function that provides promised scrap data. GetCurrentScrap Obtains a reference to the current scrap. GetScrapFlavorCount Obtains a scrap flavor count to use with the GetScrapFlavorInfoList function. GetScrapFlavorData Obtains the data for the specified flavor from the specified scrap. GetScrapFlavorFlags Obtains information about a specified scrap flavor. GetScrapFlavorInfoList Fills a list (array) with items which each describe a corresponding flavor in the scrap. GetScrapFlavorSize Obtains the size of the data for a specified flavor from a specified scrap.

Getting Information About the Scrap

InfoScrap Obtains information about the scrap.

InvokeScrapPromiseKeeperUPP Calls a universal procedure pointer to a function that provides promised scrap data.
NewScrapPromiseKeeperUPP Creates a new universal procedure pointer to a function that provides promised scrap data.
PutScrapFlavor Puts data on or promises data to the specified scrap.

Reading Information From the Scrap

GetScrap Reads data from the scrap.

SetScrapPromiseKeeper Associates an application-defined promise-keeper function with a scrap or removes an associated promise-keeper.

Transferring Data Between the Scrap in Memory and the Scrap on Disk

LoadScrap Reads the scrap from the scrap file into memory.
UnloadScrap Writes the scrap from memory to the scrap file.

Writing Information to the Scrap

PutScrap Writes data to the current location of the scrap.
ZeroScrap Clears the contents of the scrap.

© 2000 Apple Computer, Inc. (Last Updated 7/17/2000)