MonobjcMonobjc Documented Class Library
CGDataConsumerPutBytesCallback Delegate
NamespacesMonobjc.ApplicationServicesCGDataConsumerPutBytesCallback

Copies data from a Quartz-supplied buffer into a data consumer.

Original signature is : size_t (*CGDataConsumerPutBytesCallback) ( void *info, const void *buffer, size_t count );

Available in Mac OS X v10.4 and later.

Declaration Syntax
C#Visual BasicVisual C++
public delegate NSUInteger CGDataConsumerPutBytesCallback(
	IntPtr info,
	IntPtr buffer,
	NSUInteger count
)
Public Delegate Function CGDataConsumerPutBytesCallback ( _
	info As IntPtr, _
	buffer As IntPtr, _
	count As NSUInteger _
) As NSUInteger
public delegate NSUInteger CGDataConsumerPutBytesCallback(
	IntPtr info, 
	IntPtr buffer, 
	NSUInteger count
)
Parameters
info (IntPtr)
A generic pointer to private data shared among your callback functions. This is the pointer supplied to CGDataConsumerCreate.
buffer (IntPtr)
The Quartz-supplied buffer from which you copy the specified number of bytes.
count (NSUInteger)
The number of bytes to copy.
Return Value
The number of bytes copied. If no more data can be written to the consumer, you should return 0.
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)