Skip to content

OnGetTempDir

Handler for GetTempDir function.

Declaration

Source position: osutilsh.inc line 69

var
  OnGetTempDir: TGetTempDirEvent = function(Global: Boolean) : string;

Description

OnGetTempDir can be used to provide custom behaviour for the GetTempDir function. Note that the returned name should have a trailing directory delimiter character.

See also

Name Description
GetTempDir Return name of system's temporary directory.
OnGetTempFile Handler for GetTempFileName function.