SetStartApplicationParamCode

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

 

SetStartApplicationParamCode(pBlackIceDevMode As Long, iParameterIndex As Long, iParameterCode As Long) As Boolean

 

Input value: pBlackIceDevMode

handle to the BlackIceDEVMODE structure.

 

Input value: iParameterIndex

The index of the command line parameter. The highest index is MAX_APPLICATION_PARAMETERS (13)

 

Input value: iParameterCode

the content of the command line parameter.

It can be one of the following values:

            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

 

Return value

TRUE if the member was successfully set, otherwise FALSE.

 

NOTE: For 32-bit applications , use pBlackIceDEVMODE as Integer, instead of Long.