pEpCOMServerAdapter_i.h
author Volker Birk <vb@pep-project.org>
Thu, 16 Apr 2015 21:03:44 +0200
changeset 2 e902fd924d9b
child 4 fdd8cf02d2cc
permissions -rw-r--r--
adding GPL
vb@2
     1
vb@2
     2
vb@2
     3
/* this ALWAYS GENERATED file contains the definitions for the interfaces */
vb@2
     4
vb@2
     5
vb@2
     6
 /* File created by MIDL compiler version 8.00.0603 */
vb@2
     7
/* at Thu Apr 16 16:43:32 2015
vb@2
     8
 */
vb@2
     9
/* Compiler settings for pEpCOMServerAdapter.idl:
vb@2
    10
    Oicf, W1, Zp8, env=Win32 (32b run), target_arch=X86 8.00.0603 
vb@2
    11
    protocol : dce , ms_ext, c_ext, robust
vb@2
    12
    error checks: allocation ref bounds_check enum stub_data 
vb@2
    13
    VC __declspec() decoration level: 
vb@2
    14
         __declspec(uuid()), __declspec(selectany), __declspec(novtable)
vb@2
    15
         DECLSPEC_UUID(), MIDL_INTERFACE()
vb@2
    16
*/
vb@2
    17
/* @@MIDL_FILE_HEADING(  ) */
vb@2
    18
vb@2
    19
#pragma warning( disable: 4049 )  /* more than 64k source lines */
vb@2
    20
vb@2
    21
vb@2
    22
/* verify that the <rpcndr.h> version is high enough to compile this file*/
vb@2
    23
#ifndef __REQUIRED_RPCNDR_H_VERSION__
vb@2
    24
#define __REQUIRED_RPCNDR_H_VERSION__ 475
vb@2
    25
#endif
vb@2
    26
vb@2
    27
#include "rpc.h"
vb@2
    28
#include "rpcndr.h"
vb@2
    29
vb@2
    30
#ifndef __RPCNDR_H_VERSION__
vb@2
    31
#error this stub requires an updated version of <rpcndr.h>
vb@2
    32
#endif // __RPCNDR_H_VERSION__
vb@2
    33
vb@2
    34
#ifndef COM_NO_WINDOWS_H
vb@2
    35
#include "windows.h"
vb@2
    36
#include "ole2.h"
vb@2
    37
#endif /*COM_NO_WINDOWS_H*/
vb@2
    38
vb@2
    39
#ifndef __pEpCOMServerAdapter_i_h__
vb@2
    40
#define __pEpCOMServerAdapter_i_h__
vb@2
    41
vb@2
    42
#if defined(_MSC_VER) && (_MSC_VER >= 1020)
vb@2
    43
#pragma once
vb@2
    44
#endif
vb@2
    45
vb@2
    46
/* Forward Declarations */ 
vb@2
    47
vb@2
    48
#ifndef __IpEpEngine_FWD_DEFINED__
vb@2
    49
#define __IpEpEngine_FWD_DEFINED__
vb@2
    50
typedef interface IpEpEngine IpEpEngine;
vb@2
    51
vb@2
    52
#endif 	/* __IpEpEngine_FWD_DEFINED__ */
vb@2
    53
vb@2
    54
vb@2
    55
#ifndef ___IpEpEngineEvents_FWD_DEFINED__
vb@2
    56
#define ___IpEpEngineEvents_FWD_DEFINED__
vb@2
    57
typedef interface _IpEpEngineEvents _IpEpEngineEvents;
vb@2
    58
vb@2
    59
#endif 	/* ___IpEpEngineEvents_FWD_DEFINED__ */
vb@2
    60
vb@2
    61
vb@2
    62
#ifndef __pEpEngine_FWD_DEFINED__
vb@2
    63
#define __pEpEngine_FWD_DEFINED__
vb@2
    64
vb@2
    65
#ifdef __cplusplus
vb@2
    66
typedef class pEpEngine pEpEngine;
vb@2
    67
#else
vb@2
    68
typedef struct pEpEngine pEpEngine;
vb@2
    69
#endif /* __cplusplus */
vb@2
    70
vb@2
    71
#endif 	/* __pEpEngine_FWD_DEFINED__ */
vb@2
    72
vb@2
    73
vb@2
    74
/* header files for imported files */
vb@2
    75
#include "oaidl.h"
vb@2
    76
#include "ocidl.h"
vb@2
    77
vb@2
    78
#ifdef __cplusplus
vb@2
    79
