formZ SDK | 5.0 API Reference | System | Runtime Library (FZRT) | File

# fzrt_file_set_signature

Description

Sets the file type and creator of a file (Macintosh) . This will set the Macintosh HFS file type and creator. It will not change the file extension.

Plugin Prototype

fzrt_error_td fzrt_file_set_signature(

fzrt_floc_ptr | floc,
fzrt_ostype | fdCreator,
fzrt_ostype | fdType )

Parameters

floc [Input]

file locator. Location of file

fdCreator [Input]

File creator, 4-character code

fdType [Input]

File type. 4-character code, e.g. 'TEXT'.

Returns

FZRT_NOERR on success, Otherwise, an error ID.

Availability

5.0.0.0

Function Set

fz_fzrt_file_fset

Defined in

fzrt_api.h