#include “BlackIceDEVMODE.h”
int GetStartApplicationParamCode(BlackIceDEVMODE* pBlackIceDevMode, int iParameterIndex);
Description
Returns the value of the parameter located in the . iParameterIndex position of the command line parameter list.
Parameters
BlackIceDEVMODE* pBlackIceDevMode
pointer to the BlackIceDEVMODE structure
int iParameterIndex
The index of the command line parameter. The highest index is MAX_APPLICATION_PARAMETERS (13)
Return value
The content of the requested command line parameter. It can be one of the following values:
typedef enum {
PARAMETER_NONE, // 0
PARAMETER_DOCUMENT_NAME, // 1
PARAMETER_GROUP_FILE_NAME, // 2
PARAMETER_PRINTER_NAME, // 3
PARAMETER_NUMBER_OF_PAGES, // 4
PARAMETER_MULTIPAGE, // 5
PARAMETER_ORIENTATION, // 6
PARAMETER_CUSTOM, // 7
PARAMETER_OUTPUT_FILENAME, // 8
PARAMETER_USER_NAME, // 9
PARAMETER_COMPUTER_NAME, // 10
PARAMETER_PRINTING_TIME, // 11
PARAMETER_FIRST_BATES_NUMBER, // 12
PARAMETER_LAST_BATES_NUMBER, // 13
PARAMETER_LAST
} PARAMETER_VALUES;
The above enum is defined in the devmode.h file.
Programming Notes
None
Code Example
None