A function identified as deprecated has been superseded and may become unsupported in the future.
Creates a Quartz sequential-access data provider. (Deprecated in Mac OS X v10.5.)
CGDataProviderRef CGDataProviderCreate ( void *info, const CGDataProviderCallbacks *callbacks );
A pointer to data of any type or NULL
. When Quartz calls the functions specified in the callbacks
parameter, it sends each of the functions this data.
A pointer to a CGDataProviderCallbacks
structure that specifies the callback functions you implement to handle the data provider’s basic memory management. For a complete description, see CGDataProviderCallbacks
.
A new data provider. You are responsible for releasing this object using CGDataProviderRelease
.
You use this function to create a sequential-access data provider that uses callback functions to read data from your program in a stream.
CGDataProvider.h
Creates a Quartz direct-access data provider. (Deprecated in Mac OS X v10.5.)
CGDataProviderRef CGDataProviderCreateDirectAccess ( void *info, size_t size, const CGDataProviderDirectAccessCallbacks *callbacks );
A pointer to data of any type or NULL
. When Quartz calls the functions specified in the callbacks
parameter, it sends each of the functions this pointer.
A value that specifies the number of bytes that the data provider contains.
A pointer to a CGDataProviderDirectAccessCallbacks
structure that specifies the callback functions you implement to handle the data provider’s basic memory management. For a complete description, see CGDataProviderDirectAccessCallbacks
.
A new data provider. You are responsible for releasing this object using CGDataProviderRelease
.
You use this function to create a direct-access data provider that uses callback functions to read data from your program in a single block.
CGDataProvider.h
© 2003, 2009 Apple Inc. All Rights Reserved. (Last updated: 2009-01-06)