extern "C"{
vb@2
    80
#endif 
vb@2
    81
vb@2
    82
vb@2
    83
#ifndef __IpEpEngine_INTERFACE_DEFINED__
vb@2
    84
#define __IpEpEngine_INTERFACE_DEFINED__
vb@2
    85
vb@2
    86
/* interface IpEpEngine */
vb@2
    87
/* [unique][nonextensible][oleautomation][uuid][object] */ 
vb@2
    88
vb@2
    89
typedef 
vb@2
    90
enum _pEp_STATUS
vb@2
    91
    {
vb@2
    92
        pEp_STATUS_OK	= 0,
vb@2
    93
        pEp_KEY_NOT_FOUND	= 0x201,
vb@2
    94
        pEp_KEY_HAS_AMBIG_NAME	= 0x202,
vb@2
    95
        pEp_GET_KEY_FAILED	= 0x203,
vb@2
    96
        pEp_UNENCRYPTED	= 0x400,
vb@2
    97
        pEp_VERIFIED	= 0x401,
vb@2
    98
        pEp_DECRYPTED	= 0x402,
vb@2
    99
        pEp_DECRYPTED_AND_VERIFIED	= 0x403,
vb@2
   100
        pEp_DECRYPT_WRONG_FORMAT	= 0x404,
vb@2
   101
        pEp_DECRYPT_NO_KEY	= 0x405,
vb@2
   102
        pEp_DECRYPT_SIGNATURE_DOES_NOT_MATCH	= 0x406,
vb@2
   103
        pEp_VERIFY_NO_KEY	= 0x407,
vb@2
   104
        pEp_VERIFIED_AND_TRUSTED	= 0x408,
vb@2
   105
        pEp_ILLEGAL_VALUE	= -4,
vb@2
   106
        pEp_BUFFER_TOO_SMALL	= -3,
vb@2
   107
        pEp_OUT_OF_MEMORY	= -2,
vb@2
   108
        pEp_UNKNOWN_ERROR	= -1
vb@2
   109
    } 	pEp_STATUS;
vb@2
   110
vb@2
   111
typedef 
vb@2
   112
enum _pEp_comm_type
vb@2
   113
    {
vb@2
   114
        pEp_ct_unknown	= 0,
vb@2
   115
        pEp_ct_no_encryption	= 0x1,
vb@2
   116
        pEp_ct_no_encrypted_channel	= 0x2,
vb@2
   117
        pEp_ct_key_not_found	= 0x3,
vb@2
   118
        pEp_ct_key_expired	= 0x4,
vb@2
   119
        pEp_ct_key_revoked	= 0x5,
vb@2
   120
        pEp_ct_key_b0rken	= 0x6,
vb@2
   121
        pEp_ct_my_key_not_included	= 0x9,
vb@2
   122
        pEp_ct_security_by_obscurity	= 0xa,
vb@2
   123
        pEp_ct_b0rken_crypto	= 0xb,
vb@2
   124
        pEp_ct_key_too_short	= 0xe,
vb@2
   125
        pEp_ct_compromized	= 0xf,
vb@2
   126
        pEp_ct_unconfirmed_encryption	= 0x10,
vb@2
   127
        pEp_ct_OpenPGP_1024_RSA_unconfirmed	= 0x11,
vb@2
   128
        pEp_ct_OpenPGP_unconfirmed	= 0x3f,
vb@2
   129
        pEp_ct_unconfirmed_enc_anon	= 0x40,
vb@2
   130
        pEp_ct_pEp_unconfirmed	= 0x7f,
vb@2
   131
        pEp_ct_confirmed	= 0x80,
vb@2
   132
        pEp_ct_confirmed_encryption	= 0x90,
vb@2
   133
        pEp_ct_OpenPGP_1024_RSA	= 0x91,
vb@2
   134
        pEp_ct_OpenPGP	= 0xbf,
vb@2
   135
        pEp_ct_confirmed_enc_anon	= 0xc0,
vb@2
   136
        pEp_ct_pEp	= 0xff
vb@2
   137
    } 	pEp_comm_type;
vb@2
   138
vb@2
   139
struct pEp_identity_s
vb@2
   140
    {
vb@2
   141
    BSTR address;
vb@2
   142
    BSTR fpr;
vb@2
   143
    BSTR user_id;
vb@2
   144
    BSTR username;
vb@2
   145
    pEp_comm_type comm_type;
vb@2
   146
    BSTR lang;
vb@2
   147
    } ;
vb@2
   148
vb@2
   149
EXTERN_C const IID IID_IpEpEngine;
vb@2
   150
vb@2
   151
#if defined(__cplusplus) && !defined(CINTERFACE)
vb@2
   152
    
vb@2
   153
    MIDL_INTERFACE("9A9F4422-CF0A-45D7-90CD-1D1B7B2A4540")
vb@2
   154
    IpEpEngine : public IUnknown
vb@2
   155
    {
vb@2
   156
    public:
vb@2
   157
        virtual /* [id] */ HRESULT STDMETHODCALLTYPE log( 
vb@2
   158
            /* [in] */ BSTR title,
vb@2
   159
            /* [in] */ BSTR entity,
vb@2
   160
            /* [defaultvalue][in] */ BSTR description = L"",
vb@2
   161
            /* [defaultvalue][in] */ BSTR comment = L"") = 0;
vb@2
   162
        
vb@2
   163
        virtual /* [id] */ HRESULT STDMETHODCALLTYPE decrypt( 
vb@2
   164
            /* [in] */ BSTR ctext,
vb@2
   165
            /* [out] */ BSTR *ptext,
vb@2
   166
            /* [out] */ SAFEARRAY * *key_list,
vb@2
   167
            /* [retval][out] */ pEp_STATUS *decrypt_status) = 0;
vb@2
   168
        
vb@2
   169
        virtual /* [id] */ HRESULT STDMETHODCALLTYPE decrypt_b( 
vb@2
   170
            /* [in] */ BSTR ctext,
vb@2
   171
            /* [out] */ SAFEARRAY * *ptext,
vb@2
   172
            /* [out] */ SAFEARRAY * *key_list,
vb@2
   173
            /* [retval][out] */ pEp_STATUS *decrypt_status) = 0;
vb@2
   174
        
vb@2
   175
        virtual /* [id] */ HRESULT STDMETHODCALLTYPE encrypt( 
vb@2
   176
            /* [in] */ SAFEARRAY * key_list,
vb@2
   177
            /* [in] */ BSTR ptext,
vb@2
   178
            /* [out] */ BSTR *ctext,
vb@2
   179
            /* [retval][out] */ pEp_STATUS *status) = 0;
vb@2
   180
        
vb@2
   181
        virtual /* [id] */ HRESULT STDMETHODCALLTYPE encrypt_b( 
vb@2
   182
            /* [in] */ SAFEARRAY * key_list,
vb@2
   183
            /* [in] */ SAFEARRAY * ptext,
vb@2
   184
            /* [out] */ BSTR *ctext,
vb@2
   185
            /* [retval][out] */ pEp_STATUS *status) = 0;
vb@2
   186
        
vb@2
   187
        virtual /* [id] */ HRESULT STDMETHODCALLTYPE verify( 
vb@2
   188
            /* [in] */ BSTR text,
vb@2
   189
            /* [in] */ BSTR signature,
vb@2
   190
            /* [out] */ SAFEARRAY * *key_list,
vb@2
   191
            /* [retval][out] */ pEp_STATUS *verify_status) = 0;
vb@2
   192
        
vb@2
   193
        virtual /* [id] */ HRESULT STDMETHODCALLTYPE safeword( 
vb@2
   194
            /* [in] */ LONG value,
vb@2
   195
            /* [defaultvalue][in] */ BSTR lang,
vb@2
   196
            /* [retval][out] */ BSTR *word) = 0;
vb@2
   197
        
vb@2
   198
        virtual /* [id] */ HRESULT STDMETHODCALLTYPE safewords( 
vb@2
   199
            /* [in] */ BSTR fpr,
vb@2
   200
            /* [defaultvalue][in] */ BSTR lang,
vb@2
   201
            /* [defaultvalue][in] */ LONG max_words,
vb@2
   202
            /* [retval][out] */ BSTR *words) = 0;
vb@2
   203
        
vb@2
   204
        virtual /* [id] */ HRESULT STDMETHODCALLTYPE get_identity( 
vb@2
   205
            /* [in] */ BSTR address,
vb@2
   206
            /* [retval][out] */ struct pEp_identity_s *ident) = 0;
vb@2
   207
        
vb@2
   208
        virtual /* [id] */ HRESULT STDMETHODCALLTYPE set_identity( 
vb@2
   209
            /* [in] */ struct pEp_identity_s *ident) = 0;
vb@2
   210
        
vb@2
   211
        virtual /* [id] */ HRESULT STDMETHODCALLTYPE generate_keypair( 
vb@2
   212
            /* [in] */ struct pEp_identity_s *ident,
vb@2
   213
            /* [retval][out] */ BSTR *fpr) = 0;
vb@2
   214
        
vb@2
   215
        virtual /* [id] */ HRESULT STDMETHODCALLTYPE delete_keypair( 
vb@2
   216
            /* [in] */ BSTR fpr) = 0;
vb@2
   217
        
vb@2
   218
        virtual /* [id] */ HRESULT STDMETHODCALLTYPE import_key( 
vb@2
   219
            /* [in] */ BSTR key_data) = 0;
vb@2
   220
        
vb@2
   221
        virtual /* [id] */ HRESULT STDMETHODCALLTYPE import_key_b( 
vb@2
   222
            /* [in] */ SAFEARRAY * key_data) = 0;
vb@2
   223
        
vb@2
   224
        virtual /* [id] */ HRESULT STDMETHODCALLTYPE export_key( 
vb@2
   225
            /* [in] */ BSTR fpr,
vb@2
   226
            /* [retval][out] */ BSTR *key_data) = 0;
vb@2
   227
        
vb@2
   228
        virtual /* [id] */ HRESULT STDMETHODCALLTYPE recv_key( 
vb@2
   229
            /* [in] */ BSTR pattern) = 0;
vb@2
   230
        
vb@2
   231
        virtual /* [id] */ HRESULT STDMETHODCALLTYPE find_keys( 
vb@2
   232
            /* [in] */ BSTR pattern,
vb@2
   233
            /* [retval][out] */ SAFEARRAY * *key_list) = 0;
vb@2
   234
        
vb@2
   235
        virtual /* [id] */ HRESULT STDMETHODCALLTYPE send_key( 
vb@2
   236
            /* [in] */ BSTR pattern) = 0;
vb@2
   237
        
vb@2
   238
        virtual /* [id] */ HRESULT STDMETHODCALLTYPE examine_identity( 
vb@2
   239
            /* [in] */ struct pEp_identity_s *ident) = 0;
vb@2
   240
        
vb@2
   241
        virtual /* [id] */ HRESULT STDMETHODCALLTYPE examine_myself( 
vb@2
   242
            /* [in] */ struct pEp_identity_s *myself) = 0;
vb@2
   243
        
vb@2
   244
        virtual /* [id] */ HRESULT STDMETHODCALLTYPE myself( 
vb@2
   245
            /* [in] */ struct pEp_identity_s *ident,
vb@2
   246
            /* [retval][out] */ struct pEp_identity_s *result) = 0;
vb@2
   247
        
vb@2
   248
        virtual /* [id] */ HRESULT STDMETHODCALLTYPE update_identity( 
vb@2
   249
            /* [in] */ struct pEp_identity_s *ident,
vb@2
   250
            /* [retval][out] */ struct pEp_identity_s *result) = 0;
vb@2
   251
        
vb@2
   252
    };
vb@2
   253
    
vb@2
   254
    
vb@2
   255
#else 	/* C style interface */
vb@2
   256
vb@2
   257
    typedef struct IpEpEngineVtbl
vb@2
   258
    {
vb@2
   259
        BEGIN_INTERFACE
vb@2
   260
        
vb@2
   261
        HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
vb@2
   262
            IpEpEngine * This,
vb@2
   263
            /* [in] */ REFIID riid,
vb@2
   264
            /* [annotation][iid_is][out] */ 
vb@2
   265
            _COM_Outptr_  void **ppvObject);
vb@2
   266
        
vb@2
   267
        ULONG ( STDMETHODCALLTYPE *AddRef )( 
vb@2
   268
            IpEpEngine * This);
vb@2
   269
        
vb@2
   270
        ULONG ( STDMETHODCALLTYPE *Release )( 
vb@2
   271
            IpEpEngine * This);
vb@2
   272
        
vb@2
   273
        /* [id] */ HRESULT ( STDMETHODCALLTYPE *log )( 
vb@2
   274
            IpEpEngine * This,
vb@2
   275
            /* [in] */ BSTR title,
vb@2
   276
            /* [in] */ BSTR entity,
vb@2
   277
            /* [defaultvalue][in] */ BSTR description,
vb@2
   278
            /* [defaultvalue][in] */ BSTR comment);
vb@2
   279
        
vb@2
   280
        /* [id] */ HRESULT ( STDMETHODCALLTYPE *decrypt )( 
vb@2
   281
            IpEpEngine * This,
vb@2
   282
            /* [in] */ BSTR ctext,
vb@2
   283
            /* [out] */ BSTR *ptext,
vb@2
   284
            /* [out] */ SAFEARRAY * *key_list,
vb@2
   285
            /* [retval][out] */ pEp_STATUS *decrypt_status);
vb@2
   286
        
vb@2
   287
        /* [id] */ HRESULT ( STDMETHODCALLTYPE *decrypt_b )( 
vb@2
   288
            IpEpEngine * This,
vb@2
   289
            /* [in] */ BSTR ctext,
vb@2
   290
            /* [out] */ SAFEARRAY * *ptext,
vb@2
   291
            /* [out] */ SAFEARRAY * *key_list,
vb@2
   292
            /* [retval][out] */ pEp_STATUS *decrypt_status);
vb@2
   293
        
vb@2
   294
        /* [id] */ HRESULT ( STDMETHODCALLTYPE *encrypt )( 
vb@2
   295
            IpEpEngine * This,
vb@2
   296
            /* [in] */ SAFEARRAY * key_list,
vb@2
   297
            /* [in] */ BSTR ptext,
vb@2
   298
            /* [out] */ BSTR *ctext,
vb@2
   299
            /* [retval][out] */ pEp_STATUS *status);
vb@2
   300
        
vb@2
   301
        /* [id] */ HRESULT ( STDMETHODCALLTYPE *encrypt_b )( 
vb@2
   302
            IpEpEngine * This,
vb@2
   303
            /* [in] */ SAFEARRAY * key_list,
vb@2
   304
            /* [in] */ SAFEARRAY * ptext,
vb@2
   305
            /* [out] */ BSTR *ctext,
vb@2
   306
            /* [retval][out] */ pEp_STATUS *status);
vb@2
   307
        
vb@2
   308
        /* [id] */ HRESULT ( STDMETHODCALLTYPE *verify )( 
vb@2
   309
            IpEpEngine * This,
vb@2
   310
            /* [in] */ BSTR text,
vb@2
   311
            /* [in] */ BSTR signature,
vb@2
   312
            /* [out] */ SAFEARRAY * *key_list,
vb@2
   313
            /* [retval][out] */ pEp_STATUS *verify_status);
vb@2
   314
        
vb@2
   315
        /* [id] */ HRESULT ( STDMETHODCALLTYPE *safeword )( 
vb@2
   316
            IpEpEngine * This,
vb@2
   317
            /* [in] */ LONG value,
vb@2
   318
            /* [defaultvalue][in] */ BSTR lang,
vb@2
   319
            /* [retval][out] */ BSTR *word);
vb@2
   320
        
vb@2
   321
        /* [id] */ HRESULT ( STDMETHODCALLTYPE *safewords )( 
vb@2
   322
            IpEpEngine * This,
vb@2
   323
            /* [in] */ BSTR fpr,
vb@2
   324
            /* [defaultvalue][in] */ BSTR lang,
vb@2
   325
            /* [defaultvalue][in] */ LONG max_words,
vb@2
   326
            /* [retval][out] */ BSTR *words);
vb@2
   327
        
vb@2
   328
        /* [id] */ HRESULT ( STDMETHODCALLTYPE *get_identity )( 
vb@2
   329
            IpEpEngine * This,
vb@2
   330
            /* [in] */ BSTR address,
vb@2
   331
            /* [retval][out] */ struct pEp_identity_s *ident);
vb@2
   332
        
vb@2
   333
        /* [id] */ HRESULT ( STDMETHODCALLTYPE *set_identity )( 
vb@2
   334
            IpEpEngine * This,
vb@2
   335
            /* [in] */ struct pEp_identity_s *ident);
vb@2
   336
        
vb@2
   337
        /* [id] */ HRESULT ( STDMETHODCALLTYPE *generate_keypair )( 
vb@2
   338
            IpEpEngine * This,
vb@2
   339
            /* [in] */ struct pEp_identity_s *ident,
vb@2
   340
            /* [retval][out] */ BSTR *fpr);
vb@2
   341
        
vb@2
   342
        /* [id] */ HRESULT ( STDMETHODCALLTYPE *delete_keypair )( 
vb@2
   343
            IpEpEngine * This,
vb@2
   344
            /* [in] */ BSTR fpr);
vb@2
   345
        
vb@2
   346
        /* [id] */ HRESULT ( STDMETHODCALLTYPE *import_key )( 
vb@2
   347
            IpEpEngine * This,
vb@2
   348
            /* [in] */ BSTR key_data);
vb@2
   349
        
vb@2
   350
        /* [id] */ HRESULT ( STDMETHODCALLTYPE *import_key_b )( 
vb@2
   351
            IpEpEngine * This,
vb@2
   352
            /* [in] */ SAFEARRAY * key_data);
vb@2
   353
        
vb@2
   354
        /* [id] */ HRESULT ( STDMETHODCALLTYPE *export_key )( 
vb@2
   355
            IpEpEngine * This,
vb@2
   356
            /* [in] */ BSTR fpr,
vb@2
   357
            /* [retval][out] */ BSTR *key_data);
vb@2
   358
        
vb@2
   359
        /* [id] */ HRESULT ( STDMETHODCALLTYPE *recv_key )( 
vb@2
   360
            IpEpEngine * This,
vb@2
   361
            /* [in] */ BSTR pattern);
vb@2
   362
        
vb@2
   363
        /* [id] */ HRESULT ( STDMETHODCALLTYPE *find_keys )( 
vb@2
   364
            IpEpEngine * This,
vb@2
   365
            /* [in] */ BSTR pattern,
vb@2
   366
            /* [retval][out] */ SAFEARRAY * *key_list);
vb@2
   367
        
vb@2
   368
        /* [id] */ HRESULT ( STDMETHODCALLTYPE *send_key )( 
vb@2
   369
            IpEpEngine * This,
vb@2
   370
            /* [in] */ BSTR pattern);
vb@2
   371
        
vb@2
   372
        /* [id] */ HRESULT ( STDMETHODCALLTYPE *examine_identity )( 
vb@2
   373
            IpEpEngine * This,
vb@2
   374
            /* [in] */ struct pEp_identity_s *ident);
vb@2
   375
        
vb@2
   376
        /* [id] */ HRESULT ( STDMETHODCALLTYPE *examine_myself )( 
vb@2
   377
            IpEpEngine * This,
vb@2
   378
            /* [in] */ struct pEp_identity_s *myself);
vb@2
   379
        
vb@2
   380
        /* [id] */ HRESULT ( STDMETHODCALLTYPE *myself )( 
vb@2
   381
            IpEpEngine * This,
vb@2
   382
            /* [in] */ struct pEp_identity_s *ident,
vb@2
   383
            /* [retval][out] */ struct pEp_identity_s *result);
vb@2
   384
        
vb@2
   385
        /* [id] */ HRESULT ( STDMETHODCALLTYPE *update_identity )( 
vb@2
   386
            IpEpEngine * This,
vb@2
   387
            /* [in] */ struct pEp_identity_s *ident,
vb@2
   388
            /* [retval][out] */ struct pEp_identity_s *result);
vb@2
   389
        
vb@2
   390
        END_INTERFACE
vb@2
   391
    } IpEpEngineVtbl;
