[Overview][Constants][Types][Procedures and functions][Variables][Index] |
Creates the specified file and returns its file handle.
Source position: lazfileutils.pas line 131
function FileCreateUTF8( |
const FileName: string |
):THandle; overload; |
const FileName: string; |
Rights: Cardinal |
):THandle; overload; |
const FileName: string; |
ShareMode: Integer; |
Rights: Cardinal |
):THandle; overload; |
FileName |
|
File name created in the function. |
File handle for the file created in the function.
FileName |
|
File name created in the function. |
Rights |
|
File access rights for the new file. |
FileName |
|
File name created in the function. |
ShareMode |
|
File sharing mode for the new file. |
Rights |
|
File access rights for the new file. |
FileCreateUTF8 is a THandle function used to created the file specified in the UTF-8-encoded FileName argument, and returns the file handle for the newly created file. Overloaded variants of the function are provided which allow additional arguments that specify the file sharing mode, or access rights for the newly created file.
FileCreateUTF8 calls UTF8ToSys to convert the file name to its system representation, and calls the FileCreate routine in the SysUtils unit to create the file and get its file handle.
Version 3.2 | Generated 2024-02-25 | Home |