

/* this ALWAYS GENERATED file contains the definitions for the interfaces */


 /* File created by MIDL compiler version 8.01.0628 */
/* at Tue Jan 19 04:14:07 2038
 */
/* Compiler settings for lkfkdoc.idl:
    Oicf, W1, Zp8, env=Win64 (32b run), target_arch=AMD64 8.01.0628 
    protocol : all , ms_ext, c_ext, robust
    error checks: allocation ref bounds_check enum stub_data 
    VC __declspec() decoration level: 
         __declspec(uuid()), __declspec(selectany), __declspec(novtable)
         DECLSPEC_UUID(), MIDL_INTERFACE()
*/
/* @@MIDL_FILE_HEADING(  ) */



/* verify that the <rpcndr.h> version is high enough to compile this file*/
#ifndef __REQUIRED_RPCNDR_H_VERSION__
#define __REQUIRED_RPCNDR_H_VERSION__ 500
#endif

#include "rpc.h"
#include "rpcndr.h"

#ifndef __RPCNDR_H_VERSION__
#error this stub requires an updated version of <rpcndr.h>
#endif /* __RPCNDR_H_VERSION__ */

#ifndef COM_NO_WINDOWS_H
#include "windows.h"
#include "ole2.h"
#endif /*COM_NO_WINDOWS_H*/

#ifndef __lkfkdoc_h__
#define __lkfkdoc_h__

#if defined(_MSC_VER) && (_MSC_VER >= 1020)
#pragma once
#endif

#ifndef DECLSPEC_XFGVIRT
#if defined(_CONTROL_FLOW_GUARD_XFG)
#define DECLSPEC_XFGVIRT(base, func) __declspec(xfg_virtual(base, func))
#else
#define DECLSPEC_XFGVIRT(base, func)
#endif
#endif

/* Forward Declarations */ 

#ifndef __Ilkf5_FWD_DEFINED__
#define __Ilkf5_FWD_DEFINED__
typedef interface Ilkf5 Ilkf5;

#endif 	/* __Ilkf5_FWD_DEFINED__ */


#ifndef __Ilkf5glob_FWD_DEFINED__
#define __Ilkf5glob_FWD_DEFINED__
typedef interface Ilkf5glob Ilkf5glob;

#endif 	/* __Ilkf5glob_FWD_DEFINED__ */


#ifndef __lkf5_FWD_DEFINED__
#define __lkf5_FWD_DEFINED__

#ifdef __cplusplus
typedef class lkf5 lkf5;
#else
typedef struct lkf5 lkf5;
#endif /* __cplusplus */

#endif 	/* __lkf5_FWD_DEFINED__ */


#ifndef __lkf5glob_FWD_DEFINED__
#define __lkf5glob_FWD_DEFINED__

#ifdef __cplusplus
typedef class lkf5glob lkf5glob;
#else
typedef struct lkf5glob lkf5glob;
#endif /* __cplusplus */

#endif 	/* __lkf5glob_FWD_DEFINED__ */


/* header files for imported files */
#include "oaidl.h"
#include "ocidl.h"

