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

# fzrt_file_get_signature

Description

Gets the file Macintosh file type and creator of a file. On Windows, this will always return a file type of 'TEXT' and the creator is left unassigned.

Plugin Prototype

fzrt_error_td fzrt_file_get_signature(

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

Parameters

floc [Input]

file locator. Location of file

fdCreator [Result]

File creator, 4-character code

fdType [Result]

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