Difference between revisions of "ISInterface:SetRoot"
Jump to navigation
Jump to search
Line 15: | Line 15: | ||
;Example code | ;Example code | ||
char FullPath[512]; | char FullPath[512]; | ||
− | SetRoot("scripts\\test.iss",FullPath); | + | pISInterface->SetRoot("scripts\\test.iss",FullPath); |
printf("Absolute Path: %s",FullPath); | printf("Absolute Path: %s",FullPath); | ||
Latest revision as of 23:01, 1 September 2005
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);