#ifdef __cplusplus
extern "C"{
#endif 


#ifndef __Ilkf5_INTERFACE_DEFINED__
#define __Ilkf5_INTERFACE_DEFINED__

/* interface Ilkf5 */
/* [unique][helpstring][dual][uuid][object] */ 


EXTERN_C const IID IID_Ilkf5;

#if defined(__cplusplus) && !defined(CINTERFACE)
    
    MIDL_INTERFACE("0D37D793-C76D-11D4-9DD6-0150DA37BC28")
    Ilkf5 : public IDispatch
    {
    public:
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_alloc_context( 
            long modelljahr,
            BSTR path,
            /* [out] */ BSTR *error,
            /* [retval][out] */ long *context) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_insert_aufenthalt( 
            long aufenthalt,
            /* [retval][out] */ long *index) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_add_line( 
            BSTR line,
            /* [retval][out] */ long *returncode) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_read_inputfile( 
            BSTR inputfile,
            /* [out] */ BSTR *error,
            /* [retval][out] */ long *returncode) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_set_contextparameters( 
            long cmb_jahr,
            long period_val,
            long lfdnr,
            long type,
            long flags) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_get_context_scorvalue( 
            long kanr,
            long fieldnumber,
            /* [retval][out] */ double *value) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_context_GetErrorAnz( 
            long kanr,
            /* [out] */ long *accepted,
            /* [retval][out] */ long *erroranz) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_context_GetWarningAnz( 
            long kanr,
            /* [out] */ long *accepted,
            /* [retval][out] */ long *warninganz) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_read_flat_inputfile( 
            BSTR inputfile,
            /* [out] */ BSTR *error,
            /* [retval][out] */ long *returncode) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_plaus( 
            long aufenthalt,
            /* [retval][out] */ long *returncode) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_plaus_GetErrorAnz( 
            long aufenthalt,
            /* [out] */ long *accepted,
            /* [retval][out] */ long *returncode) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_plaus_GetWarningAnz( 
            long aufenthalt,
            /* [out] */ long *accepted,
            /* [retval][out] */ long *warninganz) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_plaus_ErrorCode2Text( 
            long nr,
            /* [retval][out] */ BSTR *text) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_plaus_WarningCode2Massnahme( 
            long nr,
            /* [retval][out] */ long *massnahme) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_plaus_WarningCode2Text( 
            long nr,
            /* [retval][out] */ BSTR *text) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_scoring( 
            long aufenthalt,
            /* [retval][out] */ long *returncode) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_alloc_aufenthalt( 
            /* [retval][out] */ long *aufenthalt) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_free_aufenthalt( 
            long aufenthalt) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_reset_aufenthalt( 
            long aufenthalt) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_add_abt( 
            long aufenthalt,
            BSTR abtfc,
            BSTR abtdat,
            BSTR abtpos,
            /* [retval][out] */ long *index) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_add_diag( 
            long aufenthalt,
            BSTR diag,
            BSTR diagtype,
            /* [retval][out] */ long *returncode) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_add_mel( 
            long aufenthalt,
            BSTR mel,
            BSTR melanz,
            /* [retval][out] */ long *index) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_add_akwarn( 
            long aufenthalt,
            BSTR tcode,
            BSTR value,
            BSTR komm,
            /* [retval][out] */ long *index) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_add_komm( 
            long aufenthalt,
            BSTR komm,
            /* [retval][out] */ long *index) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_add_line_auf( 
            long aufenthalt,
            BSTR line,
            /* [retval][out] */ long *ret) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_auf_firsterror( 
            long aufenthalt,
            /* [retval][out] */ long *firsterror) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_auf_nexterror( 
            long error,
            /* [retval][out] */ long *nexterror) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_auf_firstwarning( 
            long aufenthalt,
            /* [retval][out] */ long *firstwarning) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_auf_nextwarning( 
            long warn,
            /* [retval][out] */ long *nextwarning) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_auf_geterrorcode( 
            long error,
            /* [out] */ long *index,
            /* [retval][out] */ long *code) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_auf_getwarningcode( 
            long warn,
            /* [out] */ long *index,
            /* [retval][out] */ long *code) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_auf_get_maxsubgruppe( 
            long aufenthalt,
            /* [retval][out] */ long *subgruppe) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_auf_get_subgruppenanz( 
            long aufenthalt,
            /* [retval][out] */ long *anz) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_auf_get_scorvalue( 
            long aufenthalt,
            long field,
            /* [retval][out] */ long *scorvalue) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_auf_get_gruppe( 
            long aufenthalt,
            /* [out] */ BSTR *knoten,
            /* [retval][out] */ BSTR *gruppe) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_auf_get_subgruppe_gruppe( 
            long aufenthalt,
            long index,
            /* [out] */ BSTR *knoten,
            /* [retval][out] */ BSTR *gruppe) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_auf_get_subgruppe_scorvalue( 
            long aufenthalt,
            long index,
            long field,
            /* [retval][out] */ long *scorvalue) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_compose_filename( 
            BSTR ka,
            BSTR type,
            /* [retval][out] */ BSTR *filename) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_write_file( 
            BSTR filename,
            long kanr,
            long flags,
            /* [out] */ BSTR *error,
            /* [retval][out] */ long *returncode) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_write_errorfile( 
            BSTR filename,
            long kanr,
            long flags,
            BSTR inputfile,
            BSTR outputfile,
            /* [out] */ BSTR *error,
            /* [retval][out] */ long *returncode) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_get_aufenthalt_anz( 
            /* [retval][out] */ long *anz) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_get_aufenthalt( 
            long index,
            /* [retval][out] */ long *aufenthalt) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_reset_aufenthalte( void) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_get_context_ka_anz( 
            /* [retval][out] */ long *anz) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_get_context_ka( 
            long i,
            /* [out] */ long *aufanz,
            /* [retval][out] */ BSTR *kanr) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_auf_reset_abt( 
            long aufenthalt) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_auf_reset_mel( 
            long aufenthalt) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_auf_reset_diag( 
            long aufenthalt) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_plaus_GetErrorText4( 
            long aufenthalt,
            long error,
            /* [out] */ BSTR *text,
            /* [out] */ BSTR *field,
            /* [retval][out] */ long *returncode) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_plaus_GetWarningText4( 
            long aufenthalt,
            long error,
            /* [out] */ BSTR *text,
            /* [out] */ BSTR *field,
            /* [retval][out] */ long *returncode) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_plaus_GetErrorText( 
            long aufenthalt,
            long error,
            /* [retval][out] */ BSTR *text) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_plaus_GetWarningText( 
            long aufenthalt,
            long error,
            /* [retval][out] */ BSTR *text) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_auf_get_gruppe_mel( 
            long aufenthalt,
            /* [retval][out] */ BSTR *mel) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_auf_get_subgruppe_mel( 
            long aufenthalt,
            long index,
            /* [retval][out] */ BSTR *mel) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_auf_line_root( 
            long aufenthalt,
            /* [retval][out] */ BSTR *rootline) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_auf_get_abtanz( 
            long aufenthalt,
            /* [retval][out] */ long *anzahl) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_auf_get_melanz( 
            long aufenthalt,
            /* [retval][out] */ long *anzahl) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_auf_get_diaganz( 
            long aufenthalt,
            /* [retval][out] */ long *anzahl) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_auf_get_kostanz( 
            long aufenthalt,
            /* [retval][out] */ long *anzahl) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_auf_get_akwarnanz( 
            long aufenthalt,
            /* [retval][out] */ long *anzahl) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_auf_get_kommentaranz( 
            long aufenthalt,
            /* [retval][out] */ long *anzahl) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_auf_line_abt( 
            long aufenthalt,
            long i,
            /* [retval][out] */ BSTR *line) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_auf_line_diag( 
            long aufenthalt,
            long i,
            /* [retval][out] */ BSTR *line) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_auf_line_kost( 
            long aufenthalt,
            long i,
            /* [retval][out] */ BSTR *line) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_auf_line_akwarn( 
            long aufenthalt,
            long i,
            /* [retval][out] */ BSTR *line) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_auf_line_kommentar( 
            long aufenthalt,
            long i,
            /* [retval][out] */ BSTR *line) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_auf_line_mel( 
            long aufenthalt,
            long i,
            /* [retval][out] */ BSTR *line) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_auf_line_scoring( 
            long aufenthalt,
            /* [retval][out] */ BSTR *line) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_auf_get_mel( 
            long aufenthalt,
            long index,
            /* [out] */ BSTR *mel,
            /* [out] */ BSTR *melanz,
            /* [retval][out] */ long *returncode) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_auf_get_abt( 
            long aufenthalt,
            long index,
            /* [out] */ BSTR *abtfc,
            /* [out] */ BSTR *abtdat,
            /* [out] */ BSTR *abtpos,
            /* [retval][out] */ long *returncode) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_auf_get_diag( 
            long aufenthalt,
            long index,
            /* [out] */ BSTR *diag,
            /* [out] */ BSTR *diagtype,
            /* [retval][out] */ long *returncode) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_copy_aufenthalt( 
            long aufenthalt,
            /* [retval][out] */ long *neuer_aufenthalt) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_auf_getlineanz( 
            long aufenthalt,
            /* [retval][out] */ long *lineanz) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_auf_getline( 
            long aufenthalt,
            long index,
            /* [retval][out] */ BSTR *line) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_set_modelljahr( 
            long modelljahr,
            BSTR input_path,
            /* [out] */ BSTR *errorstring,
            /* [retval][out] */ long *returncode) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_auf_get_field( 
            long aufenthalt,
            long fieldnum,
            /* [retval][out] */ BSTR *fieldvalue) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_auf_line_svnr( 
            long aufenthalt,
            /* [retval][out] */ BSTR *line) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_reset_ka( 
            /* [retval][out] */ long *returncode) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_add_ka_stats( 
            long aufenthalt,
            long modus,
            /* [retval][out] */ long *returncode) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_get_context_ka_abtanz( 
            long ka,
            /* [retval][out] */ long *returncode) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_get_context_ka_abtstat( 
            long ka,
            long abtnr,
            /* [out] */ long *anz,
            /* [out] */ long *bd,
            /* [out] */ long *err,
            /* [retval][out] */ BSTR *abtfc) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_get_context_ka_optimized( 
            long ka,
            /* [out] */ long *anz,
            /* [out] */ long *opt,
            /* [out] */ double *maxpkt,
            /* [out] */ double *actpkt,
            /* [retval][out] */ double *percentage) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_auf_is_optimizable( 
            long aufenthalt,
            /* [retval][out] */ long *erg) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_auf_get_opt_subgruppe( 
            long aufenthalt,
            /* [retval][out] */ long *gruppe) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_auf_get_opt_percentage( 
            long aufenthalt,
            /* [retval][out] */ double *percentage) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_add_kost( 
            long aufenthalt,
            BSTR kost,
            /* [retval][out] */ long *returncode) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_get_errorcode_minmax( 
            /* [out] */ long *pmin,
            /* [out] */ long *pmax) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_get_warningcode_minmax( 
            /* [out] */ long *pmin,
            /* [out] */ long *pmax) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_context_errorcode_count( 
            long ka,
            long code,
            /* [retval][out] */ long *count) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_context_warningcode_count( 
            long ka,
            long code,
            /* [retval][out] */ long *count) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_add_mel2( 
            long aufenthalt,
            BSTR mel,
            BSTR melanz,
            BSTR meldat,
            /* [retval][out] */ long *ret) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_auf_get_abtbd( 
            long aufenthalt,
            long index,
            /* [out] */ long *abtbd,
            /* [retval][out] */ long *returncode) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_auf_get_subgruppe_diag( 
            long aufenthalt,
            long index,
            /* [retval][out] */ BSTR *diag) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_add_diag2( 
            long aufenthalt,
            BSTR diag,
            BSTR diagtype,
            BSTR diagpos,
            /* [retval][out] */ long *returncode) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_auf_get_mel2( 
            long aufenthalt,
            long index,
            /* [out] */ BSTR *mel,
            /* [out] */ BSTR *melanz,
            /* [out] */ BSTR *meldat,
            /* [retval][out] */ long *returncode) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_auf_get_diag2( 
            long aufenthalt,
            long index,
            /* [out] */ BSTR *diag,
            /* [out] */ BSTR *diagtype,
            /* [out] */ BSTR *diagpos,
            /* [retval][out] */ long *returncode) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_auf_get_min_subgruppe( 
            long aufenthalt,
            /* [retval][out] */ long *gruppe) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_add_mel3( 
            long aufenthalt,
            BSTR mel,
            BSTR melanz,
            BSTR meldat,
            BSTR melpos,
            /* [retval][out] */ long *ret) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_auf_get_mel3( 
            long aufenthalt,
            long index,
            /* [out] */ BSTR *mel,
            /* [out] */ BSTR *melanz,
            /* [out] */ BSTR *meldat,
            /* [out] */ BSTR *melpos,
            /* [retval][out] */ long *returncode) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_context_GetMeldeDiagAnz( 
            long kanr,
            /* [retval][out] */ long *meldediagcount) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_plaus_meldediag_typ( 
            long nr,
            /* [retval][out] */ BSTR *typ) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_plaus_meldediag_text( 
            long nr,
            /* [retval][out] */ BSTR *text) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_auf_firstmeldediag( 
            long aufenthalt,
            /* [retval][out] */ long *meldediag) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_auf_nextmeldediag( 
            long meldediag,
            /* [retval][out] */ long *nextmeldediag) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_auf_getmeldediag( 
            long meldediag,
            /* [out] */ long *index,
            /* [retval][out] */ long *code) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_plaus_GetMeldeDiagAnz( 
            long aufenthalt,
            /* [retval][out] */ long *count) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_write_meldediagfile( 
            BSTR filename,
            long kanr,
            /* [out] */ BSTR *error,
            /* [retval][out] */ long *returncode) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_set_npplaus_tracefilename( 
            BSTR outputfilename) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_auf_getintlineanz( 
            LONG aufenthalt,
            /* [retval][out] */ LONG *count) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_auf_getintline( 
            LONG aufenthalt,
            LONG index,
            /* [retval][out] */ BSTR *line) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_getaddline( 
            LONG index,
            /* [retval][out] */ BSTR *line) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_check( 
            LONG modus,
            /* [retval][out] */ LONG *returncode) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_getSatzartErrorCount( 
            /* [retval][out] */ LONG *count) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_getSatzartError( 
            LONG index,
            /* [retval][out] */ BSTR *line) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_getSatzartErrorHeadline( 
            /* [in] */ LONG Facility,
            /* [retval][out] */ BSTR *line) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_set_compatibilitymode( 
            LONG compatibility) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_setErrorFormat( 
            LONG Facility,
            VARIANT FieldNums,
            /* [retval][out] */ LONG *ReturnCode) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_setErrorFilter( 
            LONG Filter,
            /* [retval][out] */ LONG *ErrorCount) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_int_scoring( 
            /* [retval][out] */ LONG *ReturnCode) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_setIntAbtData( 
            BSTR ABTFC,
            LONG BettenAnzahl,
            /* [retval][out] */ LONG *ReturnCode) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_getaddlineanz( 
            /* [retval][out] */ LONG *Count) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_int_getAbtAnz( 
            /* [retval][out] */ LONG *AbtAnz) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_int_getAnalyseHeadline( 
            /* [retval][out] */ BSTR *Line) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_int_getAnalyseData( 
            LONG AbtNr,
            LONG Monat,
            /* [retval][out] */ BSTR *Line) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_int_getAbtHeadline( 
            /* [retval][out] */ BSTR *Line) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_int_getAbtData( 
            LONG AbtNr,
            /* [retval][out] */ BSTR *Line) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_int_getIntAufenthaltCount( 
            /* [retval][out] */ LONG *Count) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_int_getIntAufenthaltTISSCount( 
            LONG AufNr,
            /* [retval][out] */ LONG *Count) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_int_getIntAufenthaltDetailsHeadline( 
            /* [retval][out] */ BSTR *Line) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_int_getIntAufenthaltDetails( 
            LONG AufNr,
            /* [retval][out] */ BSTR *Line) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_int_getIntAufenthaltTRISSCount( 
            LONG lIntAuf,
            /* [retval][out] */ LONG *Count) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_int_getIntAufenthaltSAPSCount( 
            LONG lIntAuf,
            /* [retval][out] */ LONG *Count) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_int_getIntAufenthaltDetailsLine( 
            LONG lIntAuf,
            LONG lSatzartNr,
            LONG lNr,
            /* [retval][out] */ BSTR *Line) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_int_getIntAufenthaltDetailsField( 
            LONG lIntAuf,
            LONG lSatzartNr,
            LONG lNr,
            LONG lFieldNr,
            /* [retval][out] */ BSTR *Value) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_context_scoring( 
            LONG AufenthaltCount,
            /* [retval][out] */ LONG *returncode) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_setIntAbtDataIndex( 
            LONG AbtIndex,
            LONG Bettenanzahl,
            /* [retval][out] */ LONG *ReturnCode) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_int_getAbtFC( 
            LONG AbtIndex,
            /* [retval][out] */ BSTR *ABTFC) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_set_abrechnungsjahr( 
            LONG Abrechnungsjahr) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_set_contextflags( 
            LONG Flags) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_int_setintcontextparameters( 
            /* [in] */ BSTR VonDatum,
            /* [in] */ BSTR BisDatum,
            /* [in] */ LONG Flags,
            /* [in] */ LONG MaxStunden,
            /* [retval][out] */ LONG *Result) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_int_getIntAufenthaltSAPSField( 
            LONG AufNr,
            LONG SAPSNr,
            LONG FieldNr,
            /* [retval][out] */ BSTR *Field) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_int_getIntAufenthaltTISSField( 
            LONG AufNr,
            LONG TISSNr,
            LONG FieldNr,
            /* [retval][out] */ BSTR *Field) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_int_getIntAufenthaltTRISSField( 
            LONG AufNr,
            LONG TRISSNr,
            LONG FieldNr,
            /* [retval][out] */ BSTR *Field) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_int_getIntAufenthaltSAPSDetails( 
            LONG AufNr,
            LONG SAPSNr,
            /* [retval][out] */ BSTR *Line) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_int_getIntAufenthaltTISSDetails( 
            LONG AufNr,
            LONG TISSNr,
            /* [retval][out] */ BSTR *Line) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_int_getIntAufenthaltTRISSDetails( 
            LONG AufNr,
            LONG TRISSNr,
            /* [retval][out] */ BSTR *Line) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_stat( 
            LONG Flags,
            /* [retval][out] */ LONG *Result) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_stat_getLineCount( 
            LONG StatType,
            /* [retval][out] */ LONG *LineCount) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_stat_getHeadline( 
            LONG StatType,
            /* [retval][out] */ BSTR *Line) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_stat_getLine( 
            LONG StatType,
            LONG LineNr,
            /* [retval][out] */ BSTR *Line) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_stat_getFieldByPosition( 
            LONG StatType,
            LONG LineNr,
            LONG FieldPos,
            /* [retval][out] */ BSTR *FieldValue) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_stat_getField( 
            LONG StatType,
            LONG LineNr,
            LONG FieldId,
            /* [retval][out] */ BSTR *FieldValue) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_stat_getFieldCount( 
            LONG StatType,
            /* [retval][out] */ LONG *ColumnCount) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_stat_getFieldHeadlineByPosition( 
            LONG StatType,
            LONG FieldPosition,
            /* [retval][out] */ BSTR *Headline) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_stat_getFieldHeadline( 
            LONG StatType,
            LONG FieldId,
            /* [retval][out] */ BSTR *Headline) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_stat_getLineByLineInfo( 
            LONG StatType,
            BSTR Info,
            /* [retval][out] */ LONG *LineNr) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_getSatzartErrorFieldHeadline( 
            LONG FieldNumber,
            /* [retval][out] */ BSTR *FieldHeadline) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_getSatzartErrorField( 
            LONG ErrorIndex,
            LONG FieldNumber,
            /* [retval][out] */ BSTR *FieldValue) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_getSatzartErrorSum_Count( 
            /* [retval][out] */ LONG *Count) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_getSatzartErrorSum_CodeToId( 
            BSTR ErrorCode,
            /* [retval][out] */ LONG *ErrorId) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_getSatzartErrorSum_Field( 
            LONG ErrorId,
            LONG FieldNr,
            /* [retval][out] */ BSTR *ErrorText) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_context_getAllErrorCount( 
            /* [retval][out] */ LONG *Count) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_context_getAllErrorInfo_CodeToId( 
            BSTR ErrorCode,
            /* [retval][out] */ LONG *ErrorId) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_context_getAllErrorInfo( 
            LONG ErrorId,
            LONG FieldNr,
            /* [retval][out] */ BSTR *ErrorText) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_convertMBDSErrorCode( 
            LONG OldCode,
            /* [retval][out] */ BSTR *NewCode) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_convertMBDSWarningCode( 
            LONG OldCode,
            /* [retval][out] */ BSTR *NewCode) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_npplaus_getProtokollHeadline( 
            /* [retval][out] */ BSTR *Line) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_npplaus_getWarningLineCount( 
            /* [retval][out] */ LONG *Count) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_npplaus_getProtokollLineCount( 
            /* [retval][out] */ LONG *Count) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_npplaus_getWarningLine( 
            LONG LineNr,
            /* [retval][out] */ BSTR *Line) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_npplaus_getProtokollLine( 
            LONG LineNr,
            /* [retval][out] */ BSTR *Line) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_npplaus_sum_headline( 
            /* [retval][out] */ BSTR *Line) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_npplaus_sum_abtcount( 
            /* [retval][out] */ LONG *AbtCount) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_npplaus_sum_abtline( 
            LONG AbtIndex,
            /* [retval][out] */ BSTR *Line) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_npplaus_getReasonCount( 
            LONG WarningNr,
            /* [retval][out] */ LONG *ReasonCount) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_npplaus_getReasonLine( 
            LONG WarningNr,
            LONG ReasonNr,
            /* [retval][out] */ BSTR *Line) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_npplaus_getInfoLine( 
            LONG WarningNr,
            /* [retval][out] */ BSTR *Line) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_npplaus_tfsum_headline( 
            /* [retval][out] */ BSTR *Headline) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_npplaus_critsum_headline( 
            /* [retval][out] */ BSTR *Headline) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_npplaus_tfsum( 
            LONG AbtIndex,
            /* [retval][out] */ BSTR *Line) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_npplaus_critsum( 
            LONG AbtIndex,
            /* [retval][out] */ BSTR *Line) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_auf_getErrorLine( 
            LONG Aufenthalt,
            LONG Err,
            /* [retval][out] */ BSTR *ErrorLine) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_auf_getWarningLine( 
            LONG Aufenthalt,
            LONG warn,
            /* [retval][out] */ BSTR *WarningLine) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_trace_setLevel( 
            LONG Facility,
            LONG TraceLevel) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_trace_getLineCount( 
            /* [retval][out] */ LONG *LineCount) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_trace_getLine( 
            LONG LineNr,
            /* [retval][out] */ BSTR *Line) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_trace_getLevel( 
            LONG Facility,
            /* [retval][out] */ LONG *DebugLevel) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_trace_getAufenthalt( 
            /* [retval][out] */ BSTR *Aufenthaltszahl) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_set_debug_trace( void) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_trace_setAufenthalt( 
            BSTR Aufenthaltszahl) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_context_get_errortext( 
            /* [retval][out] */ BSTR *Error) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_auf_line_akwarn2( 
            long aufenthalt,
            long i,
            /* [out] */ LONG *HitCount,
            /* [retval][out] */ BSTR *line) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_context_GetHinweisAnz( 
            long kanr,
            /* [out] */ long *accepted,
            /* [retval][out] */ long *erroranz) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_auf_firstinfo( 
            long aufenthalt,
            /* [retval][out] */ long *firstinfo) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_auf_nextinfo( 
            long info,
            /* [retval][out] */ long *nextinfo) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_auf_getInfoLine( 
            LONG Aufenthalt,
            LONG info,
            /* [retval][out] */ BSTR *InfoLine) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_plaus_GetInfoAnz( 
            long aufenthalt,
            /* [out] */ long *accepted,
            /* [retval][out] */ long *warninganz) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_context_GetGlobalInfo( 
            long type,
            /* [retval][out] */ long *info) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_auf_get_abtfield( 
            long aufenthalt,
            long index,
            long fieldindex,
            /* [retval][out] */ BSTR *fieldvalue) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_reset_aufenthalt_package( void) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_context_plaus( 
            LONG AufenthaltCount,
            /* [retval][out] */ LONG *returncode) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_context_plaus_package( 
            LONG IsFirstPackage,
            /* [retval][out] */ LONG *returncode) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_context_read_dat( 
            BSTR fileName,
            /* [retval][out] */ LONG *numberOfLines) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_context_dat_line( 
            LONG lineIndex,
            /* [retval][out] */ BSTR *line) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_context_free_dat( void) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_context_getSatzartErrorAnz( 
            LONG flags,
            /* [retval][out] */ LONG *numberOfErrors) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_auf_get_abtscor100( 
            long Aufenthalt,
            long abtIndex,
            /* [out] */ BSTR *abtpos,
            /* [out] */ long *tp100,
            /* [out] */ long *lp100,
            /* [retval][out] */ long *p100) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_auf_get_abtscor( 
            long Aufenthalt,
            long abtIndex,
            /* [out] */ BSTR *abtpos,
            /* [out] */ double *tp,
            /* [out] */ double *lp,
            /* [retval][out] */ double *p) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_stat_package( 
            /* [retval][out] */ long *ret) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_check_nombds( 
            /* [retval][out] */ long *ret) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_setErrorCountsFilter( 
            LONG Filter,
            /* [retval][out] */ LONG *ErrorCount) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_get_amb_counter( 
            long counterIndex,
            /* [retval][out] */ long *value) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_auf_get_melIndexForPos( 
            long Aufenthalt,
            BSTR melpos,
            /* [retval][out] */ long *value) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_auf_get_mel_field( 
            long Aufenthalt,
            long melIndex,
            long melFieldIndex,
            /* [retval][out] */ long *value) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_auf_get_mel_value( 
            long Aufenthalt,
            long melIndex,
            long melFieldIndex,
            /* [retval][out] */ BSTR *value) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_context_set_modelparameter( 
            long parameterIndex,
            BSTR parameterValue,
            /* [retval][out] */ long *retVal) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_get_amb_kostenstelle_count( 
            /* [retval][out] */ long *value) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_get_amb_kostenstelle_value( 
            long index,
            long ambIndex,
            /* [retval][out] */ long *value) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_get_amb_kostenstelle_stringvalue( 
            long index,
            long ambIndex,
            /* [retval][out] */ BSTR *value) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_get_amb_kostenstelle_counter( 
            BSTR kostenstelle,
            long ambIndex,
            /* [retval][out] */ long *value) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_get_amb_kostenstelle_index( 
            BSTR kostenstelle,
            /* [retval][out] */ long *value) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_add_mel6( 
            long aufenthalt,
            BSTR mel,
            BSTR melanz,
            BSTR meldat,
            BSTR melpos,
            BSTR melzeit,
            BSTR seite,
            BSTR fcleist,
            BSTR kaleist,
            BSTR addinfo,
            /* [retval][out] */ long *ret) = 0;
        
    };
    
    
#else 	/* C style interface */

    typedef struct Ilkf5Vtbl
    {
        BEGIN_INTERFACE
        
        DECLSPEC_XFGVIRT(IUnknown, QueryInterface)
        HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
            Ilkf5 * This,
            /* [in] */ REFIID riid,
            /* [annotation][iid_is][out] */ 
            _COM_Outptr_  void **ppvObject);
        
        DECLSPEC_XFGVIRT(IUnknown, AddRef)
        ULONG ( STDMETHODCALLTYPE *AddRef )( 
            Ilkf5 * This);
        
        DECLSPEC_XFGVIRT(IUnknown, Release)
        ULONG ( STDMETHODCALLTYPE *Release )( 
            Ilkf5 * This);
        
        DECLSPEC_XFGVIRT(IDispatch, GetTypeInfoCount)
        HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
            Ilkf5 * This,
            /* [out] */ UINT *pctinfo);
        
        DECLSPEC_XFGVIRT(IDispatch, GetTypeInfo)
        HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
            Ilkf5 * This,
            /* [in] */ UINT iTInfo,
            /* [in] */ LCID lcid,
            /* [out] */ ITypeInfo **ppTInfo);
        
        DECLSPEC_XFGVIRT(IDispatch, GetIDsOfNames)
        HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
            Ilkf5 * This,
            /* [in] */ REFIID riid,
            /* [size_is][in] */ LPOLESTR *rgszNames,
            /* [range][in] */ UINT cNames,
            /* [in] */ LCID lcid,
            /* [size_is][out] */ DISPID *rgDispId);
        
        DECLSPEC_XFGVIRT(IDispatch, Invoke)
        /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
            Ilkf5 * This,
            /* [annotation][in] */ 
            _In_  DISPID dispIdMember,
            /* [annotation][in] */ 
            _In_  REFIID riid,
            /* [annotation][in] */ 
            _In_  LCID lcid,
            /* [annotation][in] */ 
            _In_  WORD wFlags,
            /* [annotation][out][in] */ 
            _In_  DISPPARAMS *pDispParams,
            /* [annotation][out] */ 
            _Out_opt_  VARIANT *pVarResult,
            /* [annotation][out] */ 
            _Out_opt_  EXCEPINFO *pExcepInfo,
            /* [annotation][out] */ 
            _Out_opt_  UINT *puArgErr);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_alloc_context)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_alloc_context )( 
            Ilkf5 * This,
            long modelljahr,
            BSTR path,
            /* [out] */ BSTR *error,
            /* [retval][out] */ long *context);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_insert_aufenthalt)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_insert_aufenthalt )( 
            Ilkf5 * This,
            long aufenthalt,
            /* [retval][out] */ long *index);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_add_line)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_add_line )( 
            Ilkf5 * This,
            BSTR line,
            /* [retval][out] */ long *returncode);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_read_inputfile)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_read_inputfile )( 
            Ilkf5 * This,
            BSTR inputfile,
            /* [out] */ BSTR *error,
            /* [retval][out] */ long *returncode);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_set_contextparameters)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_set_contextparameters )( 
            Ilkf5 * This,
            long cmb_jahr,
            long period_val,
            long lfdnr,
            long type,
            long flags);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_get_context_scorvalue)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_get_context_scorvalue )( 
            Ilkf5 * This,
            long kanr,
            long fieldnumber,
            /* [retval][out] */ double *value);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_context_GetErrorAnz)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_context_GetErrorAnz )( 
            Ilkf5 * This,
            long kanr,
            /* [out] */ long *accepted,
            /* [retval][out] */ long *erroranz);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_context_GetWarningAnz)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_context_GetWarningAnz )( 
            Ilkf5 * This,
            long kanr,
            /* [out] */ long *accepted,
            /* [retval][out] */ long *warninganz);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_read_flat_inputfile)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_read_flat_inputfile )( 
            Ilkf5 * This,
            BSTR inputfile,
            /* [out] */ BSTR *error,
            /* [retval][out] */ long *returncode);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_plaus)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_plaus )( 
            Ilkf5 * This,
            long aufenthalt,
            /* [retval][out] */ long *returncode);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_plaus_GetErrorAnz)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_plaus_GetErrorAnz )( 
            Ilkf5 * This,
            long aufenthalt,
            /* [out] */ long *accepted,
            /* [retval][out] */ long *returncode);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_plaus_GetWarningAnz)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_plaus_GetWarningAnz )( 
            Ilkf5 * This,
            long aufenthalt,
            /* [out] */ long *accepted,
            /* [retval][out] */ long *warninganz);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_plaus_ErrorCode2Text)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_plaus_ErrorCode2Text )( 
            Ilkf5 * This,
            long nr,
            /* [retval][out] */ BSTR *text);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_plaus_WarningCode2Massnahme)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_plaus_WarningCode2Massnahme )( 
            Ilkf5 * This,
            long nr,
            /* [retval][out] */ long *massnahme);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_plaus_WarningCode2Text)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_plaus_WarningCode2Text )( 
            Ilkf5 * This,
            long nr,
            /* [retval][out] */ BSTR *text);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_scoring)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_scoring )( 
            Ilkf5 * This,
            long aufenthalt,
            /* [retval][out] */ long *returncode);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_alloc_aufenthalt)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_alloc_aufenthalt )( 
            Ilkf5 * This,
            /* [retval][out] */ long *aufenthalt);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_free_aufenthalt)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_free_aufenthalt )( 
            Ilkf5 * This,
            long aufenthalt);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_reset_aufenthalt)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_reset_aufenthalt )( 
            Ilkf5 * This,
            long aufenthalt);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_add_abt)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_add_abt )( 
            Ilkf5 * This,
            long aufenthalt,
            BSTR abtfc,
            BSTR abtdat,
            BSTR abtpos,
            /* [retval][out] */ long *index);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_add_diag)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_add_diag )( 
            Ilkf5 * This,
            long aufenthalt,
            BSTR diag,
            BSTR diagtype,
            /* [retval][out] */ long *returncode);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_add_mel)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_add_mel )( 
            Ilkf5 * This,
            long aufenthalt,
            BSTR mel,
            BSTR melanz,
            /* [retval][out] */ long *index);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_add_akwarn)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_add_akwarn )( 
            Ilkf5 * This,
            long aufenthalt,
            BSTR tcode,
            BSTR value,
            BSTR komm,
            /* [retval][out] */ long *index);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_add_komm)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_add_komm )( 
            Ilkf5 * This,
            long aufenthalt,
            BSTR komm,
            /* [retval][out] */ long *index);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_add_line_auf)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_add_line_auf )( 
            Ilkf5 * This,
            long aufenthalt,
            BSTR line,
            /* [retval][out] */ long *ret);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_auf_firsterror)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_auf_firsterror )( 
            Ilkf5 * This,
            long aufenthalt,
            /* [retval][out] */ long *firsterror);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_auf_nexterror)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_auf_nexterror )( 
            Ilkf5 * This,
            long error,
            /* [retval][out] */ long *nexterror);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_auf_firstwarning)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_auf_firstwarning )( 
            Ilkf5 * This,
            long aufenthalt,
            /* [retval][out] */ long *firstwarning);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_auf_nextwarning)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_auf_nextwarning )( 
            Ilkf5 * This,
            long warn,
            /* [retval][out] */ long *nextwarning);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_auf_geterrorcode)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_auf_geterrorcode )( 
            Ilkf5 * This,
            long error,
            /* [out] */ long *index,
            /* [retval][out] */ long *code);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_auf_getwarningcode)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_auf_getwarningcode )( 
            Ilkf5 * This,
            long warn,
            /* [out] */ long *index,
            /* [retval][out] */ long *code);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_auf_get_maxsubgruppe)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_auf_get_maxsubgruppe )( 
            Ilkf5 * This,
            long aufenthalt,
            /* [retval][out] */ long *subgruppe);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_auf_get_subgruppenanz)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_auf_get_subgruppenanz )( 
            Ilkf5 * This,
            long aufenthalt,
            /* [retval][out] */ long *anz);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_auf_get_scorvalue)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_auf_get_scorvalue )( 
            Ilkf5 * This,
            long aufenthalt,
            long field,
            /* [retval][out] */ long *scorvalue);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_auf_get_gruppe)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_auf_get_gruppe )( 
            Ilkf5 * This,
            long aufenthalt,
            /* [out] */ BSTR *knoten,
            /* [retval][out] */ BSTR *gruppe);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_auf_get_subgruppe_gruppe)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_auf_get_subgruppe_gruppe )( 
            Ilkf5 * This,
            long aufenthalt,
            long index,
            /* [out] */ BSTR *knoten,
            /* [retval][out] */ BSTR *gruppe);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_auf_get_subgruppe_scorvalue)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_auf_get_subgruppe_scorvalue )( 
            Ilkf5 * This,
            long aufenthalt,
            long index,
            long field,
            /* [retval][out] */ long *scorvalue);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_compose_filename)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_compose_filename )( 
            Ilkf5 * This,
            BSTR ka,
            BSTR type,
            /* [retval][out] */ BSTR *filename);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_write_file)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_write_file )( 
            Ilkf5 * This,
            BSTR filename,
            long kanr,
            long flags,
            /* [out] */ BSTR *error,
            /* [retval][out] */ long *returncode);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_write_errorfile)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_write_errorfile )( 
            Ilkf5 * This,
            BSTR filename,
            long kanr,
            long flags,
            BSTR inputfile,
            BSTR outputfile,
            /* [out] */ BSTR *error,
            /* [retval][out] */ long *returncode);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_get_aufenthalt_anz)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_get_aufenthalt_anz )( 
            Ilkf5 * This,
            /* [retval][out] */ long *anz);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_get_aufenthalt)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_get_aufenthalt )( 
            Ilkf5 * This,
            long index,
            /* [retval][out] */ long *aufenthalt);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_reset_aufenthalte)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_reset_aufenthalte )( 
            Ilkf5 * This);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_get_context_ka_anz)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_get_context_ka_anz )( 
            Ilkf5 * This,
            /* [retval][out] */ long *anz);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_get_context_ka)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_get_context_ka )( 
            Ilkf5 * This,
            long i,
            /* [out] */ long *aufanz,
            /* [retval][out] */ BSTR *kanr);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_auf_reset_abt)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_auf_reset_abt )( 
            Ilkf5 * This,
            long aufenthalt);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_auf_reset_mel)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_auf_reset_mel )( 
            Ilkf5 * This,
            long aufenthalt);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_auf_reset_diag)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_auf_reset_diag )( 
            Ilkf5 * This,
            long aufenthalt);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_plaus_GetErrorText4)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_plaus_GetErrorText4 )( 
            Ilkf5 * This,
            long aufenthalt,
            long error,
            /* [out] */ BSTR *text,
            /* [out] */ BSTR *field,
            /* [retval][out] */ long *returncode);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_plaus_GetWarningText4)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_plaus_GetWarningText4 )( 
            Ilkf5 * This,
            long aufenthalt,
            long error,
            /* [out] */ BSTR *text,
            /* [out] */ BSTR *field,
            /* [retval][out] */ long *returncode);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_plaus_GetErrorText)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_plaus_GetErrorText )( 
            Ilkf5 * This,
            long aufenthalt,
            long error,
            /* [retval][out] */ BSTR *text);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_plaus_GetWarningText)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_plaus_GetWarningText )( 
            Ilkf5 * This,
            long aufenthalt,
            long error,
            /* [retval][out] */ BSTR *text);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_auf_get_gruppe_mel)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_auf_get_gruppe_mel )( 
            Ilkf5 * This,
            long aufenthalt,
            /* [retval][out] */ BSTR *mel);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_auf_get_subgruppe_mel)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_auf_get_subgruppe_mel )( 
            Ilkf5 * This,
            long aufenthalt,
            long index,
            /* [retval][out] */ BSTR *mel);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_auf_line_root)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_auf_line_root )( 
            Ilkf5 * This,
            long aufenthalt,
            /* [retval][out] */ BSTR *rootline);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_auf_get_abtanz)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_auf_get_abtanz )( 
            Ilkf5 * This,
            long aufenthalt,
            /* [retval][out] */ long *anzahl);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_auf_get_melanz)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_auf_get_melanz )( 
            Ilkf5 * This,
            long aufenthalt,
            /* [retval][out] */ long *anzahl);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_auf_get_diaganz)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_auf_get_diaganz )( 
            Ilkf5 * This,
            long aufenthalt,
            /* [retval][out] */ long *anzahl);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_auf_get_kostanz)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_auf_get_kostanz )( 
            Ilkf5 * This,
            long aufenthalt,
            /* [retval][out] */ long *anzahl);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_auf_get_akwarnanz)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_auf_get_akwarnanz )( 
            Ilkf5 * This,
            long aufenthalt,
            /* [retval][out] */ long *anzahl);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_auf_get_kommentaranz)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_auf_get_kommentaranz )( 
            Ilkf5 * This,
            long aufenthalt,
            /* [retval][out] */ long *anzahl);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_auf_line_abt)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_auf_line_abt )( 
            Ilkf5 * This,
            long aufenthalt,
            long i,
            /* [retval][out] */ BSTR *line);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_auf_line_diag)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_auf_line_diag )( 
            Ilkf5 * This,
            long aufenthalt,
            long i,
            /* [retval][out] */ BSTR *line);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_auf_line_kost)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_auf_line_kost )( 
            Ilkf5 * This,
            long aufenthalt,
            long i,
            /* [retval][out] */ BSTR *line);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_auf_line_akwarn)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_auf_line_akwarn )( 
            Ilkf5 * This,
            long aufenthalt,
            long i,
            /* [retval][out] */ BSTR *line);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_auf_line_kommentar)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_auf_line_kommentar )( 
            Ilkf5 * This,
            long aufenthalt,
            long i,
            /* [retval][out] */ BSTR *line);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_auf_line_mel)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_auf_line_mel )( 
            Ilkf5 * This,
            long aufenthalt,
            long i,
            /* [retval][out] */ BSTR *line);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_auf_line_scoring)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_auf_line_scoring )( 
            Ilkf5 * This,
            long aufenthalt,
            /* [retval][out] */ BSTR *line);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_auf_get_mel)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_auf_get_mel )( 
            Ilkf5 * This,
            long aufenthalt,
            long index,
            /* [out] */ BSTR *mel,
            /* [out] */ BSTR *melanz,
            /* [retval][out] */ long *returncode);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_auf_get_abt)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_auf_get_abt )( 
            Ilkf5 * This,
            long aufenthalt,
            long index,
            /* [out] */ BSTR *abtfc,
            /* [out] */ BSTR *abtdat,
            /* [out] */ BSTR *abtpos,
            /* [retval][out] */ long *returncode);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_auf_get_diag)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_auf_get_diag )( 
            Ilkf5 * This,
            long aufenthalt,
            long index,
            /* [out] */ BSTR *diag,
            /* [out] */ BSTR *diagtype,
            /* [retval][out] */ long *returncode);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_copy_aufenthalt)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_copy_aufenthalt )( 
            Ilkf5 * This,
            long aufenthalt,
            /* [retval][out] */ long *neuer_aufenthalt);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_auf_getlineanz)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_auf_getlineanz )( 
            Ilkf5 * This,
            long aufenthalt,
            /* [retval][out] */ long *lineanz);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_auf_getline)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_auf_getline )( 
            Ilkf5 * This,
            long aufenthalt,
            long index,
            /* [retval][out] */ BSTR *line);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_set_modelljahr)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_set_modelljahr )( 
            Ilkf5 * This,
            long modelljahr,
            BSTR input_path,
            /* [out] */ BSTR *errorstring,
            /* [retval][out] */ long *returncode);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_auf_get_field)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_auf_get_field )( 
            Ilkf5 * This,
            long aufenthalt,
            long fieldnum,
            /* [retval][out] */ BSTR *fieldvalue);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_auf_line_svnr)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_auf_line_svnr )( 
            Ilkf5 * This,
            long aufenthalt,
            /* [retval][out] */ BSTR *line);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_reset_ka)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_reset_ka )( 
            Ilkf5 * This,
            /* [retval][out] */ long *returncode);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_add_ka_stats)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_add_ka_stats )( 
            Ilkf5 * This,
            long aufenthalt,
            long modus,
            /* [retval][out] */ long *returncode);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_get_context_ka_abtanz)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_get_context_ka_abtanz )( 
            Ilkf5 * This,
            long ka,
            /* [retval][out] */ long *returncode);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_get_context_ka_abtstat)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_get_context_ka_abtstat )( 
            Ilkf5 * This,
            long ka,
            long abtnr,
            /* [out] */ long *anz,
            /* [out] */ long *bd,
            /* [out] */ long *err,
            /* [retval][out] */ BSTR *abtfc);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_get_context_ka_optimized)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_get_context_ka_optimized )( 
            Ilkf5 * This,
            long ka,
            /* [out] */ long *anz,
            /* [out] */ long *opt,
            /* [out] */ double *maxpkt,
            /* [out] */ double *actpkt,
            /* [retval][out] */ double *percentage);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_auf_is_optimizable)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_auf_is_optimizable )( 
            Ilkf5 * This,
            long aufenthalt,
            /* [retval][out] */ long *erg);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_auf_get_opt_subgruppe)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_auf_get_opt_subgruppe )( 
            Ilkf5 * This,
            long aufenthalt,
            /* [retval][out] */ long *gruppe);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_auf_get_opt_percentage)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_auf_get_opt_percentage )( 
            Ilkf5 * This,
            long aufenthalt,
            /* [retval][out] */ double *percentage);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_add_kost)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_add_kost )( 
            Ilkf5 * This,
            long aufenthalt,
            BSTR kost,
            /* [retval][out] */ long *returncode);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_get_errorcode_minmax)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_get_errorcode_minmax )( 
            Ilkf5 * This,
            /* [out] */ long *pmin,
            /* [out] */ long *pmax);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_get_warningcode_minmax)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_get_warningcode_minmax )( 
            Ilkf5 * This,
            /* [out] */ long *pmin,
            /* [out] */ long *pmax);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_context_errorcode_count)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_context_errorcode_count )( 
            Ilkf5 * This,
            long ka,
            long code,
            /* [retval][out] */ long *count);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_context_warningcode_count)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_context_warningcode_count )( 
            Ilkf5 * This,
            long ka,
            long code,
            /* [retval][out] */ long *count);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_add_mel2)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_add_mel2 )( 
            Ilkf5 * This,
            long aufenthalt,
            BSTR mel,
            BSTR melanz,
            BSTR meldat,
            /* [retval][out] */ long *ret);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_auf_get_abtbd)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_auf_get_abtbd )( 
            Ilkf5 * This,
            long aufenthalt,
            long index,
            /* [out] */ long *abtbd,
            /* [retval][out] */ long *returncode);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_auf_get_subgruppe_diag)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_auf_get_subgruppe_diag )( 
            Ilkf5 * This,
            long aufenthalt,
            long index,
            /* [retval][out] */ BSTR *diag);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_add_diag2)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_add_diag2 )( 
            Ilkf5 * This,
            long aufenthalt,
            BSTR diag,
            BSTR diagtype,
            BSTR diagpos,
            /* [retval][out] */ long *returncode);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_auf_get_mel2)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_auf_get_mel2 )( 
            Ilkf5 * This,
            long aufenthalt,
            long index,
            /* [out] */ BSTR *mel,
            /* [out] */ BSTR *melanz,
            /* [out] */ BSTR *meldat,
            /* [retval][out] */ long *returncode);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_auf_get_diag2)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_auf_get_diag2 )( 
            Ilkf5 * This,
            long aufenthalt,
            long index,
            /* [out] */ BSTR *diag,
            /* [out] */ BSTR *diagtype,
            /* [out] */ BSTR *diagpos,
            /* [retval][out] */ long *returncode);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_auf_get_min_subgruppe)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_auf_get_min_subgruppe )( 
            Ilkf5 * This,
            long aufenthalt,
            /* [retval][out] */ long *gruppe);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_add_mel3)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_add_mel3 )( 
            Ilkf5 * This,
            long aufenthalt,
            BSTR mel,
            BSTR melanz,
            BSTR meldat,
            BSTR melpos,
            /* [retval][out] */ long *ret);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_auf_get_mel3)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_auf_get_mel3 )( 
            Ilkf5 * This,
            long aufenthalt,
            long index,
            /* [out] */ BSTR *mel,
            /* [out] */ BSTR *melanz,
            /* [out] */ BSTR *meldat,
            /* [out] */ BSTR *melpos,
            /* [retval][out] */ long *returncode);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_context_GetMeldeDiagAnz)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_context_GetMeldeDiagAnz )( 
            Ilkf5 * This,
            long kanr,
            /* [retval][out] */ long *meldediagcount);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_plaus_meldediag_typ)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_plaus_meldediag_typ )( 
            Ilkf5 * This,
            long nr,
            /* [retval][out] */ BSTR *typ);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_plaus_meldediag_text)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_plaus_meldediag_text )( 
            Ilkf5 * This,
            long nr,
            /* [retval][out] */ BSTR *text);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_auf_firstmeldediag)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_auf_firstmeldediag )( 
            Ilkf5 * This,
            long aufenthalt,
            /* [retval][out] */ long *meldediag);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_auf_nextmeldediag)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_auf_nextmeldediag )( 
            Ilkf5 * This,
            long meldediag,
            /* [retval][out] */ long *nextmeldediag);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_auf_getmeldediag)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_auf_getmeldediag )( 
            Ilkf5 * This,
            long meldediag,
            /* [out] */ long *index,
            /* [retval][out] */ long *code);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_plaus_GetMeldeDiagAnz)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_plaus_GetMeldeDiagAnz )( 
            Ilkf5 * This,
            long aufenthalt,
            /* [retval][out] */ long *count);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_write_meldediagfile)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_write_meldediagfile )( 
            Ilkf5 * This,
            BSTR filename,
            long kanr,
            /* [out] */ BSTR *error,
            /* [retval][out] */ long *returncode);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_set_npplaus_tracefilename)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_set_npplaus_tracefilename )( 
            Ilkf5 * This,
            BSTR outputfilename);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_auf_getintlineanz)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_auf_getintlineanz )( 
            Ilkf5 * This,
            LONG aufenthalt,
            /* [retval][out] */ LONG *count);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_auf_getintline)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_auf_getintline )( 
            Ilkf5 * This,
            LONG aufenthalt,
            LONG index,
            /* [retval][out] */ BSTR *line);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_getaddline)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_getaddline )( 
            Ilkf5 * This,
            LONG index,
            /* [retval][out] */ BSTR *line);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_check)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_check )( 
            Ilkf5 * This,
            LONG modus,
            /* [retval][out] */ LONG *returncode);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_getSatzartErrorCount)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_getSatzartErrorCount )( 
            Ilkf5 * This,
            /* [retval][out] */ LONG *count);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_getSatzartError)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_getSatzartError )( 
            Ilkf5 * This,
            LONG index,
            /* [retval][out] */ BSTR *line);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_getSatzartErrorHeadline)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_getSatzartErrorHeadline )( 
            Ilkf5 * This,
            /* [in] */ LONG Facility,
            /* [retval][out] */ BSTR *line);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_set_compatibilitymode)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_set_compatibilitymode )( 
            Ilkf5 * This,
            LONG compatibility);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_setErrorFormat)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_setErrorFormat )( 
            Ilkf5 * This,
            LONG Facility,
            VARIANT FieldNums,
            /* [retval][out] */ LONG *ReturnCode);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_setErrorFilter)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_setErrorFilter )( 
            Ilkf5 * This,
            LONG Filter,
            /* [retval][out] */ LONG *ErrorCount);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_int_scoring)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_int_scoring )( 
            Ilkf5 * This,
            /* [retval][out] */ LONG *ReturnCode);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_setIntAbtData)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_setIntAbtData )( 
            Ilkf5 * This,
            BSTR ABTFC,
            LONG BettenAnzahl,
            /* [retval][out] */ LONG *ReturnCode);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_getaddlineanz)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_getaddlineanz )( 
            Ilkf5 * This,
            /* [retval][out] */ LONG *Count);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_int_getAbtAnz)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_int_getAbtAnz )( 
            Ilkf5 * This,
            /* [retval][out] */ LONG *AbtAnz);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_int_getAnalyseHeadline)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_int_getAnalyseHeadline )( 
            Ilkf5 * This,
            /* [retval][out] */ BSTR *Line);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_int_getAnalyseData)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_int_getAnalyseData )( 
            Ilkf5 * This,
            LONG AbtNr,
            LONG Monat,
            /* [retval][out] */ BSTR *Line);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_int_getAbtHeadline)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_int_getAbtHeadline )( 
            Ilkf5 * This,
            /* [retval][out] */ BSTR *Line);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_int_getAbtData)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_int_getAbtData )( 
            Ilkf5 * This,
            LONG AbtNr,
            /* [retval][out] */ BSTR *Line);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_int_getIntAufenthaltCount)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_int_getIntAufenthaltCount )( 
            Ilkf5 * This,
            /* [retval][out] */ LONG *Count);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_int_getIntAufenthaltTISSCount)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_int_getIntAufenthaltTISSCount )( 
            Ilkf5 * This,
            LONG AufNr,
            /* [retval][out] */ LONG *Count);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_int_getIntAufenthaltDetailsHeadline)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_int_getIntAufenthaltDetailsHeadline )( 
            Ilkf5 * This,
            /* [retval][out] */ BSTR *Line);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_int_getIntAufenthaltDetails)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_int_getIntAufenthaltDetails )( 
            Ilkf5 * This,
            LONG AufNr,
            /* [retval][out] */ BSTR *Line);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_int_getIntAufenthaltTRISSCount)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_int_getIntAufenthaltTRISSCount )( 
            Ilkf5 * This,
            LONG lIntAuf,
            /* [retval][out] */ LONG *Count);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_int_getIntAufenthaltSAPSCount)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_int_getIntAufenthaltSAPSCount )( 
            Ilkf5 * This,
            LONG lIntAuf,
            /* [retval][out] */ LONG *Count);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_int_getIntAufenthaltDetailsLine)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_int_getIntAufenthaltDetailsLine )( 
            Ilkf5 * This,
            LONG lIntAuf,
            LONG lSatzartNr,
            LONG lNr,
            /* [retval][out] */ BSTR *Line);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_int_getIntAufenthaltDetailsField)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_int_getIntAufenthaltDetailsField )( 
            Ilkf5 * This,
            LONG lIntAuf,
            LONG lSatzartNr,
            LONG lNr,
            LONG lFieldNr,
            /* [retval][out] */ BSTR *Value);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_context_scoring)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_context_scoring )( 
            Ilkf5 * This,
            LONG AufenthaltCount,
            /* [retval][out] */ LONG *returncode);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_setIntAbtDataIndex)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_setIntAbtDataIndex )( 
            Ilkf5 * This,
            LONG AbtIndex,
            LONG Bettenanzahl,
            /* [retval][out] */ LONG *ReturnCode);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_int_getAbtFC)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_int_getAbtFC )( 
            Ilkf5 * This,
            LONG AbtIndex,
            /* [retval][out] */ BSTR *ABTFC);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_set_abrechnungsjahr)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_set_abrechnungsjahr )( 
            Ilkf5 * This,
            LONG Abrechnungsjahr);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_set_contextflags)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_set_contextflags )( 
            Ilkf5 * This,
            LONG Flags);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_int_setintcontextparameters)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_int_setintcontextparameters )( 
            Ilkf5 * This,
            /* [in] */ BSTR VonDatum,
            /* [in] */ BSTR BisDatum,
            /* [in] */ LONG Flags,
            /* [in] */ LONG MaxStunden,
            /* [retval][out] */ LONG *Result);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_int_getIntAufenthaltSAPSField)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_int_getIntAufenthaltSAPSField )( 
            Ilkf5 * This,
            LONG AufNr,
            LONG SAPSNr,
            LONG FieldNr,
            /* [retval][out] */ BSTR *Field);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_int_getIntAufenthaltTISSField)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_int_getIntAufenthaltTISSField )( 
            Ilkf5 * This,
            LONG AufNr,
            LONG TISSNr,
            LONG FieldNr,
            /* [retval][out] */ BSTR *Field);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_int_getIntAufenthaltTRISSField)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_int_getIntAufenthaltTRISSField )( 
            Ilkf5 * This,
            LONG AufNr,
            LONG TRISSNr,
            LONG FieldNr,
            /* [retval][out] */ BSTR *Field);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_int_getIntAufenthaltSAPSDetails)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_int_getIntAufenthaltSAPSDetails )( 
            Ilkf5 * This,
            LONG AufNr,
            LONG SAPSNr,
            /* [retval][out] */ BSTR *Line);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_int_getIntAufenthaltTISSDetails)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_int_getIntAufenthaltTISSDetails )( 
            Ilkf5 * This,
            LONG AufNr,
            LONG TISSNr,
            /* [retval][out] */ BSTR *Line);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_int_getIntAufenthaltTRISSDetails)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_int_getIntAufenthaltTRISSDetails )( 
            Ilkf5 * This,
            LONG AufNr,
            LONG TRISSNr,
            /* [retval][out] */ BSTR *Line);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_stat)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_stat )( 
            Ilkf5 * This,
            LONG Flags,
            /* [retval][out] */ LONG *Result);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_stat_getLineCount)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_stat_getLineCount )( 
            Ilkf5 * This,
            LONG StatType,
            /* [retval][out] */ LONG *LineCount);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_stat_getHeadline)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_stat_getHeadline )( 
            Ilkf5 * This,
            LONG StatType,
            /* [retval][out] */ BSTR *Line);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_stat_getLine)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_stat_getLine )( 
            Ilkf5 * This,
            LONG StatType,
            LONG LineNr,
            /* [retval][out] */ BSTR *Line);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_stat_getFieldByPosition)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_stat_getFieldByPosition )( 
            Ilkf5 * This,
            LONG StatType,
            LONG LineNr,
            LONG FieldPos,
            /* [retval][out] */ BSTR *FieldValue);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_stat_getField)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_stat_getField )( 
            Ilkf5 * This,
            LONG StatType,
            LONG LineNr,
            LONG FieldId,
            /* [retval][out] */ BSTR *FieldValue);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_stat_getFieldCount)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_stat_getFieldCount )( 
            Ilkf5 * This,
            LONG StatType,
            /* [retval][out] */ LONG *ColumnCount);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_stat_getFieldHeadlineByPosition)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_stat_getFieldHeadlineByPosition )( 
            Ilkf5 * This,
            LONG StatType,
            LONG FieldPosition,
            /* [retval][out] */ BSTR *Headline);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_stat_getFieldHeadline)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_stat_getFieldHeadline )( 
            Ilkf5 * This,
            LONG StatType,
            LONG FieldId,
            /* [retval][out] */ BSTR *Headline);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_stat_getLineByLineInfo)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_stat_getLineByLineInfo )( 
            Ilkf5 * This,
            LONG StatType,
            BSTR Info,
            /* [retval][out] */ LONG *LineNr);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_getSatzartErrorFieldHeadline)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_getSatzartErrorFieldHeadline )( 
            Ilkf5 * This,
            LONG FieldNumber,
            /* [retval][out] */ BSTR *FieldHeadline);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_getSatzartErrorField)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_getSatzartErrorField )( 
            Ilkf5 * This,
            LONG ErrorIndex,
            LONG FieldNumber,
            /* [retval][out] */ BSTR *FieldValue);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_getSatzartErrorSum_Count)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_getSatzartErrorSum_Count )( 
            Ilkf5 * This,
            /* [retval][out] */ LONG *Count);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_getSatzartErrorSum_CodeToId)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_getSatzartErrorSum_CodeToId )( 
            Ilkf5 * This,
            BSTR ErrorCode,
            /* [retval][out] */ LONG *ErrorId);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_getSatzartErrorSum_Field)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_getSatzartErrorSum_Field )( 
            Ilkf5 * This,
            LONG ErrorId,
            LONG FieldNr,
            /* [retval][out] */ BSTR *ErrorText);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_context_getAllErrorCount)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_context_getAllErrorCount )( 
            Ilkf5 * This,
            /* [retval][out] */ LONG *Count);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_context_getAllErrorInfo_CodeToId)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_context_getAllErrorInfo_CodeToId )( 
            Ilkf5 * This,
            BSTR ErrorCode,
            /* [retval][out] */ LONG *ErrorId);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_context_getAllErrorInfo)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_context_getAllErrorInfo )( 
            Ilkf5 * This,
            LONG ErrorId,
            LONG FieldNr,
            /* [retval][out] */ BSTR *ErrorText);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_convertMBDSErrorCode)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_convertMBDSErrorCode )( 
            Ilkf5 * This,
            LONG OldCode,
            /* [retval][out] */ BSTR *NewCode);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_convertMBDSWarningCode)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_convertMBDSWarningCode )( 
            Ilkf5 * This,
            LONG OldCode,
            /* [retval][out] */ BSTR *NewCode);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_npplaus_getProtokollHeadline)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_npplaus_getProtokollHeadline )( 
            Ilkf5 * This,
            /* [retval][out] */ BSTR *Line);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_npplaus_getWarningLineCount)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_npplaus_getWarningLineCount )( 
            Ilkf5 * This,
            /* [retval][out] */ LONG *Count);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_npplaus_getProtokollLineCount)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_npplaus_getProtokollLineCount )( 
            Ilkf5 * This,
            /* [retval][out] */ LONG *Count);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_npplaus_getWarningLine)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_npplaus_getWarningLine )( 
            Ilkf5 * This,
            LONG LineNr,
            /* [retval][out] */ BSTR *Line);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_npplaus_getProtokollLine)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_npplaus_getProtokollLine )( 
            Ilkf5 * This,
            LONG LineNr,
            /* [retval][out] */ BSTR *Line);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_npplaus_sum_headline)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_npplaus_sum_headline )( 
            Ilkf5 * This,
            /* [retval][out] */ BSTR *Line);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_npplaus_sum_abtcount)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_npplaus_sum_abtcount )( 
            Ilkf5 * This,
            /* [retval][out] */ LONG *AbtCount);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_npplaus_sum_abtline)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_npplaus_sum_abtline )( 
            Ilkf5 * This,
            LONG AbtIndex,
            /* [retval][out] */ BSTR *Line);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_npplaus_getReasonCount)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_npplaus_getReasonCount )( 
            Ilkf5 * This,
            LONG WarningNr,
            /* [retval][out] */ LONG *ReasonCount);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_npplaus_getReasonLine)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_npplaus_getReasonLine )( 
            Ilkf5 * This,
            LONG WarningNr,
            LONG ReasonNr,
            /* [retval][out] */ BSTR *Line);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_npplaus_getInfoLine)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_npplaus_getInfoLine )( 
            Ilkf5 * This,
            LONG WarningNr,
            /* [retval][out] */ BSTR *Line);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_npplaus_tfsum_headline)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_npplaus_tfsum_headline )( 
            Ilkf5 * This,
            /* [retval][out] */ BSTR *Headline);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_npplaus_critsum_headline)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_npplaus_critsum_headline )( 
            Ilkf5 * This,
            /* [retval][out] */ BSTR *Headline);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_npplaus_tfsum)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_npplaus_tfsum )( 
            Ilkf5 * This,
            LONG AbtIndex,
            /* [retval][out] */ BSTR *Line);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_npplaus_critsum)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_npplaus_critsum )( 
            Ilkf5 * This,
            LONG AbtIndex,
            /* [retval][out] */ BSTR *Line);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_auf_getErrorLine)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_auf_getErrorLine )( 
            Ilkf5 * This,
            LONG Aufenthalt,
            LONG Err,
            /* [retval][out] */ BSTR *ErrorLine);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_auf_getWarningLine)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_auf_getWarningLine )( 
            Ilkf5 * This,
            LONG Aufenthalt,
            LONG warn,
            /* [retval][out] */ BSTR *WarningLine);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_trace_setLevel)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_trace_setLevel )( 
            Ilkf5 * This,
            LONG Facility,
            LONG TraceLevel);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_trace_getLineCount)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_trace_getLineCount )( 
            Ilkf5 * This,
            /* [retval][out] */ LONG *LineCount);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_trace_getLine)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_trace_getLine )( 
            Ilkf5 * This,
            LONG LineNr,
            /* [retval][out] */ BSTR *Line);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_trace_getLevel)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_trace_getLevel )( 
            Ilkf5 * This,
            LONG Facility,
            /* [retval][out] */ LONG *DebugLevel);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_trace_getAufenthalt)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_trace_getAufenthalt )( 
            Ilkf5 * This,
            /* [retval][out] */ BSTR *Aufenthaltszahl);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_set_debug_trace)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_set_debug_trace )( 
            Ilkf5 * This);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_trace_setAufenthalt)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_trace_setAufenthalt )( 
            Ilkf5 * This,
            BSTR Aufenthaltszahl);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_context_get_errortext)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_context_get_errortext )( 
            Ilkf5 * This,
            /* [retval][out] */ BSTR *Error);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_auf_line_akwarn2)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_auf_line_akwarn2 )( 
            Ilkf5 * This,
            long aufenthalt,
            long i,
            /* [out] */ LONG *HitCount,
            /* [retval][out] */ BSTR *line);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_context_GetHinweisAnz)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_context_GetHinweisAnz )( 
            Ilkf5 * This,
            long kanr,
            /* [out] */ long *accepted,
            /* [retval][out] */ long *erroranz);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_auf_firstinfo)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_auf_firstinfo )( 
            Ilkf5 * This,
            long aufenthalt,
            /* [retval][out] */ long *firstinfo);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_auf_nextinfo)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_auf_nextinfo )( 
            Ilkf5 * This,
            long info,
            /* [retval][out] */ long *nextinfo);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_auf_getInfoLine)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_auf_getInfoLine )( 
            Ilkf5 * This,
            LONG Aufenthalt,
            LONG info,
            /* [retval][out] */ BSTR *InfoLine);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_plaus_GetInfoAnz)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_plaus_GetInfoAnz )( 
            Ilkf5 * This,
            long aufenthalt,
            /* [out] */ long *accepted,
            /* [retval][out] */ long *warninganz);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_context_GetGlobalInfo)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_context_GetGlobalInfo )( 
            Ilkf5 * This,
            long type,
            /* [retval][out] */ long *info);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_auf_get_abtfield)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_auf_get_abtfield )( 
            Ilkf5 * This,
            long aufenthalt,
            long index,
            long fieldindex,
            /* [retval][out] */ BSTR *fieldvalue);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_reset_aufenthalt_package)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_reset_aufenthalt_package )( 
            Ilkf5 * This);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_context_plaus)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_context_plaus )( 
            Ilkf5 * This,
            LONG AufenthaltCount,
            /* [retval][out] */ LONG *returncode);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_context_plaus_package)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_context_plaus_package )( 
            Ilkf5 * This,
            LONG IsFirstPackage,
            /* [retval][out] */ LONG *returncode);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_context_read_dat)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_context_read_dat )( 
            Ilkf5 * This,
            BSTR fileName,
            /* [retval][out] */ LONG *numberOfLines);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_context_dat_line)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_context_dat_line )( 
            Ilkf5 * This,
            LONG lineIndex,
            /* [retval][out] */ BSTR *line);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_context_free_dat)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_context_free_dat )( 
            Ilkf5 * This);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_context_getSatzartErrorAnz)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_context_getSatzartErrorAnz )( 
            Ilkf5 * This,
            LONG flags,
            /* [retval][out] */ LONG *numberOfErrors);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_auf_get_abtscor100)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_auf_get_abtscor100 )( 
            Ilkf5 * This,
            long Aufenthalt,
            long abtIndex,
            /* [out] */ BSTR *abtpos,
            /* [out] */ long *tp100,
            /* [out] */ long *lp100,
            /* [retval][out] */ long *p100);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_auf_get_abtscor)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_auf_get_abtscor )( 
            Ilkf5 * This,
            long Aufenthalt,
            long abtIndex,
            /* [out] */ BSTR *abtpos,
            /* [out] */ double *tp,
            /* [out] */ double *lp,
            /* [retval][out] */ double *p);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_stat_package)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_stat_package )( 
            Ilkf5 * This,
            /* [retval][out] */ long *ret);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_check_nombds)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_check_nombds )( 
            Ilkf5 * This,
            /* [retval][out] */ long *ret);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_setErrorCountsFilter)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_setErrorCountsFilter )( 
            Ilkf5 * This,
            LONG Filter,
            /* [retval][out] */ LONG *ErrorCount);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_get_amb_counter)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_get_amb_counter )( 
            Ilkf5 * This,
            long counterIndex,
            /* [retval][out] */ long *value);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_auf_get_melIndexForPos)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_auf_get_melIndexForPos )( 
            Ilkf5 * This,
            long Aufenthalt,
            BSTR melpos,
            /* [retval][out] */ long *value);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_auf_get_mel_field)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_auf_get_mel_field )( 
            Ilkf5 * This,
            long Aufenthalt,
            long melIndex,
            long melFieldIndex,
            /* [retval][out] */ long *value);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_auf_get_mel_value)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_auf_get_mel_value )( 
            Ilkf5 * This,
            long Aufenthalt,
            long melIndex,
            long melFieldIndex,
            /* [retval][out] */ BSTR *value);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_context_set_modelparameter)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_context_set_modelparameter )( 
            Ilkf5 * This,
            long parameterIndex,
            BSTR parameterValue,
            /* [retval][out] */ long *retVal);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_get_amb_kostenstelle_count)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_get_amb_kostenstelle_count )( 
            Ilkf5 * This,
            /* [retval][out] */ long *value);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_get_amb_kostenstelle_value)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_get_amb_kostenstelle_value )( 
            Ilkf5 * This,
            long index,
            long ambIndex,
            /* [retval][out] */ long *value);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_get_amb_kostenstelle_stringvalue)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_get_amb_kostenstelle_stringvalue )( 
            Ilkf5 * This,
            long index,
            long ambIndex,
            /* [retval][out] */ BSTR *value);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_get_amb_kostenstelle_counter)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_get_amb_kostenstelle_counter )( 
            Ilkf5 * This,
            BSTR kostenstelle,
            long ambIndex,
            /* [retval][out] */ long *value);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_get_amb_kostenstelle_index)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_get_amb_kostenstelle_index )( 
            Ilkf5 * This,
            BSTR kostenstelle,
            /* [retval][out] */ long *value);
        
        DECLSPEC_XFGVIRT(Ilkf5, lkf_add_mel6)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_add_mel6 )( 
            Ilkf5 * This,
            long aufenthalt,
            BSTR mel,
            BSTR melanz,
            BSTR meldat,
            BSTR melpos,
            BSTR melzeit,
            BSTR seite,
            BSTR fcleist,
            BSTR kaleist,
            BSTR addinfo,
            /* [retval][out] */ long *ret);
        
        END_INTERFACE
    } Ilkf5Vtbl;

    interface Ilkf5
    {
        CONST_VTBL struct Ilkf5Vtbl *lpVtbl;
    };

    

