GetStartApplicationParamCode

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

 

GetStartApplicationParamCode(pBlackIceDevMode As Long, iParameterIndex as Long)

 

Input value  pBlackIceDevMode

handle to the BlackIceDEVMODE structure

 

Input value: iParameterCode

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:

            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

 

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