formZ SDK | 5.0 API Reference | Project | File Formats

# fz_file_set_attributes

Description

Sets a file's Macintosh signature. This function sets the Macintosh file type and creator to the file type and creator set by . On Windows, This function does nothing, however it should still be called so the translator will work on both platforms.

Plugin Prototype

fzrt_error_td fz_file_set_attributes(

fz_ffmt_ref_td | ffmt_id,
short | is_text,
fzrt_floc_ptr | floc )

Parameters

ffmt_id [Input]

The file format reference id.

is_text [Input]

If this is TRUE, the file type will be set to TEXT. This will override The file type set in . If FALSE, the file type will be set to the type set in .

floc [Input]

The file.

Returns

FZRT_NOERR on success. An error otherwise.

Availability

5.0.0.0

Function Set

fz_ffmt_fset

Defined in

fz_ffmt_api.h