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

# fzrt_file_new_folder

Description

Creates a new folder. The file locator of the new folder is returned. If the folder already exists this function returns the file locator of the exiting folder.

Plugin Prototype

fzrt_error_td fzrt_file_new_folder(

fzrt_floc_ptr | floc,
const char * | folder_name,
fzrt_floc_ptr | new_floc )

Parameters

floc [Input]

parent file locator. Location of new folder

folder_name [Input]

Name of new folder as a C string

new_floc [Result]

file locator of new folder. Must be initialized by 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