vb@2
   392
vb@2
   393
    interface IpEpEngine
vb@2
   394
    {
vb@2
   395
        CONST_VTBL struct IpEpEngineVtbl *lpVtbl;
vb@2
   396
    };
vb@2
   397
vb@2
   398
    
vb@2
   399
vb@2
   400
#ifdef COBJMACROS
vb@2
   401
vb@2
   402
vb@2
   403
#define IpEpEngine_QueryInterface(This,riid,ppvObject)	\
vb@2
   404
    ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) 
vb@2
   405
vb@2
   406
#define IpEpEngine_AddRef(This)	\
vb@2
   407
    ( (This)->lpVtbl -> AddRef(This) ) 
vb@2
   408
vb@2
   409
#define IpEpEngine_Release(This)	\
vb@2
   410
    ( (This)->lpVtbl -> Release(This) ) 
vb@2
   411
vb@2
   412
vb@2
   413
#define IpEpEngine_log(This,title,entity,description,comment)	\
vb@2
   414
    ( (This)->lpVtbl -> log(This,title,entity,description,comment) ) 
vb@2
   415
vb@2
   416
#define IpEpEngine_decrypt(This,ctext,ptext,key_list,decrypt_status)	\
vb@2
   417
    ( (This)->lpVtbl -> decrypt(This,ctext,ptext,key_list,decrypt_status) ) 
