FreeImage.NET Class Library Reference
WriteProc Delegate |
Delegate to the C++ function fwrite.
Namespace: FreeImageAPI.IO
Assembly: FreeImageNET (in FreeImageNET.dll) Version: 3.17.0.4 (3.17.0)
Syntax
C#
public delegate uint WriteProc( IntPtr buffer, uint size, uint count, fi_handle handle )
Parameters
- buffer
- Type: SystemIntPtr
Pointer to data to be written. - size
- Type: SystemUInt32
Item size in bytes. - count
- Type: SystemUInt32
Maximum number of items to be written. - handle
- Type: FreeImageAPI.IOfi_handle
Handle/stream to write to.
Return Value
Type: UInt32Number of full items actually written, which may be less than count if an error occurs. Also, if an error occurs, the file-position indicator cannot be determined.
See Also