GetStartApplicationParamCode

Description         Returns the value of the parameter located in the . iParameterIndex position of the command line parameter list.

Syntax                 RetVal = [BIAdvPrn.]GetStartApplicationParamCode  pBlackIceDevMode iParameterIndex

Returns               RetVal                    Integer             The content of the requested command line parameter. It can be one of the following values:

typedef enum {

     PARAMETER_NONE,

            PARAMETER_DOCUMENT_NAME,

     PARAMETER_GROUP_FILE_NAME,

     PARAMETER_PRINTER_NAME,

            PARAMETER_NUMBER_OF_PAGES,

     PARAMETER_MULTIPAGE,

     PARAMETER_ORIENTATION,

     PARAMETER_LAST

} PARAMETER_VALUES;

The above enum is defined in the devmode.h file.

Remarks             pBlackIceDevMode BlackIceDEVMODE*  Pointer to the DEVMODE structure.

                            iParameterCode    Integer             The index of the command line parameter.

See Also