ESR_CommandLine API functions


Detailed Description

ESR_Session interface functions.


Functions

ESR_SHARED_API
ESR_ReturnCode 
ESR_CommandLineGetValue (int argc, const LCHAR *argv[], LCHAR *key, LCHAR *value, size_t *len)


Function Documentation

ESR_SHARED_API ESR_ReturnCode ESR_CommandLineGetValue ( int  argc,
const LCHAR argv[],
LCHAR key,
LCHAR value,
size_t *  len 
)

Returns value of command-line argument.

Parameters:
argc Number of arguments
argv Value of arguments
key Name of command-line argument to look up
value [out] Value of the argument
len [in/out] Length of value argument. If the return code is ESR_BUFFER_OVERFLOW, the required length is returned in this variable.
Returns:
ESR_BUFFER_OVERFLOW if value buffer is not large enough to contain result; ESR_NO_MATCH_ERROR if the specified command-line option could not be fonud


Generated on Thu May 1 15:37:26 2008 for SREC by  doxygen 1.5.3