#ifdef COBJMACROS


#define Ilkf5_QueryInterface(This,riid,ppvObject)	\
    ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) 

#define Ilkf5_AddRef(This)	\
    ( (This)->lpVtbl -> AddRef(This) ) 

#define Ilkf5_Release(This)	\
    ( (This)->lpVtbl -> Release(This) ) 


#define Ilkf5_GetTypeInfoCount(This,pctinfo)	\
    ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) 

#define Ilkf5_GetTypeInfo(This,iTInfo,lcid,ppTInfo)	\
    ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) 

#define Ilkf5_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)	\
    ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) 

#define Ilkf5_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)	\
    ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) 


#define Ilkf5_lkf_alloc_context(This,modelljahr,path,error,context)	\
    ( (This)->lpVtbl -> lkf_alloc_context(This,modelljahr,path,error,context) ) 

#define Ilkf5_lkf_insert_aufenthalt(This,aufenthalt,index)	\
    ( (This)->lpVtbl -> lkf_insert_aufenthalt(This,aufenthalt,index) ) 

#define Ilkf5_lkf_add_line(This,line,returncode)	\
    ( (This)->lpVtbl -> lkf_add_line(This,line,returncode) ) 

#define Ilkf5_lkf_read_inputfile(This,inputfile,error,returncode)	\
    ( (This)->lpVtbl -> lkf_read_inputfile(This,inputfile,error,returncode) ) 