vb@2
   418
vb@2
   419
#define IpEpEngine_decrypt_b(This,ctext,ptext,key_list,decrypt_status)	\
vb@2
   420
    ( (This)->lpVtbl -> decrypt_b(This,ctext,ptext,key_list,decrypt_status) ) 
vb@2
   421
vb@2
   422
#define IpEpEngine_encrypt(This,key_list,ptext,ctext,status)	\
vb@2
   423
    ( (This)->lpVtbl -> encrypt(This,key_list,ptext,ctext,status) ) 
vb@2
   424
vb@2
   425
#define IpEpEngine_encrypt_b(This,key_list,ptext,ctext,status)	\
vb@2
   426
    ( (This)->lpVtbl -> encrypt_b(This,key_list,ptext,ctext,status) ) 
vb@2
   427
vb@2
   428
#define IpEpEngine_verify(This,text,signature,key_list,verify_status)	\
vb@2
   429
    ( (This)->lpVtbl -> verify(This,text,signature,key_list,verify_status) ) 
vb@2
   430
vb@2
   431
#define IpEpEngine_safeword(This,value,lang,word)	\
vb@2
   432
    ( (This)->lpVtbl -> safeword(This,value,lang,word) ) 
vb@2
   433
vb@2
   434
#define IpEpEngine_safewords(This,fpr,lang,max_words,words)	\
vb@2
   435
    ( (This)->lpVtbl -> safewords(This,fpr,lang,max_words,words) ) 
