SetStartApplicationParamCode

#include “BIADVPRN.H”

 

BOOL  SetStartApplicationParamCode( BlackIceDEVMODE*     pBlackIceDevMode,
int         iParameterIndex,
int         iParameterCode);

Description

Sets 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

iParameterIndex

The index of the command line parameter.

int

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.

Return values

TRUE if the member was successfully set, otherwise FALSE.

Requirements

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

Library :    Use BiAdvPrn.lib.

DLLs :       BiAdvPrn.dll.