#define Ilkf5_lkf_set_contextparameters(This,cmb_jahr,period_val,lfdnr,type,flags)	\
    ( (This)->lpVtbl -> lkf_set_contextparameters(This,cmb_jahr,period_val,lfdnr,type,flags) ) 

#define Ilkf5_lkf_get_context_scorvalue(This,kanr,fieldnumber,value)	\
    ( (This)->lpVtbl -> lkf_get_context_scorvalue(This,kanr,fieldnumber,value) ) 

#define Ilkf5_lkf_context_GetErrorAnz(This,kanr,accepted,erroranz)	\
    ( (This)->lpVtbl -> lkf_context_GetErrorAnz(This,kanr,accepted,erroranz) ) 

#define Ilkf5_lkf_context_GetWarningAnz(This,kanr,accepted,warninganz)	\
    ( (This)->lpVtbl -> lkf_context_GetWarningAnz(This,kanr,accepted,warninganz) ) 

#define Ilkf5_lkf_read_flat_inputfile(This,inputfile,error,returncode)	\
    ( (This)->lpVtbl -> lkf_read_flat_inputfile(This,inputfile,error,returncode) ) 

#define Ilkf5_lkf_plaus(This,aufenthalt,returncode)	\
    ( (This)->lpVtbl -> lkf_plaus(This,aufenthalt,returncode) ) 

#define Ilkf5_lkf_plaus_GetErrorAnz(This,aufenthalt,accepted,returncode)	\
    ( (This)->lpVtbl -> lkf_plaus_GetErrorAnz(This,aufenthalt,accepted,returncode) ) 

#define Ilkf5_lkf_plaus_GetWarningAnz(This,aufenthalt,accepted,warninganz)	\
    ( (This)->lpVtbl -> lkf_plaus_GetWarningAnz(This,aufenthalt,accepted,warninganz) ) 

#define Ilkf5_lkf_plaus_ErrorCode2Text(This,nr,text)	\
    ( (This)->lpVtbl -> lkf_plaus_ErrorCode2Text(This,nr,text) ) 

#define Ilkf5_lkf_plaus_WarningCode2Massnahme(This,nr,massnahme)	\
    ( (This)->lpVtbl -> lkf_plaus_WarningCode2Massnahme(This,nr,massnahme) ) 

#define Ilkf5_lkf_plaus_WarningCode2Text(This,nr,text)	\
    ( (This)->lpVtbl -> lkf_plaus_WarningCode2Text(This,nr,text) ) 

#define Ilkf5_lkf_scoring(This,aufenthalt,returncode)	\
    ( (This)->lpVtbl -> lkf_scoring(This,aufenthalt,returncode) ) 

#define Ilkf5_lkf_alloc_aufenthalt(This,aufenthalt)	\
    ( (This)->lpVtbl -> lkf_alloc_aufenthalt(This,aufenthalt) ) 

#define Ilkf5_lkf_free_aufenthalt(This,aufenthalt)	\
    ( (This)->lpVtbl -> lkf_free_aufenthalt(This,aufenthalt) ) 

#define Ilkf5_lkf_reset_aufenthalt(This,aufenthalt)	\
    ( (This)->lpVtbl -> lkf_reset_aufenthalt(This,aufenthalt) ) 

#define Ilkf5_lkf_add_abt(This,aufenthalt,abtfc,abtdat,abtpos,index)	\
    ( (This)->lpVtbl -> lkf_add_abt(This,aufenthalt,abtfc,abtdat,abtpos,index) ) 

#define Ilkf5_lkf_add_diag(This,aufenthalt,diag,diagtype,returncode)	\
    ( (This)->lpVtbl -> lkf_add_diag(This,aufenthalt,diag,diagtype,returncode) ) 

#define Ilkf5_lkf_add_mel(This,aufenthalt,mel,melanz,index)	\
    ( (This)->lpVtbl -> lkf_add_mel(This,aufenthalt,mel,melanz,index) ) 

#define Ilkf5_lkf_add_akwarn(This,aufenthalt,tcode,value,komm,index)	\
    ( (This)->lpVtbl -> lkf_add_akwarn(This,aufenthalt,tcode,value,komm,index) ) 

