GetStartApplicationParamCode

#include “BIADVPRN.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 DEVMODE structure.

int

iParameterCode

The index of the command line parameter.

Return values

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.

Requirements

Header :     Declared in BiAdvPrn.h; include BiAdvPrn.h.

Library :    Use BiAdvPrn.lib.

DLLs :       BiAdvPrn.dll.