< prev index next >
src/jdk.jpackage/windows/native/libjpackage/SysInfo.h
Print this page
*** 59,72 ****
ExcludeProgramName
};
/**
* Retrieves the command-line arguments for the current process.
* With IncludeProgramName option returns result similar to argv/argc.
! * With ExcludeProgramName option program name (the 1st element of command line)
* is excluded.
*/
! tstring_array getCommandArgs(CommandArgProgramNameMode progNameMode = ExcludeProgramName);
/**
* Returns value of environment variable with the given name.
* Throws exception if variable is not set or any other error occurred
* reading the value.
--- 59,74 ----
ExcludeProgramName
};
/**
* Retrieves the command-line arguments for the current process.
* With IncludeProgramName option returns result similar to argv/argc.
! * With ExcludeProgramName option program name
! * (the 1st element of command line)
* is excluded.
*/
! tstring_array getCommandArgs(
! CommandArgProgramNameMode progNameMode = ExcludeProgramName);
/**
* Returns value of environment variable with the given name.
* Throws exception if variable is not set or any other error occurred
* reading the value.
< prev index next >