#define Ilkf5_lkf_add_komm(This,aufenthalt,komm,index)	\
    ( (This)->lpVtbl -> lkf_add_komm(This,aufenthalt,komm,index) ) 

#define Ilkf5_lkf_add_line_auf(This,aufenthalt,line,ret)	\
    ( (This)->lpVtbl -> lkf_add_line_auf(This,aufenthalt,line,ret) ) 

#define Ilkf5_lkf_auf_firsterror(This,aufenthalt,firsterror)	\
    ( (This)->lpVtbl -> lkf_auf_firsterror(This,aufenthalt,firsterror) ) 

#define Ilkf5_lkf_auf_nexterror(This,error,nexterror)	\
    ( (This)->lpVtbl -> lkf_auf_nexterror(This,error,nexterror) ) 

#define Ilkf5_lkf_auf_firstwarning(This,aufenthalt,firstwarning)	\
    ( (This)->lpVtbl -> lkf_auf_firstwarning(This,aufenthalt,firstwarning) ) 

#define Ilkf5_lkf_auf_nextwarning(This,warn,nextwarning)	\
    ( (This)->lpVtbl -> lkf_auf_nextwarning(This,warn,nextwarning) ) 

#define Ilkf5_lkf_auf_geterrorcode(This,error,index,code)	\
    ( (This)->lpVtbl -> lkf_auf_geterrorcode(This,error,index,code) ) 

#define Ilkf5_lkf_auf_getwarningcode(This,warn,index,code)	\
    ( (This)->lpVtbl -> lkf_auf_getwarningcode(This,warn,index,code) ) 

#define Ilkf5_lkf_auf_get_maxsubgruppe(This,aufenthalt,subgruppe)	\
    ( (This)->lpVtbl -> lkf_auf_get_maxsubgruppe(This,aufenthalt,subgruppe) ) 

#define Ilkf5_lkf_auf_get_subgruppenanz(This,aufenthalt,anz)	\
    ( (This)->lpVtbl -> lkf_auf_get_subgruppenanz(This,aufenthalt,anz) ) 

#define Ilkf5_lkf_auf_get_scorvalue(This,aufenthalt,field,scorvalue)	\
    ( (This)->lpVtbl -> lkf_auf_get_scorvalue(This,aufenthalt,field,scorvalue) ) 

#define Ilkf5_lkf_auf_get_gruppe(This,aufenthalt,knoten,gruppe)	\
    ( (This)->lpVtbl -> lkf_auf_get_gruppe(This,aufenthalt,knoten,gruppe) ) 

#define Ilkf5_lkf_auf_get_subgruppe_gruppe(This,aufenthalt,index,knoten,gruppe)	\
    ( (This)->lpVtbl -> lkf_auf_get_subgruppe_gruppe(This,aufenthalt,index,knoten,gruppe) ) 

#define Ilkf5_lkf_auf_get_subgruppe_scorvalue(This,aufenthalt,index,field,scorvalue)	\
    ( (This)->lpVtbl -> lkf_auf_get_subgruppe_scorvalue(This,aufenthalt,index,field,scorvalue) ) 

#define Ilkf5_lkf_compose_filename(This,ka,type,filename)	\
    ( (This)->lpVtbl -> lkf_compose_filename(This,ka,type,filename) ) 

#define Ilkf5_lkf_write_file(This,filename,kanr,flags,error,returncode)	\
    ( (This)->lpVtbl -> lkf_write_file(This,filename,kanr,flags,error,returncode) ) 

#define Ilkf5_lkf_write_errorfile(This,filename,kanr,flags,inputfile,outputfile,error,returncode)	\
    ( (This)->lpVtbl -> lkf_write_errorfile(This,filename,kanr,flags,inputfile,outputfile,error,returncode) ) 

#define Ilkf5_lkf_get_aufenthalt_anz(This,anz)	\
    ( (This)->lpVtbl -> lkf_get_aufenthalt_anz(This,anz) ) 

#define Ilkf5_lkf_get_aufenthalt(This,index,aufenthalt)	\
    ( (This)->lpVtbl -> lkf_get_aufenthalt(This,index,aufenthalt) ) 

#define Ilkf5_lkf_reset_aufenthalte(This)	\
    ( (This)->lpVtbl -> lkf_reset_aufenthalte(This) ) 

#define Ilkf5_lkf_get_context_ka_anz(This,anz)	\
    ( (This)->lpVtbl -> lkf_get_context_ka_anz(This,anz) ) 

#define Ilkf5_lkf_get_context_ka(This,i,aufanz,kanr)	\
    ( (This)->lpVtbl -> lkf_get_context_ka(This,i,aufanz,kanr) ) 

#define Ilkf5_lkf_auf_reset_abt(This,aufenthalt)	\
    ( (This)->lpVtbl -> lkf_auf_reset_abt(This,aufenthalt) ) 

#define Ilkf5_lkf_auf_reset_mel(This,aufenthalt)	\
    ( (This)->lpVtbl -> lkf_auf_reset_mel(This,aufenthalt) ) 

#define Ilkf5_lkf_auf_reset_diag(This,aufenthalt)	\
    ( (This)->lpVtbl -> lkf_auf_reset_diag(This,aufenthalt) ) 

#define Ilkf5_lkf_plaus_GetErrorText4(This,aufenthalt,error,text,field,returncode)	\
    ( (This)->lpVtbl -> lkf_plaus_GetErrorText4(This,aufenthalt,error,text,field,returncode) ) 

#define Ilkf5_lkf_plaus_GetWarningText4(This,aufenthalt,error,text,field,returncode)	\
    ( (This)->lpVtbl -> lkf_plaus_GetWarningText4(This,aufenthalt,error,text,field,returncode) ) 

#define Ilkf5_lkf_plaus_GetErrorText(This,aufenthalt,error,text)	\
    ( (This)->lpVtbl -> lkf_plaus_GetErrorText(This,aufenthalt,error,text) ) 

#define Ilkf5_lkf_plaus_GetWarningText(This,aufenthalt,error,text)	\
    ( (This)->lpVtbl -> lkf_plaus_GetWarningText(This,aufenthalt,error,text) ) 

#define Ilkf5_lkf_auf_get_gruppe_mel(This,aufenthalt,mel)	\
    ( (This)->lpVtbl -> lkf_auf_get_gruppe_mel(This,aufenthalt,mel) ) 

#define Ilkf5_lkf_auf_get_subgruppe_mel(This,aufenthalt,index,mel)	\
    ( (This)->lpVtbl -> lkf_auf_get_subgruppe_mel(This,aufenthalt,index,mel) ) 

#define Ilkf5_lkf_auf_line_root(This,aufenthalt,rootline)	\
    ( (This)->lpVtbl -> lkf_auf_line_root(This,aufenthalt,rootline) ) 

#define Ilkf5_lkf_auf_get_abtanz(This,aufenthalt,anzahl)	\
    ( (This)->lpVtbl -> lkf_auf_get_abtanz(This,aufenthalt,anzahl) ) 

#define Ilkf5_lkf_auf_get_melanz(This,aufenthalt,anzahl)	\
    ( (This)->lpVtbl -> lkf_auf_get_melanz(This,aufenthalt,anzahl) ) 

#define Ilkf5_lkf_auf_get_diaganz(This,aufenthalt,anzahl)	\
    ( (This)->lpVtbl -> lkf_auf_get_diaganz(This,aufenthalt,anzahl) ) 

#define Ilkf5_lkf_auf_get_kostanz(This,aufenthalt,anzahl)	\
    ( (This)->lpVtbl -> lkf_auf_get_kostanz(This,aufenthalt,anzahl) ) 

#define Ilkf5_lkf_auf_get_akwarnanz(This,aufenthalt,anzahl)	\
    ( (This)->lpVtbl -> lkf_auf_get_akwarnanz(This,aufenthalt,anzahl) ) 

#define Ilkf5_lkf_auf_get_kommentaranz(This,aufenthalt,anzahl)	\
    ( (This)->lpVtbl -> lkf_auf_get_kommentaranz(This,aufenthalt,anzahl) ) 

#define Ilkf5_lkf_auf_line_abt(This,aufenthalt,i,line)	\
    ( (This)->lpVtbl -> lkf_auf_line_abt(This,aufenthalt,i,line) ) 

#define Ilkf5_lkf_auf_line_diag(This,aufenthalt,i,line)	\
    ( (This)->lpVtbl -> lkf_auf_line_diag(This,aufenthalt,i,line) ) 

#define Ilkf5_lkf_auf_line_kost(This,aufenthalt,i,line)	\
    ( (This)->lpVtbl -> lkf_auf_line_kost(This,aufenthalt,i,line) ) 

#define Ilkf5_lkf_auf_line_akwarn(This,aufenthalt,i,line)	\
    ( (This)->lpVtbl -> lkf_auf_line_akwarn(This,aufenthalt,i,line) ) 

#define Ilkf5_lkf_auf_line_kommentar(This,aufenthalt,i,line)	\
    ( (This)->lpVtbl -> lkf_auf_line_kommentar(This,aufenthalt,i,line) ) 

#define Ilkf5_lkf_auf_line_mel(This,aufenthalt,i,line)	\
    ( (This)->lpVtbl -> lkf_auf_line_mel(This,aufenthalt,i,line) ) 

#define Ilkf5_lkf_auf_line_scoring(This,aufenthalt,line)	\
    ( (This)->lpVtbl -> lkf_auf_line_scoring(This,aufenthalt,line) ) 

#define Ilkf5_lkf_auf_get_mel(This,aufenthalt,index,mel,melanz,returncode)	\
    ( (This)->lpVtbl -> lkf_auf_get_mel(This,aufenthalt,index,mel,melanz,returncode) ) 

#define Ilkf5_lkf_auf_get_abt(This,aufenthalt,index,abtfc,abtdat,abtpos,returncode)	\
    ( (This)->lpVtbl -> lkf_auf_get_abt(This,aufenthalt,index,abtfc,abtdat,abtpos,returncode) ) 

#define Ilkf5_lkf_auf_get_diag(This,aufenthalt,index,diag,diagtype,returncode)	\
    ( (This)->lpVtbl -> lkf_auf_get_diag(This,aufenthalt,index,diag,diagtype,returncode) ) 

#define Ilkf5_lkf_copy_aufenthalt(This,aufenthalt,neuer_aufenthalt)	\
    ( (This)->lpVtbl -> lkf_copy_aufenthalt(This,aufenthalt,neuer_aufenthalt) ) 

#define Ilkf5_lkf_auf_getlineanz(This,aufenthalt,lineanz)	\
    ( (This)->lpVtbl -> lkf_auf_getlineanz(This,aufenthalt,lineanz) ) 

#define Ilkf5_lkf_auf_getline(This,aufenthalt,index,line)	\
    ( (This)->lpVtbl -> lkf_auf_getline(This,aufenthalt,index,line) ) 

#define Ilkf5_lkf_set_modelljahr(This,modelljahr,input_path,errorstring,returncode)	\
    ( (This)->lpVtbl -> lkf_set_modelljahr(This,modelljahr,input_path,errorstring,returncode) ) 

#define Ilkf5_lkf_auf_get_field(This,aufenthalt,fieldnum,fieldvalue)	\
    ( (This)->lpVtbl -> lkf_auf_get_field(This,aufenthalt,fieldnum,fieldvalue) ) 

#define Ilkf5_lkf_auf_line_svnr(This,aufenthalt,line)	\
    ( (This)->lpVtbl -> lkf_auf_line_svnr(This,aufenthalt,line) ) 

#define Ilkf5_lkf_reset_ka(This,returncode)	\
    ( (This)->lpVtbl -> lkf_reset_ka(This,returncode) ) 

#define Ilkf5_lkf_add_ka_stats(This,aufenthalt,modus,returncode)	\
    ( (This)->lpVtbl -> lkf_add_ka_stats(This,aufenthalt,modus,returncode) ) 

#define Ilkf5_lkf_get_context_ka_abtanz(This,ka,returncode)	\
    ( (This)->lpVtbl -> lkf_get_context_ka_abtanz(This,ka,returncode) ) 

#define Ilkf5_lkf_get_context_ka_abtstat(This,ka,abtnr,anz,bd,err,abtfc)	\
    ( (This)->lpVtbl -> lkf_get_context_ka_abtstat(This,ka,abtnr,anz,bd,err,abtfc) ) 

#define Ilkf5_lkf_get_context_ka_optimized(This,ka,anz,opt,maxpkt,actpkt,percentage)	\
    ( (This)->lpVtbl -> lkf_get_context_ka_optimized(This,ka,anz,opt,maxpkt,actpkt,percentage) ) 

#define Ilkf5_lkf_auf_is_optimizable(This,aufenthalt,erg)	\
    ( (This)->lpVtbl -> lkf_auf_is_optimizable(This,aufenthalt,erg) ) 

#define Ilkf5_lkf_auf_get_opt_subgruppe(This,aufenthalt,gruppe)	\
    ( (This)->lpVtbl -> lkf_auf_get_opt_subgruppe(This,aufenthalt,gruppe) ) 

#define Ilkf5_lkf_auf_get_opt_percentage(This,aufenthalt,percentage)	\
    ( (This)->lpVtbl -> lkf_auf_get_opt_percentage(This,aufenthalt,percentage) ) 

#define Ilkf5_lkf_add_kost(This,aufenthalt,kost,returncode)	\
    ( (This)->lpVtbl -> lkf_add_kost(This,aufenthalt,kost,returncode) ) 

#define Ilkf5_lkf_get_errorcode_minmax(This,pmin,pmax)	\
    ( (This)->lpVtbl -> lkf_get_errorcode_minmax(This,pmin,pmax) ) 

#define Ilkf5_lkf_get_warningcode_minmax(This,pmin,pmax)	\
    ( (This)->lpVtbl -> lkf_get_warningcode_minmax(This,pmin,pmax) ) 

#define Ilkf5_lkf_context_errorcode_count(This,ka,code,count)	\
    ( (This)->lpVtbl -> lkf_context_errorcode_count(This,ka,code,count) ) 

#define Ilkf5_lkf_context_warningcode_count(This,ka,code,count)	\
    ( (This)->lpVtbl -> lkf_context_warningcode_count(This,ka,code,count) ) 

#define Ilkf5_lkf_add_mel2(This,aufenthalt,mel,melanz,meldat,ret)	\
    ( (This)->lpVtbl -> lkf_add_mel2(This,aufenthalt,mel,melanz,meldat,ret) ) 

#define Ilkf5_lkf_auf_get_abtbd(This,aufenthalt,index,abtbd,returncode)	\
    ( (This)->lpVtbl -> lkf_auf_get_abtbd(This,aufenthalt,index,abtbd,returncode) ) 

#define Ilkf5_lkf_auf_get_subgruppe_diag(This,aufenthalt,index,diag)	\
    ( (This)->lpVtbl -> lkf_auf_get_subgruppe_diag(This,aufenthalt,index,diag) ) 

#define Ilkf5_lkf_add_diag2(This,aufenthalt,diag,diagtype,diagpos,returncode)	\
    ( (This)->lpVtbl -> lkf_add_diag2(This,aufenthalt,diag,diagtype,diagpos,returncode) ) 

#define Ilkf5_lkf_auf_get_mel2(This,aufenthalt,index,mel,melanz,meldat,returncode)	\
    ( (This)->lpVtbl -> lkf_auf_get_mel2(This,aufenthalt,index,mel,melanz,meldat,returncode) ) 

#define Ilkf5_lkf_auf_get_diag2(This,aufenthalt,index,diag,diagtype,diagpos,returncode)	\
    ( (This)->lpVtbl -> lkf_auf_get_diag2(This,aufenthalt,index,diag,diagtype,diagpos,returncode) ) 

#define Ilkf5_lkf_auf_get_min_subgruppe(This,aufenthalt,gruppe)	\
    ( (This)->lpVtbl -> lkf_auf_get_min_subgruppe(This,aufenthalt,gruppe) ) 

#define Ilkf5_lkf_add_mel3(This,aufenthalt,mel,melanz,meldat,melpos,ret)	\
    ( (This)->lpVtbl -> lkf_add_mel3(This,aufenthalt,mel,melanz,meldat,melpos,ret) ) 

#define Ilkf5_lkf_auf_get_mel3(This,aufenthalt,index,mel,melanz,meldat,melpos,returncode)	\
    ( (This)->lpVtbl -> lkf_auf_get_mel3(This,aufenthalt,index,mel,melanz,meldat,melpos,returncode) ) 

#define Ilkf5_lkf_context_GetMeldeDiagAnz(This,kanr,meldediagcount)	\
    ( (This)->lpVtbl -> lkf_context_GetMeldeDiagAnz(This,kanr,meldediagcount) ) 

#define Ilkf5_lkf_plaus_meldediag_typ(This,nr,typ)	\
    ( (This)->lpVtbl -> lkf_plaus_meldediag_typ(This,nr,typ) ) 

#define Ilkf5_lkf_plaus_meldediag_text(This,nr,text)	\
    ( (This)->lpVtbl -> lkf_plaus_meldediag_text(This,nr,text) ) 

#define Ilkf5_lkf_auf_firstmeldediag(This,aufenthalt,meldediag)	\
    ( (This)->lpVtbl -> lkf_auf_firstmeldediag(This,aufenthalt,meldediag) ) 

#define Ilkf5_lkf_auf_nextmeldediag(This,meldediag,nextmeldediag)	\
    ( (This)->lpVtbl -> lkf_auf_nextmeldediag(This,meldediag,nextmeldediag) ) 

#define Ilkf5_lkf_auf_getmeldediag(This,meldediag,index,code)	\
    ( (This)->lpVtbl -> lkf_auf_getmeldediag(This,meldediag,index,code) ) 

#define Ilkf5_lkf_plaus_GetMeldeDiagAnz(This,aufenthalt,count)	\
    ( (This)->lpVtbl -> lkf_plaus_GetMeldeDiagAnz(This,aufenthalt,count) ) 

#define Ilkf5_lkf_write_meldediagfile(This,filename,kanr,error,returncode)	\
    ( (This)->lpVtbl -> lkf_write_meldediagfile(This,filename,kanr,error,returncode) ) 

#define Ilkf5_lkf_set_npplaus_tracefilename(This,outputfilename)	\
    ( (This)->lpVtbl -> lkf_set_npplaus_tracefilename(This,outputfilename) ) 

#define Ilkf5_lkf_auf_getintlineanz(This,aufenthalt,count)	\
    ( (This)->lpVtbl -> lkf_auf_getintlineanz(This,aufenthalt,count) ) 

#define Ilkf5_lkf_auf_getintline(This,aufenthalt,index,line)	\
    ( (This)->lpVtbl -> lkf_auf_getintline(This,aufenthalt,index,line) ) 

#define Ilkf5_lkf_getaddline(This,index,line)	\
    ( (This)->lpVtbl -> lkf_getaddline(This,index,line) ) 

#define Ilkf5_lkf_check(This,modus,returncode)	\
    ( (This)->lpVtbl -> lkf_check(This,modus,returncode) ) 

#define Ilkf5_lkf_getSatzartErrorCount(This,count)	\
    ( (This)->lpVtbl -> lkf_getSatzartErrorCount(This,count) ) 

#define Ilkf5_lkf_getSatzartError(This,index,line)	\
    ( (This)->lpVtbl -> lkf_getSatzartError(This,index,line) ) 

#define Ilkf5_lkf_getSatzartErrorHeadline(This,Facility,line)	\
    ( (This)->lpVtbl -> lkf_getSatzartErrorHeadline(This,Facility,line) ) 

#define Ilkf5_lkf_set_compatibilitymode(This,compatibility)	\
    ( (This)->lpVtbl -> lkf_set_compatibilitymode(This,compatibility) ) 