vb@2
   436
vb@2
   437
#define IpEpEngine_get_identity(This,address,ident)	\
vb@2
   438
    ( (This)->lpVtbl -> get_identity(This,address,ident) ) 
vb@2
   439
vb@2
   440
#define IpEpEngine_set_identity(This,ident)	\
vb@2
   441
    ( (This)->lpVtbl -> set_identity(This,ident) ) 
vb@2
   442
vb@2
   443
#define IpEpEngine_generate_keypair(This,ident,fpr)	\
vb@2
   444
    ( (This)->lpVtbl -> generate_keypair(This,ident,fpr) ) 
vb@2
   445
vb@2
   446
#define IpEpEngine_delete_keypair(This,fpr)	\
vb@2
   447
    ( (This)->lpVtbl -> delete_keypair(This,fpr) ) 
vb@2
   448
vb@2
   449
#define IpEpEngine_import_key(This,key_data)	\
vb@2
   450
    ( (This)->lpVtbl -> import_key(This,key_data) ) 
vb@2
   451
vb@2
   452
#define IpEpEngine_import_key_b(This,key_data)	\
vb@2
   453
    ( (This)->lpVtbl -> import_key_b(This,key_data) ) 
vb@2
   454
vb@2
   455
#define IpEpEngine_export_key(This,fpr,key_data)	\
vb@2
   456
    ( (This)->lpVtbl -> export_key(This,fpr,key_data) ) 
