beautypg.com

Setloglevel method, Setvalue method – MagTek Excella API OCX99875557 User Manual

Page 21

background image

17

SETLOGLEVEL METHOD
Sets the desired level of logging details.


Syntax

Result =MTEXCELLAAPI1. SetLogLevel (ByVal lpLevel As Long)

Part

Description

lpLevel

This value specifies the type of logging details. The value is composed of one or more of the
following:

DBGLOG_DLL_INTERNAL

= 0x0001

DBGLOG_DLL_EXTERNAL

= 0x0002

DBGLOG_DLL_XMLDATA

= 0x0004

DBGLOG_DLL_IMAGEDATA

= 0x0010



SETVALUE METHOD
Adds a key/value pair to the given device settings.


Syntax

Result =MTEXCELLAAPI1.SetValue (ByRef lpszOptions As String, ByVal lpszSection As String,
ByVal lpszKey As String, ByRef lpszValue As String, ByRef lplBufferSize As Long
) as Long

Part

Description

lpszOptions

A string that specifies all the key/value pairs.

lpszSection

A string containing the section name.

lpszKey

A string containing the key name.

lpszValue

A string containing the key value to be set.

lplBufferSize

The size of the value buffer.

Data Type

Long