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

fzrt_file_floc_get_fullpath

Description

Gets the full-path string of file locator. The full-path is the folder containing the file with the filename. If the locator is a folder locator, the full-path contains the folder name. There is no difference between fzrt_file_floc_get_fullpath, and fzrt_file_floc_get_pathname for folder locators.

Plugin Prototype

fzrt_error_td fzrt_file_floc_get_fullpath(

fzrt_floc_ptr

floc,

char *

path_str,

fzrt_int

maxlen )

Parameters

floc [Input]

file locator created with fzrt_file_floc_init.

path_str [Result]

pointer to buffer that receives full path. Must be allocated by the caller

maxlen [Input]

size of the path_str buffer

Returns

FZRT_NOERR is successful, error number otherwise

Availability

5.0.0.0

See Also

fzrt_file_floc_init

Function Set

fz_fzrt_file_fset


Defined in

fzrt_api.h