vb@2
   457
vb@2
   458
#define IpEpEngine_recv_key(This,pattern)	\
vb@2
   459
    ( (This)->lpVtbl -> recv_key(This,pattern) ) 
vb@2
   460
vb@2
   461
#define IpEpEngine_find_keys(This,pattern,key_list)	\
vb@2
   462
    ( (This)->lpVtbl -> find_keys(This,pattern,key_list) ) 
vb@2
   463
vb@2
   464
#define IpEpEngine_send_key(This,pattern)	\
vb@2
   465
    ( (This)->lpVtbl -> send_key(This,pattern) ) 
vb@2
   466
vb@2
   467
#define IpEpEngine_examine_identity(This,ident)	\
vb@2
   468
    ( (This)->lpVtbl -> examine_identity(This,ident) ) 
vb@2
   469
vb@2
   470
#define IpEpEngine_examine_myself(This,myself)	\
vb@2
   471
    ( (This)->lpVtbl -> examine_myself(This,myself) ) 
vb@2
   472
vb@2
   473
#define IpEpEngine_myself(This,ident,result)	\
vb@2
   474
    ( (This)->lpVtbl -> myself(This,ident,result) ) 
vb@2
   475
vb@2
   476
#define IpEpEngine_update_identity(This,ident,result)	\
vb@2
   477
    ( (This)->lpVtbl -> update_identity(This,ident,result) ) 