#define Ilkf5_lkf_setErrorFormat(This,Facility,FieldNums,ReturnCode)	\
    ( (This)->lpVtbl -> lkf_setErrorFormat(This,Facility,FieldNums,ReturnCode) ) 

#define Ilkf5_lkf_setErrorFilter(This,Filter,ErrorCount)	\
    ( (This)->lpVtbl -> lkf_setErrorFilter(This,Filter,ErrorCount) ) 

#define Ilkf5_lkf_int_scoring(This,ReturnCode)	\
    ( (This)->lpVtbl -> lkf_int_scoring(This,ReturnCode) ) 

#define Ilkf5_lkf_setIntAbtData(This,ABTFC,BettenAnzahl,ReturnCode)	\
    ( (This)->lpVtbl -> lkf_setIntAbtData(This,ABTFC,BettenAnzahl,ReturnCode) ) 

#define Ilkf5_lkf_getaddlineanz(This,Count)	\
    ( (This)->lpVtbl -> lkf_getaddlineanz(This,Count) ) 

#define Ilkf5_lkf_int_getAbtAnz(This,AbtAnz)	\
    ( (This)->lpVtbl -> lkf_int_getAbtAnz(This,AbtAnz) ) 

#define Ilkf5_lkf_int_getAnalyseHeadline(This,Line)	\
    ( (This)->lpVtbl -> lkf_int_getAnalyseHeadline(This,Line) ) 

#define Ilkf5_lkf_int_getAnalyseData(This,AbtNr,Monat,Line)	\
    ( (This)->lpVtbl -> lkf_int_getAnalyseData(This,AbtNr,Monat,Line) ) 

#define Ilkf5_lkf_int_getAbtHeadline(This,Line)	\
    ( (This)->lpVtbl -> lkf_int_getAbtHeadline(This,Line) ) 

#define Ilkf5_lkf_int_getAbtData(This,AbtNr,Line)	\
    ( (This)->lpVtbl -> lkf_int_getAbtData(This,AbtNr,Line) ) 

#define Ilkf5_lkf_int_getIntAufenthaltCount(This,Count)	\
    ( (This)->lpVtbl -> lkf_int_getIntAufenthaltCount(This,Count) ) 

#define Ilkf5_lkf_int_getIntAufenthaltTISSCount(This,AufNr,Count)	\
    ( (This)->lpVtbl -> lkf_int_getIntAufenthaltTISSCount(This,AufNr,Count) ) 

#define Ilkf5_lkf_int_getIntAufenthaltDetailsHeadline(This,Line)	\
    ( (This)->lpVtbl -> lkf_int_getIntAufenthaltDetailsHeadline(This,Line) ) 

#define Ilkf5_lkf_int_getIntAufenthaltDetails(This,AufNr,Line)	\
    ( (This)->lpVtbl -> lkf_int_getIntAufenthaltDetails(This,AufNr,Line) ) 

#define Ilkf5_lkf_int_getIntAufenthaltTRISSCount(This,lIntAuf,Count)	\
    ( (This)->lpVtbl -> lkf_int_getIntAufenthaltTRISSCount(This,lIntAuf,Count) ) 

#define Ilkf5_lkf_int_getIntAufenthaltSAPSCount(This,lIntAuf,Count)	\
    ( (This)->lpVtbl -> lkf_int_getIntAufenthaltSAPSCount(This,lIntAuf,Count) ) 

#define Ilkf5_lkf_int_getIntAufenthaltDetailsLine(This,lIntAuf,lSatzartNr,lNr,Line)	\
    ( (This)->lpVtbl -> lkf_int_getIntAufenthaltDetailsLine(This,lIntAuf,lSatzartNr,lNr,Line) ) 

#define Ilkf5_lkf_int_getIntAufenthaltDetailsField(This,lIntAuf,lSatzartNr,lNr,lFieldNr,Value)	\
    ( (This)->lpVtbl -> lkf_int_getIntAufenthaltDetailsField(This,lIntAuf,lSatzartNr,lNr,lFieldNr,Value) ) 

#define Ilkf5_lkf_context_scoring(This,AufenthaltCount,returncode)	\
    ( (This)->lpVtbl -> lkf_context_scoring(This,AufenthaltCount,returncode) ) 

#define Ilkf5_lkf_setIntAbtDataIndex(This,AbtIndex,Bettenanzahl,ReturnCode)	\
    ( (This)->lpVtbl -> lkf_setIntAbtDataIndex(This,AbtIndex,Bettenanzahl,ReturnCode) ) 

#define Ilkf5_lkf_int_getAbtFC(This,AbtIndex,ABTFC)	\
    ( (This)->lpVtbl -> lkf_int_getAbtFC(This,AbtIndex,ABTFC) ) 

#define Ilkf5_lkf_set_abrechnungsjahr(This,Abrechnungsjahr)	\
    ( (This)->lpVtbl -> lkf_set_abrechnungsjahr(This,Abrechnungsjahr) ) 

#define Ilkf5_lkf_set_contextflags(This,Flags)	\
    ( (This)->lpVtbl -> lkf_set_contextflags(This,Flags) ) 

#define Ilkf5_lkf_int_setintcontextparameters(This,VonDatum,BisDatum,Flags,MaxStunden,Result)	\
    ( (This)->lpVtbl -> lkf_int_setintcontextparameters(This,VonDatum,BisDatum,Flags,MaxStunden,Result) ) 

#define Ilkf5_lkf_int_getIntAufenthaltSAPSField(This,AufNr,SAPSNr,FieldNr,Field)	\
    ( (This)->lpVtbl -> lkf_int_getIntAufenthaltSAPSField(This,AufNr,SAPSNr,FieldNr,Field) ) 

#define Ilkf5_lkf_int_getIntAufenthaltTISSField(This,AufNr,TISSNr,FieldNr,Field)	\
    ( (This)->lpVtbl -> lkf_int_getIntAufenthaltTISSField(This,AufNr,TISSNr,FieldNr,Field) ) 

#define Ilkf5_lkf_int_getIntAufenthaltTRISSField(This,AufNr,TRISSNr,FieldNr,Field)	\
    ( (This)->lpVtbl -> lkf_int_getIntAufenthaltTRISSField(This,AufNr,TRISSNr,FieldNr,Field) ) 

#define Ilkf5_lkf_int_getIntAufenthaltSAPSDetails(This,AufNr,SAPSNr,Line)	\
    ( (This)->lpVtbl -> lkf_int_getIntAufenthaltSAPSDetails(This,AufNr,SAPSNr,Line) ) 

#define Ilkf5_lkf_int_getIntAufenthaltTISSDetails(This,AufNr,TISSNr,Line)	\
    ( (This)->lpVtbl -> lkf_int_getIntAufenthaltTISSDetails(This,AufNr,TISSNr,Line) ) 

#define Ilkf5_lkf_int_getIntAufenthaltTRISSDetails(This,AufNr,TRISSNr,Line)	\
    ( (This)->lpVtbl -> lkf_int_getIntAufenthaltTRISSDetails(This,AufNr,TRISSNr,Line) ) 

#define Ilkf5_lkf_stat(This,Flags,Result)	\
    ( (This)->lpVtbl -> lkf_stat(This,Flags,Result) ) 

#define Ilkf5_lkf_stat_getLineCount(This,StatType,LineCount)	\
    ( (This)->lpVtbl -> lkf_stat_getLineCount(This,StatType,LineCount) ) 

#define Ilkf5_lkf_stat_getHeadline(This,StatType,Line)	\
    ( (This)->lpVtbl -> lkf_stat_getHeadline(This,StatType,Line) ) 

#define Ilkf5_lkf_stat_getLine(This,StatType,LineNr,Line)	\
    ( (This)->lpVtbl -> lkf_stat_getLine(This,StatType,LineNr,Line) ) 

#define Ilkf5_lkf_stat_getFieldByPosition(This,StatType,LineNr,FieldPos,FieldValue)	\
    ( (This)->lpVtbl -> lkf_stat_getFieldByPosition(This,StatType,LineNr,FieldPos,FieldValue) ) 

#define Ilkf5_lkf_stat_getField(This,StatType,LineNr,FieldId,FieldValue)	\
    ( (This)->lpVtbl -> lkf_stat_getField(This,StatType,LineNr,FieldId,FieldValue) ) 

#define Ilkf5_lkf_stat_getFieldCount(This,StatType,ColumnCount)	\
    ( (This)->lpVtbl -> lkf_stat_getFieldCount(This,StatType,ColumnCount) ) 

#define Ilkf5_lkf_stat_getFieldHeadlineByPosition(This,StatType,FieldPosition,Headline)	\
    ( (This)->lpVtbl -> lkf_stat_getFieldHeadlineByPosition(This,StatType,FieldPosition,Headline) ) 

#define Ilkf5_lkf_stat_getFieldHeadline(This,StatType,FieldId,Headline)	\
    ( (This)->lpVtbl -> lkf_stat_getFieldHeadline(This,StatType,FieldId,Headline) ) 

#define Ilkf5_lkf_stat_getLineByLineInfo(This,StatType,Info,LineNr)	\
    ( (This)->lpVtbl -> lkf_stat_getLineByLineInfo(This,StatType,Info,LineNr) ) 

#define Ilkf5_lkf_getSatzartErrorFieldHeadline(This,FieldNumber,FieldHeadline)	\
    ( (This)->lpVtbl -> lkf_getSatzartErrorFieldHeadline(This,FieldNumber,FieldHeadline) ) 

#define Ilkf5_lkf_getSatzartErrorField(This,ErrorIndex,FieldNumber,FieldValue)	\
    ( (This)->lpVtbl -> lkf_getSatzartErrorField(This,ErrorIndex,FieldNumber,FieldValue) ) 

#define Ilkf5_lkf_getSatzartErrorSum_Count(This,Count)	\
    ( (This)->lpVtbl -> lkf_getSatzartErrorSum_Count(This,Count) ) 

#define Ilkf5_lkf_getSatzartErrorSum_CodeToId(This,ErrorCode,ErrorId)	\
    ( (This)->lpVtbl -> lkf_getSatzartErrorSum_CodeToId(This,ErrorCode,ErrorId) ) 

#define Ilkf5_lkf_getSatzartErrorSum_Field(This,ErrorId,FieldNr,ErrorText)	\
    ( (This)->lpVtbl -> lkf_getSatzartErrorSum_Field(This,ErrorId,FieldNr,ErrorText) ) 

#define Ilkf5_lkf_context_getAllErrorCount(This,Count)	\
    ( (This)->lpVtbl -> lkf_context_getAllErrorCount(This,Count) ) 

#define Ilkf5_lkf_context_getAllErrorInfo_CodeToId(This,ErrorCode,ErrorId)	\
    ( (This)->lpVtbl -> lkf_context_getAllErrorInfo_CodeToId(This,ErrorCode,ErrorId) ) 

#define Ilkf5_lkf_context_getAllErrorInfo(This,ErrorId,FieldNr,ErrorText)	\
    ( (This)->lpVtbl -> lkf_context_getAllErrorInfo(This,ErrorId,FieldNr,ErrorText) ) 

#define Ilkf5_lkf_convertMBDSErrorCode(This,OldCode,NewCode)	\
    ( (This)->lpVtbl -> lkf_convertMBDSErrorCode(This,OldCode,NewCode) ) 

#define Ilkf5_lkf_convertMBDSWarningCode(This,OldCode,NewCode)	\
    ( (This)->lpVtbl -> lkf_convertMBDSWarningCode(This,OldCode,NewCode) ) 

#define Ilkf5_lkf_npplaus_getProtokollHeadline(This,Line)	\
    ( (This)->lpVtbl -> lkf_npplaus_getProtokollHeadline(This,Line) ) 

#define Ilkf5_lkf_npplaus_getWarningLineCount(This,Count)	\
    ( (This)->lpVtbl -> lkf_npplaus_getWarningLineCount(This,Count) ) 

#define Ilkf5_lkf_npplaus_getProtokollLineCount(This,Count)	\
    ( (This)->lpVtbl -> lkf_npplaus_getProtokollLineCount(This,Count) ) 

#define Ilkf5_lkf_npplaus_getWarningLine(This,LineNr,Line)	\
    ( (This)->lpVtbl -> lkf_npplaus_getWarningLine(This,LineNr,Line) ) 

#define Ilkf5_lkf_npplaus_getProtokollLine(This,LineNr,Line)	\
    ( (This)->lpVtbl -> lkf_npplaus_getProtokollLine(This,LineNr,Line) ) 

#define Ilkf5_lkf_npplaus_sum_headline(This,Line)	\
    ( (This)->lpVtbl -> lkf_npplaus_sum_headline(This,Line) ) 

#define Ilkf5_lkf_npplaus_sum_abtcount(This,AbtCount)	\
    ( (This)->lpVtbl -> lkf_npplaus_sum_abtcount(This,AbtCount) ) 

#define Ilkf5_lkf_npplaus_sum_abtline(This,AbtIndex,Line)	\
    ( (This)->lpVtbl -> lkf_npplaus_sum_abtline(This,AbtIndex,Line) ) 

#define Ilkf5_lkf_npplaus_getReasonCount(This,WarningNr,ReasonCount)	\
    ( (This)->lpVtbl -> lkf_npplaus_getReasonCount(This,WarningNr,ReasonCount) ) 

#define Ilkf5_lkf_npplaus_getReasonLine(This,WarningNr,ReasonNr,Line)	\
    ( (This)->lpVtbl -> lkf_npplaus_getReasonLine(This,WarningNr,ReasonNr,Line) ) 

#define Ilkf5_lkf_npplaus_getInfoLine(This,WarningNr,Line)	\
    ( (This)->lpVtbl -> lkf_npplaus_getInfoLine(This,WarningNr,Line) ) 

#define Ilkf5_lkf_npplaus_tfsum_headline(This,Headline)	\
    ( (This)->lpVtbl -> lkf_npplaus_tfsum_headline(This,Headline) ) 

#define Ilkf5_lkf_npplaus_critsum_headline(This,Headline)	\
    ( (This)->lpVtbl -> lkf_npplaus_critsum_headline(This,Headline) ) 

#define Ilkf5_lkf_npplaus_tfsum(This,AbtIndex,Line)	\
    ( (This)->lpVtbl -> lkf_npplaus_tfsum(This,AbtIndex,Line) ) 

#define Ilkf5_lkf_npplaus_critsum(This,AbtIndex,Line)	\
    ( (This)->lpVtbl -> lkf_npplaus_critsum(This,AbtIndex,Line) ) 

#define Ilkf5_lkf_auf_getErrorLine(This,Aufenthalt,Err,ErrorLine)	\
    ( (This)->lpVtbl -> lkf_auf_getErrorLine(This,Aufenthalt,Err,ErrorLine) ) 

#define Ilkf5_lkf_auf_getWarningLine(This,Aufenthalt,warn,WarningLine)	\
    ( (This)->lpVtbl -> lkf_auf_getWarningLine(This,Aufenthalt,warn,WarningLine) ) 

#define Ilkf5_lkf_trace_setLevel(This,Facility,TraceLevel)	\
    ( (This)->lpVtbl -> lkf_trace_setLevel(This,Facility,TraceLevel) ) 

#define Ilkf5_lkf_trace_getLineCount(This,LineCount)	\
    ( (This)->lpVtbl -> lkf_trace_getLineCount(This,LineCount) ) 

#define Ilkf5_lkf_trace_getLine(This,LineNr,Line)	\
    ( (This)->lpVtbl -> lkf_trace_getLine(This,LineNr,Line) ) 

#define Ilkf5_lkf_trace_getLevel(This,Facility,DebugLevel)	\
    ( (This)->lpVtbl -> lkf_trace_getLevel(This,Facility,DebugLevel) ) 

#define Ilkf5_lkf_trace_getAufenthalt(This,Aufenthaltszahl)	\
    ( (This)->lpVtbl -> lkf_trace_getAufenthalt(This,Aufenthaltszahl) ) 

#define Ilkf5_lkf_set_debug_trace(This)	\
    ( (This)->lpVtbl -> lkf_set_debug_trace(This) ) 

#define Ilkf5_lkf_trace_setAufenthalt(This,Aufenthaltszahl)	\
    ( (This)->lpVtbl -> lkf_trace_setAufenthalt(This,Aufenthaltszahl) ) 

#define Ilkf5_lkf_context_get_errortext(This,Error)	\
    ( (This)->lpVtbl -> lkf_context_get_errortext(This,Error) ) 

#define Ilkf5_lkf_auf_line_akwarn2(This,aufenthalt,i,HitCount,line)	\
    ( (This)->lpVtbl -> lkf_auf_line_akwarn2(This,aufenthalt,i,HitCount,line) ) 

#define Ilkf5_lkf_context_GetHinweisAnz(This,kanr,accepted,erroranz)	\
    ( (This)->lpVtbl -> lkf_context_GetHinweisAnz(This,kanr,accepted,erroranz) ) 

#define Ilkf5_lkf_auf_firstinfo(This,aufenthalt,firstinfo)	\
    ( (This)->lpVtbl -> lkf_auf_firstinfo(This,aufenthalt,firstinfo) ) 

#define Ilkf5_lkf_auf_nextinfo(This,info,nextinfo)	\
    ( (This)->lpVtbl -> lkf_auf_nextinfo(This,info,nextinfo) ) 

#define Ilkf5_lkf_auf_getInfoLine(This,Aufenthalt,info,InfoLine)	\
    ( (This)->lpVtbl -> lkf_auf_getInfoLine(This,Aufenthalt,info,InfoLine) ) 

#define Ilkf5_lkf_plaus_GetInfoAnz(This,aufenthalt,accepted,warninganz)	\
    ( (This)->lpVtbl -> lkf_plaus_GetInfoAnz(This,aufenthalt,accepted,warninganz) ) 

#define Ilkf5_lkf_context_GetGlobalInfo(This,type,info)	\
    ( (This)->lpVtbl -> lkf_context_GetGlobalInfo(This,type,info) ) 

#define Ilkf5_lkf_auf_get_abtfield(This,aufenthalt,index,fieldindex,fieldvalue)	\
    ( (This)->lpVtbl -> lkf_auf_get_abtfield(This,aufenthalt,index,fieldindex,fieldvalue) ) 

#define Ilkf5_lkf_reset_aufenthalt_package(This)	\
    ( (This)->lpVtbl -> lkf_reset_aufenthalt_package(This) ) 

#define Ilkf5_lkf_context_plaus(This,AufenthaltCount,returncode)	\
    ( (This)->lpVtbl -> lkf_context_plaus(This,AufenthaltCount,returncode) ) 

#define Ilkf5_lkf_context_plaus_package(This,IsFirstPackage,returncode)	\
    ( (This)->lpVtbl -> lkf_context_plaus_package(This,IsFirstPackage,returncode) ) 

#define Ilkf5_lkf_context_read_dat(This,fileName,numberOfLines)	\
    ( (This)->lpVtbl -> lkf_context_read_dat(This,fileName,numberOfLines) ) 

#define Ilkf5_lkf_context_dat_line(This,lineIndex,line)	\
    ( (This)->lpVtbl -> lkf_context_dat_line(This,lineIndex,line) ) 

#define Ilkf5_lkf_context_free_dat(This)	\
    ( (This)->lpVtbl -> lkf_context_free_dat(This) ) 

#define Ilkf5_lkf_context_getSatzartErrorAnz(This,flags,numberOfErrors)	\
    ( (This)->lpVtbl -> lkf_context_getSatzartErrorAnz(This,flags,numberOfErrors) ) 

#define Ilkf5_lkf_auf_get_abtscor100(This,Aufenthalt,abtIndex,abtpos,tp100,lp100,p100)	\
    ( (This)->lpVtbl -> lkf_auf_get_abtscor100(This,Aufenthalt,abtIndex,abtpos,tp100,lp100,p100) ) 

