formZ SDK | 4.0 Call Back Reference | File Translator

fz_ffmt_cbak_opts_io

Description

Saves and restores the translator's custom options. This function is called by formZ to save the translator's custom options.

Plugin Prototype

fzrt_error_td fz_ffmt_cbak_opts_io(

fz_iost_ptr

iost,

fz_iost_dir_td_enum

dir,

fzpl_vers_td * const

version,

fzrt_unsigned_int

size )

Parameters

iost [Input]

The IOStream to read/write the options to/from.

dir [Input]

The direction of the IO (read or write).

version [Input, Result]

The version of the options data. This parameter is a Result if dir == FZ_IOST_WRITE. This parameter is an input if dir == FZ_IOST_READ.

size [Input]

The size of the options data. This parameter is valid only if dir == FZ_IOST_READ.

Returns

FZRT_NOERR if the IO was successful. An error otherwise.

Availability

5.0.0.0

Function Set

fz_ffmt_cbak_info_fset


Defined in

fz_ffmt_api.h