ISInterface:SetRoot

From Lavish Software Wiki
Jump to navigation Jump to search

Syntax

  • char *SetRoot(char *Filename, char *Dest)

Purpose

Sets Filename into an absolute path with the Current Working Directory.

Usage

Parameters

  • char *Filename
[in] Name of file or path to set as an absolute path
  • char *Dest
[out] Pointer to the buffer to populate with the absolute path

Return Value

  • char *
returns same as Dest

Examples

Example code
char FullPath[512];
pISInterface->SetRoot("scripts\\test.iss",FullPath);
printf("Absolute Path: %s",FullPath);

See Also