ISInterface:SetRoot

From Lavish Software Wiki
Revision as of 23:01, 1 September 2005 by Beefalo (talk | contribs)
(diff) ←Older revision | view current revision (diff) | Newer revision→ (diff)
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