formZ SDK | 4.0 Call Back Reference | File Translator | Structured File Translator | Data Model Call Back

fz_ffmt_cbak_data_model_write_end

Description

Ends the writing of a model file. Any translator specific data allocated fz_ffmt_cbak_data_model_write_begin_func should be freed in this function. NOTE: This function is called whether the export succeeded or failed. It is up to this function to check error codes and NULL pointers.

Plugin Prototype

fzrt_error_td fz_ffmt_cbak_data_model_write_end(

fzrt_int

windex,

fz_ffmt_ref_td

ffmt_id,

void **

data_ptr,

fzrt_floc_ptr

floc,

fzrt_error_td

err )

Parameters

windex [Input]

project window index

ffmt_id [Input]

The file format reference id.

data_ptr [Input]

A pointer to translator defined data.

floc [Input]

The file to write to.

err [Input]

An error indicating the success or failure of the export. Set to FZRT_NOERR if everything succeeded.

Returns

FZRT_NOERR on success. An error otherwise.

Availability

5.0.0.0

Function Set

fz_ffmt_cbak_data_model_fset


Defined in

fz_ffmt_api.h