formZ SDK | 5.0 API Reference | System | Runtime Library (FZRT) | File
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(
floc, | |
fdCreator, | |
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
Defined in