SetStartApplicationParamCode

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

Syntax                 RetVal = [BIAdvPrn.]SetStartApplicationParamCode  pBlackIceDevMode iParameterIndex iParameterCode

Returns               RetVal                    Boolean           TRUE if the member was successfully set, otherwise FALSE.

Remarks             pBlackIceDevMode BlackIceDEVMODE*  Pointer to the DEVMODE structure.

                            iParameterIndex                           The index of the command line parameter.

                            iParameterCode                            The content of the 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.

See Also