vb@2
   478
vb@2
   479
#endif /* COBJMACROS */
vb@2
   480
vb@2
   481
vb@2
   482
#endif 	/* C style interface */
vb@2
   483
vb@2
   484
vb@2
   485
vb@2
   486
vb@2
   487
#endif 	/* __IpEpEngine_INTERFACE_DEFINED__ */
vb@2
   488
vb@2
   489
vb@2
   490
vb@2
   491
#ifndef __pEpCOMServerAdapterLib_LIBRARY_DEFINED__
vb@2
   492
#define __pEpCOMServerAdapterLib_LIBRARY_DEFINED__
vb@2
   493
vb@2
   494
/* library pEpCOMServerAdapterLib */
vb@2
   495
/* [version][uuid] */ 
vb@2
   496
vb@2
   497
vb@2
   498
EXTERN_C const IID LIBID_pEpCOMServerAdapterLib;
vb@2
   499
vb@2
   500
#ifndef ___IpEpEngineEvents_DISPINTERFACE_DEFINED__
vb@2
   501
#define ___IpEpEngineEvents_DISPINTERFACE_DEFINED__
vb@2
   502
vb@2
   503
/* dispinterface _IpEpEngineEvents */
vb@2
   504
/* [uuid] */ 
vb@2
   505
vb@2
   506
vb@2
   507
EXTERN_C const IID DIID__IpEpEngineEvents;
vb@2
   508
vb@2
   509
#if defined(__cplusplus) && !defined(CINTERFACE)
vb@2
   510
vb@2
   511
    MIDL_INTERFACE("B6BC9B8E-D9E2-4419-A3A4-7B4B58175549")
vb@2
   512
    _IpEpEngineEvents : public IDispatch
vb@2
   513
    {
vb@2
   514
    };
vb@2
   515
    
vb@2
   516
#else 	/* C style interface */
vb@2
   517
vb@2
   518
    typedef struct _IpEpEngineEventsVtbl
vb@2
   519
    {
vb@2
   520
        BEGIN_INTERFACE
vb@2
   521
        
vb@2
   522
        HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
vb@2
   523
            _IpEpEngineEvents * This,
vb@2
   524
            /* [in] */ REFIID riid,
vb@2
   525
            /* [annotation][iid_is][out] */ 
vb@2
   526
            _COM_Outptr_  void **ppvObject);
vb@2
   527
        
vb@2
   528
        ULONG ( STDMETHODCALLTYPE *AddRef )( 
vb@2
   529
            _IpEpEngineEvents * This);
vb@2
   530
        
vb@2
   531
        ULONG ( STDMETHODCALLTYPE *Release )( 
vb@2
   532
            _IpEpEngineEvents * This);
vb@2
   533
        
vb@2
   534
        HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
vb@2
   535
            _IpEpEngineEvents * This,
vb@2
   536
            /* [out] */ UINT *pctinfo);
vb@2
   537
        
vb@2
   538
        HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
vb@2
   539
            _IpEpEngineEvents * This,
vb@2
   540
            /* [in] */ UINT iTInfo,
vb@2
   541
            /* [in] */ LCID lcid,
vb@2
   542
            /* [out] */ ITypeInfo **ppTInfo);
vb@2
   543
        
vb@2
   544
        HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
vb@2
   545
            _IpEpEngineEvents * This,
vb@2
   546
            /* [in] */ REFIID riid,
vb@2
   547
            /* [size_is][in] */ LPOLESTR *rgszNames,
vb@2
   548
            /* [range][in] */ UINT cNames,
vb@2
   549
            /* [in] */ LCID lcid,
vb@2
   550
            /* [size_is][out] */ DISPID *rgDispId);
vb@2
   551
        
vb@2
   552
        /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
vb@2
   553
            _IpEpEngineEvents * This,
vb@2
   554
            /* [annotation][in] */ 
vb@2
   555
            _In_  DISPID dispIdMember,
vb@2
   556
            /* [annotation][in] */ 