#define Ilkf5_lkf_auf_get_abtscor(This,Aufenthalt,abtIndex,abtpos,tp,lp,p)	\
    ( (This)->lpVtbl -> lkf_auf_get_abtscor(This,Aufenthalt,abtIndex,abtpos,tp,lp,p) ) 

#define Ilkf5_lkf_stat_package(This,ret)	\
    ( (This)->lpVtbl -> lkf_stat_package(This,ret) ) 

#define Ilkf5_lkf_check_nombds(This,ret)	\
    ( (This)->lpVtbl -> lkf_check_nombds(This,ret) ) 

#define Ilkf5_lkf_setErrorCountsFilter(This,Filter,ErrorCount)	\
    ( (This)->lpVtbl -> lkf_setErrorCountsFilter(This,Filter,ErrorCount) ) 

#define Ilkf5_lkf_get_amb_counter(This,counterIndex,value)	\
    ( (This)->lpVtbl -> lkf_get_amb_counter(This,counterIndex,value) ) 

#define Ilkf5_lkf_auf_get_melIndexForPos(This,Aufenthalt,melpos,value)	\
    ( (This)->lpVtbl -> lkf_auf_get_melIndexForPos(This,Aufenthalt,melpos,value) ) 

#define Ilkf5_lkf_auf_get_mel_field(This,Aufenthalt,melIndex,melFieldIndex,value)	\
    ( (This)->lpVtbl -> lkf_auf_get_mel_field(This,Aufenthalt,melIndex,melFieldIndex,value) ) 

#define Ilkf5_lkf_auf_get_mel_value(This,Aufenthalt,melIndex,melFieldIndex,value)	\
    ( (This)->lpVtbl -> lkf_auf_get_mel_value(This,Aufenthalt,melIndex,melFieldIndex,value) ) 

#define Ilkf5_lkf_context_set_modelparameter(This,parameterIndex,parameterValue,retVal)	\
    ( (This)->lpVtbl -> lkf_context_set_modelparameter(This,parameterIndex,parameterValue,retVal) ) 

#define Ilkf5_lkf_get_amb_kostenstelle_count(This,value)	\
    ( (This)->lpVtbl -> lkf_get_amb_kostenstelle_count(This,value) ) 

#define Ilkf5_lkf_get_amb_kostenstelle_value(This,index,ambIndex,value)	\
    ( (This)->lpVtbl -> lkf_get_amb_kostenstelle_value(This,index,ambIndex,value) ) 

#define Ilkf5_lkf_get_amb_kostenstelle_stringvalue(This,index,ambIndex,value)	\
    ( (This)->lpVtbl -> lkf_get_amb_kostenstelle_stringvalue(This,index,ambIndex,value) ) 

#define Ilkf5_lkf_get_amb_kostenstelle_counter(This,kostenstelle,ambIndex,value)	\
    ( (This)->lpVtbl -> lkf_get_amb_kostenstelle_counter(This,kostenstelle,ambIndex,value) ) 

#define Ilkf5_lkf_get_amb_kostenstelle_index(This,kostenstelle,value)	\
    ( (This)->lpVtbl -> lkf_get_amb_kostenstelle_index(This,kostenstelle,value) ) 

#define Ilkf5_lkf_add_mel6(This,aufenthalt,mel,melanz,meldat,melpos,melzeit,seite,fcleist,kaleist,addinfo,ret)	\
    ( (This)->lpVtbl -> lkf_add_mel6(This,aufenthalt,mel,melanz,meldat,melpos,melzeit,seite,fcleist,kaleist,addinfo,ret) ) 

#endif /* COBJMACROS */


#endif 	/* C style interface */



/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Ilkf5_lkf_int_getAbtAnz_Proxy( 
    Ilkf5 * This,
    /* [retval][out] */ LONG *AbtAnz);


void __RPC_STUB Ilkf5_lkf_int_getAbtAnz_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Ilkf5_lkf_int_getAnalyseHeadline_Proxy( 
    Ilkf5 * This,
    /* [retval][out] */ BSTR *Line);


void __RPC_STUB Ilkf5_lkf_int_getAnalyseHeadline_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Ilkf5_lkf_int_getAnalyseData_Proxy( 
    Ilkf5 * This,
    LONG AbtNr,
    LONG Monat,
    /* [retval][out] */ BSTR *Line);


void __RPC_STUB Ilkf5_lkf_int_getAnalyseData_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Ilkf5_lkf_int_getAbtHeadline_Proxy( 
    Ilkf5 * This,
    /* [retval][out] */ BSTR *Line);


void __RPC_STUB Ilkf5_lkf_int_getAbtHeadline_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Ilkf5_lkf_int_getAbtData_Proxy( 
    Ilkf5 * This,
    LONG AbtNr,
    /* [retval][out] */ BSTR *Line);


void __RPC_STUB Ilkf5_lkf_int_getAbtData_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Ilkf5_lkf_int_getIntAufenthaltCount_Proxy( 
    Ilkf5 * This,
    /* [retval][out] */ LONG *Count);


void __RPC_STUB Ilkf5_lkf_int_getIntAufenthaltCount_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Ilkf5_lkf_int_getIntAufenthaltTISSCount_Proxy( 
    Ilkf5 * This,
    LONG AufNr,
    /* [retval][out] */ LONG *Count);


void __RPC_STUB Ilkf5_lkf_int_getIntAufenthaltTISSCount_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Ilkf5_lkf_int_getIntAufenthaltDetailsHeadline_Proxy( 
    Ilkf5 * This,
    /* [retval][out] */ BSTR *Line);


void __RPC_STUB Ilkf5_lkf_int_getIntAufenthaltDetailsHeadline_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Ilkf5_lkf_int_getIntAufenthaltDetails_Proxy( 
    Ilkf5 * This,
    LONG AufNr,
    /* [retval][out] */ BSTR *Line);


void __RPC_STUB Ilkf5_lkf_int_getIntAufenthaltDetails_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Ilkf5_lkf_int_getIntAufenthaltTRISSCount_Proxy( 
    Ilkf5 * This,
    LONG lIntAuf,
    /* [retval][out] */ LONG *Count);


void __RPC_STUB Ilkf5_lkf_int_getIntAufenthaltTRISSCount_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Ilkf5_lkf_int_getIntAufenthaltSAPSCount_Proxy( 
    Ilkf5 * This,
    LONG lIntAuf,
    /* [retval][out] */ LONG *Count);


void __RPC_STUB Ilkf5_lkf_int_getIntAufenthaltSAPSCount_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Ilkf5_lkf_int_getIntAufenthaltDetailsLine_Proxy( 
    Ilkf5 * This,
    LONG lIntAuf,
    LONG lSatzartNr,
    LONG lNr,
    /* [retval][out] */ BSTR *Line);


void __RPC_STUB Ilkf5_lkf_int_getIntAufenthaltDetailsLine_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Ilkf5_lkf_int_getIntAufenthaltDetailsField_Proxy( 
    Ilkf5 * This,
    LONG lIntAuf,
    LONG lSatzartNr,
    LONG lNr,
    LONG lFieldNr,
    /* [retval][out] */ BSTR *Value);


void __RPC_STUB Ilkf5_lkf_int_getIntAufenthaltDetailsField_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Ilkf5_lkf_context_scoring_Proxy( 
    Ilkf5 * This,
    LONG AufenthaltCount,
    /* [retval][out] */ LONG *returncode);


void __RPC_STUB Ilkf5_lkf_context_scoring_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Ilkf5_lkf_setIntAbtDataIndex_Proxy( 
    Ilkf5 * This,
    LONG AbtIndex,
    LONG Bettenanzahl,
    /* [retval][out] */ LONG *ReturnCode);


void __RPC_STUB Ilkf5_lkf_setIntAbtDataIndex_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Ilkf5_lkf_int_getAbtFC_Proxy( 
    Ilkf5 * This,
    LONG AbtIndex,
    /* [retval][out] */ BSTR *ABTFC);


void __RPC_STUB Ilkf5_lkf_int_getAbtFC_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Ilkf5_lkf_set_abrechnungsjahr_Proxy( 
    Ilkf5 * This,
    LONG Abrechnungsjahr);


void __RPC_STUB Ilkf5_lkf_set_abrechnungsjahr_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Ilkf5_lkf_set_contextflags_Proxy( 
    Ilkf5 * This,
    LONG Flags);


void __RPC_STUB Ilkf5_lkf_set_contextflags_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Ilkf5_lkf_int_setintcontextparameters_Proxy( 
    Ilkf5 * This,
    /* [in] */ BSTR VonDatum,
    /* [in] */ BSTR BisDatum,
    /* [in] */ LONG Flags,
    /* [in] */ LONG MaxStunden,
    /* [retval][out] */ LONG *Result);


void __RPC_STUB Ilkf5_lkf_int_setintcontextparameters_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Ilkf5_lkf_int_getIntAufenthaltSAPSField_Proxy( 
    Ilkf5 * This,
    LONG AufNr,
    LONG SAPSNr,
    LONG FieldNr,
    /* [retval][out] */ BSTR *Field);


void __RPC_STUB Ilkf5_lkf_int_getIntAufenthaltSAPSField_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Ilkf5_lkf_int_getIntAufenthaltTISSField_Proxy( 
    Ilkf5 * This,
    LONG AufNr,
    LONG TISSNr,
    LONG FieldNr,
    /* [retval][out] */ BSTR *Field);


void __RPC_STUB Ilkf5_lkf_int_getIntAufenthaltTISSField_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Ilkf5_lkf_int_getIntAufenthaltTRISSField_Proxy( 
    Ilkf5 * This,
    LONG AufNr,
    LONG TRISSNr,
    LONG FieldNr,
    /* [retval][out] */ BSTR *Field);


void __RPC_STUB Ilkf5_lkf_int_getIntAufenthaltTRISSField_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Ilkf5_lkf_int_getIntAufenthaltSAPSDetails_Proxy( 
    Ilkf5 * This,
    LONG AufNr,
    LONG SAPSNr,
    /* [retval][out] */ BSTR *Line);


void __RPC_STUB Ilkf5_lkf_int_getIntAufenthaltSAPSDetails_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Ilkf5_lkf_int_getIntAufenthaltTISSDetails_Proxy( 
    Ilkf5 * This,
    LONG AufNr,
    LONG TISSNr,
    /* [retval][out] */ BSTR *Line);


void __RPC_STUB Ilkf5_lkf_int_getIntAufenthaltTISSDetails_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Ilkf5_lkf_int_getIntAufenthaltTRISSDetails_Proxy( 
    Ilkf5 * This,
    LONG AufNr,
    LONG TRISSNr,
    /* [retval][out] */ BSTR *Line);


void __RPC_STUB Ilkf5_lkf_int_getIntAufenthaltTRISSDetails_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Ilkf5_lkf_stat_Proxy( 
    Ilkf5 * This,
    LONG Flags,
    /* [retval][out] */ LONG *Result);


void __RPC_STUB Ilkf5_lkf_stat_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Ilkf5_lkf_stat_getLineCount_Proxy( 
    Ilkf5 * This,
    LONG StatType,
    /* [retval][out] */ LONG *LineCount);


void __RPC_STUB Ilkf5_lkf_stat_getLineCount_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Ilkf5_lkf_stat_getHeadline_Proxy( 
    Ilkf5 * This,
    LONG StatType,
    /* [retval][out] */ BSTR *Line);


void __RPC_STUB Ilkf5_lkf_stat_getHeadline_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Ilkf5_lkf_stat_getLine_Proxy( 
    Ilkf5 * This,
    LONG StatType,
    LONG LineNr,
    /* [retval][out] */ BSTR *Line);


void __RPC_STUB Ilkf5_lkf_stat_getLine_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Ilkf5_lkf_stat_getFieldByPosition_Proxy( 
    Ilkf5 * This,
    LONG StatType,
    LONG LineNr,
    LONG FieldPos,
    /* [retval][out] */ BSTR *FieldValue);


void __RPC_STUB Ilkf5_lkf_stat_getFieldByPosition_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Ilkf5_lkf_stat_getField_Proxy( 
    Ilkf5 * This,
    LONG StatType,
    LONG LineNr,
    LONG FieldId,
    /* [retval][out] */ BSTR *FieldValue);


void __RPC_STUB Ilkf5_lkf_stat_getField_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Ilkf5_lkf_stat_getFieldCount_Proxy( 
    Ilkf5 * This,
    LONG StatType,
    /* [retval][out] */ LONG *ColumnCount);


void __RPC_STUB Ilkf5_lkf_stat_getFieldCount_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Ilkf5_lkf_stat_getFieldHeadlineByPosition_Proxy( 
    Ilkf5 * This,
    LONG StatType,
    LONG FieldPosition,
    /* [retval][out] */ BSTR *Headline);


void __RPC_STUB Ilkf5_lkf_stat_getFieldHeadlineByPosition_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Ilkf5_lkf_stat_getFieldHeadline_Proxy( 
    Ilkf5 * This,
    LONG StatType,
    LONG FieldId,
    /* [retval][out] */ BSTR *Headline);


void __RPC_STUB Ilkf5_lkf_stat_getFieldHeadline_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Ilkf5_lkf_stat_getLineByLineInfo_Proxy( 
    Ilkf5 * This,
    LONG StatType,
    BSTR Info,
    /* [retval][out] */ LONG *LineNr);


void __RPC_STUB Ilkf5_lkf_stat_getLineByLineInfo_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Ilkf5_lkf_getSatzartErrorFieldHeadline_Proxy( 
    Ilkf5 * This,
    LONG FieldNumber,
    /* [retval][out] */ BSTR *FieldHeadline);


void __RPC_STUB Ilkf5_lkf_getSatzartErrorFieldHeadline_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Ilkf5_lkf_getSatzartErrorField_Proxy( 
    Ilkf5 * This,
    LONG ErrorIndex,
    LONG FieldNumber,
    /* [retval][out] */ BSTR *FieldValue);


void __RPC_STUB Ilkf5_lkf_getSatzartErrorField_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Ilkf5_lkf_getSatzartErrorSum_Count_Proxy( 
    Ilkf5 * This,
    /* [retval][out] */ LONG *Count);


void __RPC_STUB Ilkf5_lkf_getSatzartErrorSum_Count_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Ilkf5_lkf_getSatzartErrorSum_CodeToId_Proxy( 
    Ilkf5 * This,
    BSTR ErrorCode,
    /* [retval][out] */ LONG *ErrorId);


void __RPC_STUB Ilkf5_lkf_getSatzartErrorSum_CodeToId_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Ilkf5_lkf_getSatzartErrorSum_Field_Proxy( 
    Ilkf5 * This,
    LONG ErrorId,
    LONG FieldNr,
    /* [retval][out] */ BSTR *ErrorText);


void __RPC_STUB Ilkf5_lkf_getSatzartErrorSum_Field_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Ilkf5_lkf_context_getAllErrorCount_Proxy( 
    Ilkf5 * This,
    /* [retval][out] */ LONG *Count);


void __RPC_STUB Ilkf5_lkf_context_getAllErrorCount_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Ilkf5_lkf_context_getAllErrorInfo_CodeToId_Proxy( 
    Ilkf5 * This,
    BSTR ErrorCode,
    /* [retval][out] */ LONG *ErrorId);


void __RPC_STUB Ilkf5_lkf_context_getAllErrorInfo_CodeToId_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Ilkf5_lkf_context_getAllErrorInfo_Proxy( 
    Ilkf5 * This,
    LONG ErrorId,
    LONG FieldNr,
    /* [retval][out] */ BSTR *ErrorText);


void __RPC_STUB Ilkf5_lkf_context_getAllErrorInfo_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Ilkf5_lkf_convertMBDSErrorCode_Proxy( 
    Ilkf5 * This,
    LONG OldCode,
    /* [retval][out] */ BSTR *NewCode);


void __RPC_STUB Ilkf5_lkf_convertMBDSErrorCode_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Ilkf5_lkf_convertMBDSWarningCode_Proxy( 
    Ilkf5 * This,
    LONG OldCode,
    /* [retval][out] */ BSTR *NewCode);


void __RPC_STUB Ilkf5_lkf_convertMBDSWarningCode_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Ilkf5_lkf_npplaus_getProtokollHeadline_Proxy( 
    Ilkf5 * This,
    /* [retval][out] */ BSTR *Line);


void __RPC_STUB Ilkf5_lkf_npplaus_getProtokollHeadline_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Ilkf5_lkf_npplaus_getWarningLineCount_Proxy( 
    Ilkf5 * This,
    /* [retval][out] */ LONG *Count);


void __RPC_STUB Ilkf5_lkf_npplaus_getWarningLineCount_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Ilkf5_lkf_npplaus_getProtokollLineCount_Proxy( 
    Ilkf5 * This,
    /* [retval][out] */ LONG *Count);


void __RPC_STUB Ilkf5_lkf_npplaus_getProtokollLineCount_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Ilkf5_lkf_npplaus_getWarningLine_Proxy( 
    Ilkf5 * This,
    LONG LineNr,
    /* [retval][out] */ BSTR *Line);


void __RPC_STUB Ilkf5_lkf_npplaus_getWarningLine_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Ilkf5_lkf_npplaus_getProtokollLine_Proxy( 
    Ilkf5 * This,
    LONG LineNr,
    /* [retval][out] */ BSTR *Line);


void __RPC_STUB Ilkf5_lkf_npplaus_getProtokollLine_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Ilkf5_lkf_npplaus_sum_headline_Proxy( 
    Ilkf5 * This,
    /* [retval][out] */ BSTR *Line);


void __RPC_STUB Ilkf5_lkf_npplaus_sum_headline_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Ilkf5_lkf_npplaus_sum_abtcount_Proxy( 
    Ilkf5 * This,
    /* [retval][out] */ LONG *AbtCount);


void __RPC_STUB Ilkf5_lkf_npplaus_sum_abtcount_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Ilkf5_lkf_npplaus_sum_abtline_Proxy( 
    Ilkf5 * This,
    LONG AbtIndex,
    /* [retval][out] */ BSTR *Line);


void __RPC_STUB Ilkf5_lkf_npplaus_sum_abtline_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Ilkf5_lkf_npplaus_getReasonCount_Proxy( 
    Ilkf5 * This,
    LONG WarningNr,
    /* [retval][out] */ LONG *ReasonCount);


void __RPC_STUB Ilkf5_lkf_npplaus_getReasonCount_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Ilkf5_lkf_npplaus_getReasonLine_Proxy( 
    Ilkf5 * This,
    LONG WarningNr,
    LONG ReasonNr,
    /* [retval][out] */ BSTR *Line);


void __RPC_STUB Ilkf5_lkf_npplaus_getReasonLine_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Ilkf5_lkf_npplaus_getInfoLine_Proxy( 
    Ilkf5 * This,
    LONG WarningNr,
    /* [retval][out] */ BSTR *Line);


void __RPC_STUB Ilkf5_lkf_npplaus_getInfoLine_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Ilkf5_lkf_npplaus_tfsum_headline_Proxy( 
    Ilkf5 * This,
    /* [retval][out] */ BSTR *Headline);


void __RPC_STUB Ilkf5_lkf_npplaus_tfsum_headline_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Ilkf5_lkf_npplaus_critsum_headline_Proxy( 
    Ilkf5 * This,
    /* [retval][out] */ BSTR *Headline);


void __RPC_STUB Ilkf5_lkf_npplaus_critsum_headline_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Ilkf5_lkf_npplaus_tfsum_Proxy( 
    Ilkf5 * This,
    LONG AbtIndex,
    /* [retval][out] */ BSTR *Line);


void __RPC_STUB Ilkf5_lkf_npplaus_tfsum_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Ilkf5_lkf_npplaus_critsum_Proxy( 
    Ilkf5 * This,
    LONG AbtIndex,
    /* [retval][out] */ BSTR *Line);


