Creates a direct-access data provider.
- Core Graphics
A pointer to data of any type or
NULL. When Core Graphics calls the functions specified in the
callbacksparameter, it sends each of the functions this pointer.
A value that specifies the number of bytes that the data provider contains.
A new data provider. You are responsible for releasing this object using
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.