MonobjcMonobjc Documented Class Library
CGDataProviderReleaseDataCallback Delegate
NamespacesMonobjc.ApplicationServicesCGDataProviderReleaseDataCallback

A callback function that releases data you supply to the function CGDataProviderCreateWithData.

Original signature is : typedef void (*CGDataProviderReleaseDataCallback) ( void *info, const void *data size_t size );

Available in Mac OS X v10.5 and later.

Declaration Syntax
C#Visual BasicVisual C++
public delegate void CGDataProviderReleaseDataCallback(
	IntPtr info,
	IntPtr data,
	NSUInteger size
)
Public Delegate Sub CGDataProviderReleaseDataCallback ( _
	info As IntPtr, _
	data As IntPtr, _
	size As NSUInteger _
)
public delegate void CGDataProviderReleaseDataCallback(
	IntPtr info, 
	IntPtr data, 
	NSUInteger size
)
Parameters
info (IntPtr)
A generic pointer to private data shared among your callback functions. This is the same pointer you supplied to CGDataProviderCreateWithData.
data (IntPtr)
A pointer to your provider data.
size (NSUInteger)
The size of the data.
Return Value
The number of bytes that were actually skipped.
Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)

Assembly: Monobjc.AppKit (Module: Monobjc.AppKit)