Contents

CGDataProviderRetain

Increments the retain count of a data provider.

Declaration

extern CGDataProviderRef CGDataProviderRetain(CGDataProviderRef provider);

Parameters

  • provider:

    The data provider to retain.

Return Value

The same data provider you passed in as the provider parameter.

Discussion

This function is equivalent to CFRetain, except that it does not cause an error if the provider parameter is NULL.

See Also

Retaining and Releasing Data Providers