|
MF_API int MFCommandLine_GetInt |
( |
const char * |
pParameter, |
|
|
int |
defaultValue = 0 |
|
) |
| |
Gets a int argument from the command line.
- Parameters
-
pParameter | Name of the parameter to fetch from the command line. |
defaultValue | Default value to use if parameter does not appear on the command line. |
- Returns
- The value of the parameter on the command line as an int. If the parameter does not exist, defaultValue is returned.
|