void __RPC_STUB Ilkf5_lkf_npplaus_critsum_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Ilkf5_lkf_auf_getErrorLine_Proxy( 
    Ilkf5 * This,
    LONG Aufenthalt,
    LONG Err,
    /* [retval][out] */ BSTR *ErrorLine);


void __RPC_STUB Ilkf5_lkf_auf_getErrorLine_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Ilkf5_lkf_auf_getWarningLine_Proxy( 
    Ilkf5 * This,
    LONG Aufenthalt,
    LONG warn,
    /* [retval][out] */ BSTR *WarningLine);


void __RPC_STUB Ilkf5_lkf_auf_getWarningLine_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Ilkf5_lkf_trace_setLevel_Proxy( 
    Ilkf5 * This,
    LONG Facility,
    LONG TraceLevel);


void __RPC_STUB Ilkf5_lkf_trace_setLevel_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Ilkf5_lkf_trace_getLineCount_Proxy( 
    Ilkf5 * This,
    /* [retval][out] */ LONG *LineCount);


void __RPC_STUB Ilkf5_lkf_trace_getLineCount_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Ilkf5_lkf_trace_getLine_Proxy( 
    Ilkf5 * This,
    LONG LineNr,
    /* [retval][out] */ BSTR *Line);


void __RPC_STUB Ilkf5_lkf_trace_getLine_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Ilkf5_lkf_trace_getLevel_Proxy( 
    Ilkf5 * This,
    LONG Facility,
    /* [retval][out] */ LONG *DebugLevel);


void __RPC_STUB Ilkf5_lkf_trace_getLevel_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Ilkf5_lkf_trace_getAufenthalt_Proxy( 
    Ilkf5 * This,
    /* [retval][out] */ BSTR *Aufenthaltszahl);


void __RPC_STUB Ilkf5_lkf_trace_getAufenthalt_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Ilkf5_lkf_set_debug_trace_Proxy( 
    Ilkf5 * This);


void __RPC_STUB Ilkf5_lkf_set_debug_trace_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Ilkf5_lkf_trace_setAufenthalt_Proxy( 
    Ilkf5 * This,
    BSTR Aufenthaltszahl);


void __RPC_STUB Ilkf5_lkf_trace_setAufenthalt_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Ilkf5_lkf_context_get_errortext_Proxy( 
    Ilkf5 * This,
    /* [retval][out] */ BSTR *Error);


void __RPC_STUB Ilkf5_lkf_context_get_errortext_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Ilkf5_lkf_auf_line_akwarn2_Proxy( 
    Ilkf5 * This,
    long aufenthalt,
    long i,
    /* [out] */ LONG *HitCount,
    /* [retval][out] */ BSTR *line);


void __RPC_STUB Ilkf5_lkf_auf_line_akwarn2_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Ilkf5_lkf_context_GetHinweisAnz_Proxy( 
    Ilkf5 * This,
    long kanr,
    /* [out] */ long *accepted,
    /* [retval][out] */ long *erroranz);


void __RPC_STUB Ilkf5_lkf_context_GetHinweisAnz_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Ilkf5_lkf_auf_firstinfo_Proxy( 
    Ilkf5 * This,
    long aufenthalt,
    /* [retval][out] */ long *firstinfo);


void __RPC_STUB Ilkf5_lkf_auf_firstinfo_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Ilkf5_lkf_auf_nextinfo_Proxy( 
    Ilkf5 * This,
    long info,
    /* [retval][out] */ long *nextinfo);


void __RPC_STUB Ilkf5_lkf_auf_nextinfo_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Ilkf5_lkf_auf_getInfoLine_Proxy( 
    Ilkf5 * This,
    LONG Aufenthalt,
    LONG info,
    /* [retval][out] */ BSTR *InfoLine);


void __RPC_STUB Ilkf5_lkf_auf_getInfoLine_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Ilkf5_lkf_plaus_GetInfoAnz_Proxy( 
    Ilkf5 * This,
    long aufenthalt,
    /* [out] */ long *accepted,
    /* [retval][out] */ long *warninganz);


void __RPC_STUB Ilkf5_lkf_plaus_GetInfoAnz_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Ilkf5_lkf_context_GetGlobalInfo_Proxy( 
    Ilkf5 * This,
    long type,
    /* [retval][out] */ long *info);


void __RPC_STUB Ilkf5_lkf_context_GetGlobalInfo_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Ilkf5_lkf_auf_get_abtfield_Proxy( 
    Ilkf5 * This,
    long aufenthalt,
    long index,
    long fieldindex,
    /* [retval][out] */ BSTR *fieldvalue);


void __RPC_STUB Ilkf5_lkf_auf_get_abtfield_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Ilkf5_lkf_reset_aufenthalt_package_Proxy( 
    Ilkf5 * This);


void __RPC_STUB Ilkf5_lkf_reset_aufenthalt_package_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Ilkf5_lkf_context_plaus_Proxy( 
    Ilkf5 * This,
    LONG AufenthaltCount,
    /* [retval][out] */ LONG *returncode);


void __RPC_STUB Ilkf5_lkf_context_plaus_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Ilkf5_lkf_context_plaus_package_Proxy( 
    Ilkf5 * This,
    LONG IsFirstPackage,
    /* [retval][out] */ LONG *returncode);


void __RPC_STUB Ilkf5_lkf_context_plaus_package_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Ilkf5_lkf_context_read_dat_Proxy( 
    Ilkf5 * This,
    BSTR fileName,
    /* [retval][out] */ LONG *numberOfLines);


void __RPC_STUB Ilkf5_lkf_context_read_dat_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Ilkf5_lkf_context_dat_line_Proxy( 
    Ilkf5 * This,
    LONG lineIndex,
    /* [retval][out] */ BSTR *line);


void __RPC_STUB Ilkf5_lkf_context_dat_line_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Ilkf5_lkf_context_free_dat_Proxy( 
    Ilkf5 * This);


void __RPC_STUB Ilkf5_lkf_context_free_dat_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Ilkf5_lkf_context_getSatzartErrorAnz_Proxy( 
    Ilkf5 * This,
    LONG flags,
    /* [retval][out] */ LONG *numberOfErrors);


void __RPC_STUB Ilkf5_lkf_context_getSatzartErrorAnz_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Ilkf5_lkf_auf_get_abtscor100_Proxy( 
    Ilkf5 * This,
    long Aufenthalt,
    long abtIndex,
    /* [out] */ BSTR *abtpos,
    /* [out] */ long *tp100,
    /* [out] */ long *lp100,
    /* [retval][out] */ long *p100);


void __RPC_STUB Ilkf5_lkf_auf_get_abtscor100_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Ilkf5_lkf_auf_get_abtscor_Proxy( 
    Ilkf5 * This,
    long Aufenthalt,
    long abtIndex,
    /* [out] */ BSTR *abtpos,
    /* [out] */ double *tp,
    /* [out] */ double *lp,
    /* [retval][out] */ double *p);


void __RPC_STUB Ilkf5_lkf_auf_get_abtscor_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Ilkf5_lkf_stat_package_Proxy( 
    Ilkf5 * This,
    /* [retval][out] */ long *ret);


void __RPC_STUB Ilkf5_lkf_stat_package_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Ilkf5_lkf_check_nombds_Proxy( 
    Ilkf5 * This,
    /* [retval][out] */ long *ret);


void __RPC_STUB Ilkf5_lkf_check_nombds_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Ilkf5_lkf_setErrorCountsFilter_Proxy( 
    Ilkf5 * This,
    LONG Filter,
    /* [retval][out] */ LONG *ErrorCount);


void __RPC_STUB Ilkf5_lkf_setErrorCountsFilter_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Ilkf5_lkf_get_amb_counter_Proxy( 
    Ilkf5 * This,
    long counterIndex,
    /* [retval][out] */ long *value);


void __RPC_STUB Ilkf5_lkf_get_amb_counter_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Ilkf5_lkf_auf_get_melIndexForPos_Proxy( 
    Ilkf5 * This,
    long Aufenthalt,
    BSTR melpos,
    /* [retval][out] */ long *value);


void __RPC_STUB Ilkf5_lkf_auf_get_melIndexForPos_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Ilkf5_lkf_auf_get_mel_field_Proxy( 
    Ilkf5 * This,
    long Aufenthalt,
    long melIndex,
    long melFieldIndex,
    /* [retval][out] */ long *value);


void __RPC_STUB Ilkf5_lkf_auf_get_mel_field_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Ilkf5_lkf_auf_get_mel_value_Proxy( 
    Ilkf5 * This,
    long Aufenthalt,
    long melIndex,
    long melFieldIndex,
    /* [retval][out] */ BSTR *value);


void __RPC_STUB Ilkf5_lkf_auf_get_mel_value_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Ilkf5_lkf_context_set_modelparameter_Proxy( 
    Ilkf5 * This,
    long parameterIndex,
    BSTR parameterValue,
    /* [retval][out] */ long *retVal);


void __RPC_STUB Ilkf5_lkf_context_set_modelparameter_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Ilkf5_lkf_get_amb_kostenstelle_count_Proxy( 
    Ilkf5 * This,
    /* [retval][out] */ long *value);


void __RPC_STUB Ilkf5_lkf_get_amb_kostenstelle_count_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Ilkf5_lkf_get_amb_kostenstelle_value_Proxy( 
    Ilkf5 * This,
    long index,
    long ambIndex,
    /* [retval][out] */ long *value);


void __RPC_STUB Ilkf5_lkf_get_amb_kostenstelle_value_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Ilkf5_lkf_get_amb_kostenstelle_stringvalue_Proxy( 
    Ilkf5 * This,
    long index,
    long ambIndex,
    /* [retval][out] */ BSTR *value);


void __RPC_STUB Ilkf5_lkf_get_amb_kostenstelle_stringvalue_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Ilkf5_lkf_get_amb_kostenstelle_counter_Proxy( 
    Ilkf5 * This,
    BSTR kostenstelle,
    long ambIndex,
    /* [retval][out] */ long *value);


void __RPC_STUB Ilkf5_lkf_get_amb_kostenstelle_counter_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Ilkf5_lkf_get_amb_kostenstelle_index_Proxy( 
    Ilkf5 * This,
    BSTR kostenstelle,
    /* [retval][out] */ long *value);


void __RPC_STUB Ilkf5_lkf_get_amb_kostenstelle_index_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Ilkf5_lkf_add_mel6_Proxy( 
    Ilkf5 * This,
    long aufenthalt,
    BSTR mel,
    BSTR melanz,
    BSTR meldat,
    BSTR melpos,
    BSTR melzeit,
    BSTR seite,
    BSTR fcleist,
    BSTR kaleist,
    BSTR addinfo,
    /* [retval][out] */ long *ret);


void __RPC_STUB Ilkf5_lkf_add_mel6_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);



#endif 	/* __Ilkf5_INTERFACE_DEFINED__ */


#ifndef __Ilkf5glob_INTERFACE_DEFINED__
#define __Ilkf5glob_INTERFACE_DEFINED__

/* interface Ilkf5glob */
/* [unique][helpstring][dual][uuid][object] */ 


EXTERN_C const IID IID_Ilkf5glob;

#if defined(__cplusplus) && !defined(CINTERFACE)
    
    MIDL_INTERFACE("0D37D796-C76D-11D4-9DD6-0150DA37BC28")
    Ilkf5glob : public IDispatch
    {
    public:
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_set_global_inputpath( 
            BSTR path,
            /* [retval][out] */ long *retval) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE lkf_unload_stamm( 
            /* [retval][out] */ long *retcode) = 0;
        
        virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Version( 
            /* [retval][out] */ BSTR *pVal) = 0;
        
        virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_YearFirst( 
            /* [retval][out] */ LONG *pVal) = 0;
        
        virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_YearLatest( 
            /* [retval][out] */ LONG *pVal) = 0;
        
    };
    
    
#else 	/* C style interface */

    typedef struct Ilkf5globVtbl
    {
        BEGIN_INTERFACE
        
        DECLSPEC_XFGVIRT(IUnknown, QueryInterface)
        HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
            Ilkf5glob * This,
            /* [in] */ REFIID riid,
            /* [annotation][iid_is][out] */ 
            _COM_Outptr_  void **ppvObject);
        
        DECLSPEC_XFGVIRT(IUnknown, AddRef)
        ULONG ( STDMETHODCALLTYPE *AddRef )( 
            Ilkf5glob * This);
        
        DECLSPEC_XFGVIRT(IUnknown, Release)
        ULONG ( STDMETHODCALLTYPE *Release )( 
            Ilkf5glob * This);
        
        DECLSPEC_XFGVIRT(IDispatch, GetTypeInfoCount)
        HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
            Ilkf5glob * This,
            /* [out] */ UINT *pctinfo);
        
        DECLSPEC_XFGVIRT(IDispatch, GetTypeInfo)
        HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
            Ilkf5glob * This,
            /* [in] */ UINT iTInfo,
            /* [in] */ LCID lcid,
            /* [out] */ ITypeInfo **ppTInfo);
        
        DECLSPEC_XFGVIRT(IDispatch, GetIDsOfNames)
        HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
            Ilkf5glob * This,
            /* [in] */ REFIID riid,
            /* [size_is][in] */ LPOLESTR *rgszNames,
            /* [range][in] */ UINT cNames,
            /* [in] */ LCID lcid,
            /* [size_is][out] */ DISPID *rgDispId);
        
        DECLSPEC_XFGVIRT(IDispatch, Invoke)
        /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
            Ilkf5glob * This,
            /* [annotation][in] */ 
            _In_  DISPID dispIdMember,
            /* [annotation][in] */ 
            _In_  REFIID riid,
            /* [annotation][in] */ 
            _In_  LCID lcid,
            /* [annotation][in] */ 
            _In_  WORD wFlags,
            /* [annotation][out][in] */ 
            _In_  DISPPARAMS *pDispParams,
            /* [annotation][out] */ 
            _Out_opt_  VARIANT *pVarResult,
            /* [annotation][out] */ 
            _Out_opt_  EXCEPINFO *pExcepInfo,
            /* [annotation][out] */ 
            _Out_opt_  UINT *puArgErr);
        
        DECLSPEC_XFGVIRT(Ilkf5glob, lkf_set_global_inputpath)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_set_global_inputpath )( 
            Ilkf5glob * This,
            BSTR path,
            /* [retval][out] */ long *retval);
        
        DECLSPEC_XFGVIRT(Ilkf5glob, lkf_unload_stamm)
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *lkf_unload_stamm )( 
            Ilkf5glob * This,
            /* [retval][out] */ long *retcode);
        
        DECLSPEC_XFGVIRT(Ilkf5glob, get_Version)
        /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Version )( 
            Ilkf5glob * This,
            /* [retval][out] */ BSTR *pVal);
        
        DECLSPEC_XFGVIRT(Ilkf5glob, get_YearFirst)
        /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_YearFirst )( 
            Ilkf5glob * This,
            /* [retval][out] */ LONG *pVal);
        
        DECLSPEC_XFGVIRT(Ilkf5glob, get_YearLatest)
        /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_YearLatest )( 
            Ilkf5glob * This,
            /* [retval][out] */ LONG *pVal);
        
        END_INTERFACE
    } Ilkf5globVtbl;

    interface Ilkf5glob
    {
        CONST_VTBL struct Ilkf5globVtbl *lpVtbl;
    };

    

#ifdef COBJMACROS


#define Ilkf5glob_QueryInterface(This,riid,ppvObject)	\
    ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) 

#define Ilkf5glob_AddRef(This)	\
    ( (This)->lpVtbl -> AddRef(This) ) 

#define Ilkf5glob_Release(This)	\
    ( (This)->lpVtbl -> Release(This) ) 


#define Ilkf5glob_GetTypeInfoCount(This,pctinfo)	\
    ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) 

#define Ilkf5glob_GetTypeInfo(This,iTInfo,lcid,ppTInfo)	\
    ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) 

#define Ilkf5glob_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)	\
    ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) 

#define Ilkf5glob_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)	\
    ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) 


#define Ilkf5glob_lkf_set_global_inputpath(This,path,retval)	\
    ( (This)->lpVtbl -> lkf_set_global_inputpath(This,path,retval) ) 

#define Ilkf5glob_lkf_unload_stamm(This,retcode)	\
    ( (This)->lpVtbl -> lkf_unload_stamm(This,retcode) ) 

#define Ilkf5glob_get_Version(This,pVal)	\
    ( (This)->lpVtbl -> get_Version(This,pVal) ) 

#define Ilkf5glob_get_YearFirst(This,pVal)	\
    ( (This)->lpVtbl -> get_YearFirst(This,pVal) ) 

#define Ilkf5glob_get_YearLatest(This,pVal)	\
    ( (This)->lpVtbl -> get_YearLatest(This,pVal) ) 

#endif /* COBJMACROS */


#endif 	/* C style interface */




#endif 	/* __Ilkf5glob_INTERFACE_DEFINED__ */



#ifndef __LKFKDOCLib_LIBRARY_DEFINED__
#define __LKFKDOCLib_LIBRARY_DEFINED__

/* library LKFKDOCLib */
/* [helpstring][version][uuid] */ 


EXTERN_C const IID LIBID_LKFKDOCLib;

EXTERN_C const CLSID CLSID_lkf5;

#ifdef __cplusplus

class DECLSPEC_UUID("0D37D794-C76D-11D4-9DD6-0150DA37BC28")
lkf5;
#endif

EXTERN_C const CLSID CLSID_lkf5glob;

#ifdef __cplusplus

class DECLSPEC_UUID("0D37D797-C76D-11D4-9DD6-0150DA37BC28")
lkf5glob;
#endif
#endif /* __LKFKDOCLib_LIBRARY_DEFINED__ */

/* Additional Prototypes for ALL interfaces */

unsigned long             __RPC_USER  BSTR_UserSize(     unsigned long *, unsigned long            , BSTR * ); 
unsigned char * __RPC_USER  BSTR_UserMarshal(  unsigned long *, unsigned char *, BSTR * ); 
unsigned char * __RPC_USER  BSTR_UserUnmarshal(unsigned long *, unsigned char *, BSTR * ); 
void                      __RPC_USER  BSTR_UserFree(     unsigned long *, BSTR * ); 

unsigned long             __RPC_USER  VARIANT_UserSize(     unsigned long *, unsigned long            , VARIANT * ); 
unsigned char * __RPC_USER  VARIANT_UserMarshal(  unsigned long *, unsigned char *, VARIANT * ); 
unsigned char * __RPC_USER  VARIANT_UserUnmarshal(unsigned long *, unsigned char *, VARIANT * ); 
void                      __RPC_USER  VARIANT_UserFree(     unsigned long *, VARIANT * ); 

unsigned long             __RPC_USER  BSTR_UserSize64(     unsigned long *, unsigned long            , BSTR * ); 
unsigned char * __RPC_USER  BSTR_UserMarshal64(  unsigned long *, unsigned char *, BSTR * ); 
unsigned char * __RPC_USER  BSTR_UserUnmarshal64(unsigned long *, unsigned char *, BSTR * ); 
void                      __RPC_USER  BSTR_UserFree64(     unsigned long *, BSTR * ); 

unsigned long             __RPC_USER  VARIANT_UserSize64(     unsigned long *, unsigned long            , VARIANT * ); 
unsigned char * __RPC_USER  VARIANT_UserMarshal64(  unsigned long *, unsigned char *, VARIANT * ); 
unsigned char * __RPC_USER  VARIANT_UserUnmarshal64(unsigned long *, unsigned char *, VARIANT * ); 
void                      __RPC_USER  VARIANT_UserFree64(     unsigned long *, VARIANT * ); 

/* end of Additional Prototypes */

#ifdef __cplusplus
}
#endif

#endif


