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

# fzrt_file_get_scratch_floc

Description

Gets file locator for the specified temporary folder. This will create a folder with the specified name, if it does already exist, in the temporary folder, and return the file locator of the created folder.

Plugin Prototype

fzrt_error_td fzrt_file_get_scratch_floc(

fzrt_floc_ptr | floc,
char * | scratch_name )

Parameters

floc [Result]

scratch file locator. Must be initialized by caller

scratch_name [Input]

scratch folder name. Must be allocated by the caller

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