vb@2
   557
            _In_  REFIID riid,
vb@2
   558
            /* [annotation][in] */ 
vb@2
   559
            _In_  LCID lcid,
vb@2
   560
            /* [annotation][in] */ 
vb@2
   561
            _In_  WORD wFlags,
vb@2
   562
            /* [annotation][out][in] */ 
vb@2
   563
            _In_  DISPPARAMS *pDispParams,
vb@2
   564
            /* [annotation][out] */ 
vb@2
   565
            _Out_opt_  VARIANT *pVarResult,
vb@2
   566
            /* [annotation][out] */ 
vb@2
   567
            _Out_opt_  EXCEPINFO *pExcepInfo,
vb@2
   568
            /* [annotation][out] */ 
vb@2
   569
            _Out_opt_  UINT *puArgErr);
vb@2
   570
        
vb@2
   571
        END_INTERFACE
vb@2
   572
    } _IpEpEngineEventsVtbl;
vb@2
   573
vb@2
   574
    interface _IpEpEngineEvents
vb@2
   575
    {
vb@2
   576
        CONST_VTBL struct _IpEpEngineEventsVtbl *lpVtbl;
vb@2
   577
    };
vb@2
   578
vb@2
   579
    
vb@2
   580
vb@2
   581
#ifdef COBJMACROS
vb@2
   582
vb@2
   583
vb@2
   584
#define _IpEpEngineEvents_QueryInterface(This,riid,ppvObject)	\
vb@2
   585
    ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) 
vb@2
   586
vb@2
   587
#define _IpEpEngineEvents_AddRef(This)	\
vb@2
   588
    ( (This)->lpVtbl -> AddRef(This) ) 
vb@2
   589
vb@2
   590
#define _IpEpEngineEvents_Release(This)	\
vb@2
   591
    ( (This)->lpVtbl -> Release(This) ) 
vb@2
   592
vb@2
   593
vb@2
   594
#define _IpEpEngineEvents_GetTypeInfoCount(This,pctinfo)	\
vb@2
   595
    ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) 
vb@2
   596
vb@2
   597
#define _IpEpEngineEvents_GetTypeInfo(This,iTInfo,lcid,ppTInfo)	\
vb@2
   598
    ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) 
vb@2
   599
vb@2
   600
#define _IpEpEngineEvents_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)	\
vb@2
   601
    ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) 
vb@2
   602
vb@2
   603
#define _IpEpEngineEvents_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)	\
vb@2
   604
    ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) 
vb@2
   605
vb@2
   606
#endif /* COBJMACROS */
vb@2
   607
vb@2
   608
vb@2
   609
#endif 	/* C style interface */
vb@2
   610
vb@2
   611
vb@2
   612
#endif 	/* ___IpEpEngineEvents_DISPINTERFACE_DEFINED__ */
vb@2
   613
vb@2
   614
vb@2
   615
EXTERN_C const CLSID CLSID_pEpEngine;
vb@2
   616
vb@2
   617
#ifdef __cplusplus
vb@2
   618
vb@2
   619
class DECLSPEC_UUID("EF1B073D-5058-4E0E-829E-B4D22CA21EA2")
vb@2
   620
pEpEngine;
vb@2
   621
#endif
vb@2
   622
#endif /* __pEpCOMServerAdapterLib_LIBRARY_DEFINED__ */
vb@2
   623
vb@2
   624
/* Additional Prototypes for ALL interfaces */
vb@2
   625
vb@2
   626
unsigned long             __RPC_USER  BSTR_UserSize(     unsigned long *, unsigned long            , BSTR * ); 
vb@2
   627
unsigned char * __RPC_USER  BSTR_UserMarshal(  unsigned long *, unsigned char *, BSTR * ); 
vb@2
   628
unsigned char * __RPC_USER  BSTR_UserUnmarshal(unsigned long *, unsigned char *, BSTR * ); 
vb@2
   629
void                      __RPC_USER  BSTR_UserFree(     unsigned long *, BSTR * ); 
vb@2
   630
vb@2
   631
unsigned long             __RPC_USER  LPSAFEARRAY_UserSize(     unsigned long *, unsigned long            , LPSAFEARRAY * ); 
vb@2
   632
unsigned char * __RPC_USER  LPSAFEARRAY_UserMarshal(  unsigned long *, unsigned char *, LPSAFEARRAY * ); 
vb@2
   633
unsigned char * __RPC_USER  LPSAFEARRAY_UserUnmarshal(unsigned long *, unsigned char *, LPSAFEARRAY * ); 
vb@2
   634
void                      __RPC_USER  LPSAFEARRAY_UserFree(     unsigned long *, LPSAFEARRAY * ); 
vb@2
   635
vb@2
   636
/* end of Additional Prototypes */
vb@2
   637
vb@2
   638
#ifdef __cplusplus
vb@2
   639
}
vb@2
   640
#endif
vb@2
   641
vb@2
   642
#endif
vb@2
   643
vb@2
   644