formZ SDK | 4.0 Call Back Reference | Surface Style Representation

# fz_srep_cbak_data_io

Description

Surface Style Representation data io function (Required). This function is called whenever the data of a Surface Style Representation is written to or read from file.

Plugin Prototype

fzrt_error_td fz_srep_cbak_data_io(

fzrt_int | windex,
fz_iost_ptr | iost,
fz_iost_dir_td_enum | dir,
fzpl_vers_td * const | version,
fzrt_unsigned_int | size,
void * | data )

Parameters

windex [Input]

project window index

iost [Input]

The io stream pointer.

dir [Input]

Reading or writing indicator.

version [Input, Result]

When reading, this is the version with which the Surface Style Representation was written. When writing, the parameter needs to be set to the current version of the Surface Style Representation's It is up to the plugin to keep track of the version.

size [Input]

When reading, this parameter is the size of the data when it was written. When writing, this parameter is unused.

data [Input]

Pointer to the Surface Style Representation data from which to write or to which to read.

Returns

Error codes

Availability

6.0.0.2

Function Set

fz_srep_cbak_fset

Defined in

fz_srep_api.h