pEpCOMServerAdapter_i.h
author Volker Birk <vb@pep-project.org>
Fri, 24 Apr 2015 00:00:37 +0200
changeset 5 d959f594e4f7
parent 4 fdd8cf02d2cc
child 8 6fe51215f252
permissions -rw-r--r--
...
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@5
     7
/* at Thu Apr 23 23:53:02 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@4
    55
#ifndef __IMessageAPI_Outlook_FWD_DEFINED__
vb@4
    56
#define __IMessageAPI_Outlook_FWD_DEFINED__
vb@4
    57
typedef interface IMessageAPI_Outlook IMessageAPI_Outlook;
vb@4
    58
vb@4
    59
#endif 	/* __IMessageAPI_Outlook_FWD_DEFINED__ */
vb@4
    60
vb@4
    61
vb@2
    62
#ifndef ___IpEpEngineEvents_FWD_DEFINED__
vb@2
    63
#define ___IpEpEngineEvents_FWD_DEFINED__
vb@2
    64
typedef interface _IpEpEngineEvents _IpEpEngineEvents;
vb@2
    65
vb@2
    66
#endif 	/* ___IpEpEngineEvents_FWD_DEFINED__ */
vb@2
    67
vb@2
    68
vb@2
    69
#ifndef __pEpEngine_FWD_DEFINED__
vb@2
    70
#define __pEpEngine_FWD_DEFINED__
vb@2
    71
vb@2
    72
#ifdef __cplusplus
vb@2
    73
typedef class pEpEngine pEpEngine;
vb@2
    74
#else
vb@2
    75
typedef struct pEpEngine pEpEngine;
vb@2
    76
#endif /* __cplusplus */
vb@2
    77
vb@2
    78
#endif 	/* __pEpEngine_FWD_DEFINED__ */
vb@2
    79
vb@2
    80
vb@2
    81
/* header files for imported files */
vb@2
    82
#include "oaidl.h"
vb@2
    83
#include "ocidl.h"
vb@2
    84
vb@2
    85
#ifdef __cplusplus
vb@2
    86
extern "C"{
vb@2
    87
#endif 
vb@2
    88
vb@2
    89
vb@5
    90
/* interface __MIDL_itf_pEpCOMServerAdapter_0000_0000 */
vb@5
    91
/* [local] */ 
vb@5
    92
vb@5
    93
vb@5
    94
vb@5
    95
vb@5
    96
extern RPC_IF_HANDLE __MIDL_itf_pEpCOMServerAdapter_0000_0000_v0_0_c_ifspec;
vb@5
    97
extern RPC_IF_HANDLE __MIDL_itf_pEpCOMServerAdapter_0000_0000_v0_0_s_ifspec;
vb@5
    98
vb@2
    99
#ifndef __IpEpEngine_INTERFACE_DEFINED__
vb@2
   100
#define __IpEpEngine_INTERFACE_DEFINED__
vb@2
   101
vb@2
   102
/* interface IpEpEngine */
vb@2
   103
/* [unique][nonextensible][oleautomation][uuid][object] */ 
vb@2
   104
vb@2
   105
typedef 
vb@2
   106
enum _pEp_STATUS
vb@2
   107
    {
vb@2
   108
        pEp_STATUS_OK	= 0,
vb@2
   109
        pEp_KEY_NOT_FOUND	= 0x201,
vb@2
   110
        pEp_KEY_HAS_AMBIG_NAME	= 0x202,
vb@2
   111
        pEp_GET_KEY_FAILED	= 0x203,
vb@2
   112
        pEp_UNENCRYPTED	= 0x400,
vb@2
   113
        pEp_VERIFIED	= 0x401,
vb@2
   114
        pEp_DECRYPTED	= 0x402,
vb@2
   115
        pEp_DECRYPTED_AND_VERIFIED	= 0x403,
vb@2
   116
        pEp_DECRYPT_WRONG_FORMAT	= 0x404,
vb@2
   117
        pEp_DECRYPT_NO_KEY	= 0x405,
vb@2
   118
        pEp_DECRYPT_SIGNATURE_DOES_NOT_MATCH	= 0x406,
vb@2
   119
        pEp_VERIFY_NO_KEY	= 0x407,
vb@2
   120
        pEp_VERIFIED_AND_TRUSTED	= 0x408,
vb@2
   121
        pEp_ILLEGAL_VALUE	= -4,
vb@2
   122
        pEp_BUFFER_TOO_SMALL	= -3,
vb@2
   123
        pEp_OUT_OF_MEMORY	= -2,
vb@2
   124
        pEp_UNKNOWN_ERROR	= -1
vb@2
   125
    } 	pEp_STATUS;
vb@2
   126
vb@2
   127
typedef 
vb@2
   128
enum _pEp_comm_type
vb@2
   129
    {
vb@2
   130
        pEp_ct_unknown	= 0,
vb@2
   131
        pEp_ct_no_encryption	= 0x1,
vb@2
   132
        pEp_ct_no_encrypted_channel	= 0x2,
vb@2
   133
        pEp_ct_key_not_found	= 0x3,
vb@2
   134
        pEp_ct_key_expired	= 0x4,
vb@2
   135
        pEp_ct_key_revoked	= 0x5,
vb@2
   136
        pEp_ct_key_b0rken	= 0x6,
vb@2
   137
        pEp_ct_my_key_not_included	= 0x9,
vb@2
   138
        pEp_ct_security_by_obscurity	= 0xa,
vb@2
   139
        pEp_ct_b0rken_crypto	= 0xb,
vb@2
   140
        pEp_ct_key_too_short	= 0xe,
vb@2
   141
        pEp_ct_compromized	= 0xf,
vb@2
   142
        pEp_ct_unconfirmed_encryption	= 0x10,
vb@2
   143
        pEp_ct_OpenPGP_1024_RSA_unconfirmed	= 0x11,
vb@2
   144
        pEp_ct_OpenPGP_unconfirmed	= 0x3f,
vb@2
   145
        pEp_ct_unconfirmed_enc_anon	= 0x40,
vb@2
   146
        pEp_ct_pEp_unconfirmed	= 0x7f,
vb@2
   147
        pEp_ct_confirmed	= 0x80,
vb@2
   148
        pEp_ct_confirmed_encryption	= 0x90,
vb@2
   149
        pEp_ct_OpenPGP_1024_RSA	= 0x91,
vb@2
   150
        pEp_ct_OpenPGP	= 0xbf,
vb@2
   151
        pEp_ct_confirmed_enc_anon	= 0xc0,
vb@2
   152
        pEp_ct_pEp	= 0xff
vb@2
   153
    } 	pEp_comm_type;
vb@2
   154
vb@2
   155
struct pEp_identity_s
vb@2
   156
    {
vb@2
   157
    BSTR address;
vb@2
   158
    BSTR fpr;
vb@2
   159
    BSTR user_id;
vb@2
   160
    BSTR username;
vb@2
   161
    pEp_comm_type comm_type;
vb@2
   162
    BSTR lang;
vb@2
   163
    } ;
vb@2
   164
vb@2
   165
EXTERN_C const IID IID_IpEpEngine;
vb@2
   166
vb@2
   167
#if defined(__cplusplus) && !defined(CINTERFACE)
vb@2
   168
    
vb@2
   169
    MIDL_INTERFACE("9A9F4422-CF0A-45D7-90CD-1D1B7B2A4540")
vb@2
   170
    IpEpEngine : public IUnknown
vb@2
   171
    {
vb@2
   172
    public:
vb@4
   173
        virtual HRESULT STDMETHODCALLTYPE log( 
vb@2
   174
            /* [in] */ BSTR title,
vb@2
   175
            /* [in] */ BSTR entity,
vb@2
   176
            /* [defaultvalue][in] */ BSTR description = L"",
vb@2
   177
            /* [defaultvalue][in] */ BSTR comment = L"") = 0;
vb@2
   178
        
vb@4
   179
        virtual HRESULT STDMETHODCALLTYPE decrypt( 
vb@2
   180
            /* [in] */ BSTR ctext,
vb@2
   181
            /* [out] */ BSTR *ptext,
vb@2
   182
            /* [out] */ SAFEARRAY * *key_list,
vb@2
   183
            /* [retval][out] */ pEp_STATUS *decrypt_status) = 0;
vb@2
   184
        
vb@4
   185
        virtual HRESULT STDMETHODCALLTYPE decrypt_b( 
vb@2
   186
            /* [in] */ BSTR ctext,
vb@2
   187
            /* [out] */ SAFEARRAY * *ptext,
vb@2
   188
            /* [out] */ SAFEARRAY * *key_list,
vb@2
   189
            /* [retval][out] */ pEp_STATUS *decrypt_status) = 0;
vb@2
   190
        
vb@4
   191
        virtual HRESULT STDMETHODCALLTYPE encrypt( 
vb@2
   192
            /* [in] */ SAFEARRAY * key_list,
vb@2
   193
            /* [in] */ BSTR ptext,
vb@2
   194
            /* [out] */ BSTR *ctext,
vb@2
   195
            /* [retval][out] */ pEp_STATUS *status) = 0;
vb@2
   196
        
vb@4
   197
        virtual HRESULT STDMETHODCALLTYPE encrypt_b( 
vb@2
   198
            /* [in] */ SAFEARRAY * key_list,
vb@2
   199
            /* [in] */ SAFEARRAY * ptext,
vb@2
   200
            /* [out] */ BSTR *ctext,
vb@2
   201
            /* [retval][out] */ pEp_STATUS *status) = 0;
vb@2
   202
        
vb@4
   203
        virtual HRESULT STDMETHODCALLTYPE verify( 
vb@2
   204
            /* [in] */ BSTR text,
vb@2
   205
            /* [in] */ BSTR signature,
vb@2
   206
            /* [out] */ SAFEARRAY * *key_list,
vb@2
   207
            /* [retval][out] */ pEp_STATUS *verify_status) = 0;
vb@2
   208
        
vb@4
   209
        virtual HRESULT STDMETHODCALLTYPE safeword( 
vb@2
   210
            /* [in] */ LONG value,
vb@2
   211
            /* [defaultvalue][in] */ BSTR lang,
vb@2
   212
            /* [retval][out] */ BSTR *word) = 0;
vb@2
   213
        
vb@4
   214
        virtual HRESULT STDMETHODCALLTYPE safewords( 
vb@2
   215
            /* [in] */ BSTR fpr,
vb@2
   216
            /* [defaultvalue][in] */ BSTR lang,
vb@2
   217
            /* [defaultvalue][in] */ LONG max_words,
vb@2
   218
            /* [retval][out] */ BSTR *words) = 0;
vb@2
   219
        
vb@4
   220
        virtual HRESULT STDMETHODCALLTYPE get_identity( 
vb@2
   221
            /* [in] */ BSTR address,
vb@2
   222
            /* [retval][out] */ struct pEp_identity_s *ident) = 0;
vb@2
   223
        
vb@4
   224
        virtual HRESULT STDMETHODCALLTYPE set_identity( 
vb@2
   225
            /* [in] */ struct pEp_identity_s *ident) = 0;
vb@2
   226
        
vb@4
   227
        virtual HRESULT STDMETHODCALLTYPE generate_keypair( 
vb@2
   228
            /* [in] */ struct pEp_identity_s *ident,
vb@2
   229
            /* [retval][out] */ BSTR *fpr) = 0;
vb@2
   230
        
vb@4
   231
        virtual HRESULT STDMETHODCALLTYPE delete_keypair( 
vb@2
   232
            /* [in] */ BSTR fpr) = 0;
vb@2
   233
        
vb@4
   234
        virtual HRESULT STDMETHODCALLTYPE import_key( 
vb@2
   235
            /* [in] */ BSTR key_data) = 0;
vb@2
   236
        
vb@4
   237
        virtual HRESULT STDMETHODCALLTYPE import_key_b( 
vb@2
   238
            /* [in] */ SAFEARRAY * key_data) = 0;
vb@2
   239
        
vb@4
   240
        virtual HRESULT STDMETHODCALLTYPE export_key( 
vb@2
   241
            /* [in] */ BSTR fpr,
vb@2
   242
            /* [retval][out] */ BSTR *key_data) = 0;
vb@2
   243
        
vb@4
   244
        virtual HRESULT STDMETHODCALLTYPE recv_key( 
vb@2
   245
            /* [in] */ BSTR pattern) = 0;
vb@2
   246
        
vb@4
   247
        virtual HRESULT STDMETHODCALLTYPE find_keys( 
vb@2
   248
            /* [in] */ BSTR pattern,
vb@2
   249
            /* [retval][out] */ SAFEARRAY * *key_list) = 0;
vb@2
   250
        
vb@4
   251
        virtual HRESULT STDMETHODCALLTYPE send_key( 
vb@2
   252
            /* [in] */ BSTR pattern) = 0;
vb@2
   253
        
vb@4
   254
        virtual HRESULT STDMETHODCALLTYPE examine_identity( 
vb@2
   255
            /* [in] */ struct pEp_identity_s *ident) = 0;
vb@2
   256
        
vb@4
   257
        virtual HRESULT STDMETHODCALLTYPE examine_myself( 
vb@2
   258
            /* [in] */ struct pEp_identity_s *myself) = 0;
vb@2
   259
        
vb@4
   260
        virtual HRESULT STDMETHODCALLTYPE myself( 
vb@2
   261
            /* [in] */ struct pEp_identity_s *ident,
vb@2
   262
            /* [retval][out] */ struct pEp_identity_s *result) = 0;
vb@2
   263
        
vb@4
   264
        virtual HRESULT STDMETHODCALLTYPE update_identity( 
vb@2
   265
            /* [in] */ struct pEp_identity_s *ident,
vb@2
   266
            /* [retval][out] */ struct pEp_identity_s *result) = 0;
vb@2
   267
        
vb@2
   268
    };
vb@2
   269
    
vb@2
   270
    
vb@2
   271
#else 	/* C style interface */
vb@2
   272
vb@2
   273
    typedef struct IpEpEngineVtbl
vb@2
   274
    {
vb@2
   275
        BEGIN_INTERFACE
vb@2
   276
        
vb@2
   277
        HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
vb@2
   278
            IpEpEngine * This,
vb@2
   279
            /* [in] */ REFIID riid,
vb@2
   280
            /* [annotation][iid_is][out] */ 
vb@2
   281
            _COM_Outptr_  void **ppvObject);
vb@2
   282
        
vb@2
   283
        ULONG ( STDMETHODCALLTYPE *AddRef )( 
vb@2
   284
            IpEpEngine * This);
vb@2
   285
        
vb@2
   286
        ULONG ( STDMETHODCALLTYPE *Release )( 
vb@2
   287
            IpEpEngine * This);
vb@2
   288
        
vb@4
   289
        HRESULT ( STDMETHODCALLTYPE *log )( 
vb@2
   290
            IpEpEngine * This,
vb@2
   291
            /* [in] */ BSTR title,
vb@2
   292
            /* [in] */ BSTR entity,
vb@2
   293
            /* [defaultvalue][in] */ BSTR description,
vb@2
   294
            /* [defaultvalue][in] */ BSTR comment);
vb@2
   295
        
vb@4
   296
        HRESULT ( STDMETHODCALLTYPE *decrypt )( 
vb@2
   297
            IpEpEngine * This,
vb@2
   298
            /* [in] */ BSTR ctext,
vb@2
   299
            /* [out] */ BSTR *ptext,
vb@2
   300
            /* [out] */ SAFEARRAY * *key_list,
vb@2
   301
            /* [retval][out] */ pEp_STATUS *decrypt_status);
vb@2
   302
        
vb@4
   303
        HRESULT ( STDMETHODCALLTYPE *decrypt_b )( 
vb@2
   304
            IpEpEngine * This,
vb@2
   305
            /* [in] */ BSTR ctext,
vb@2
   306
            /* [out] */ SAFEARRAY * *ptext,
vb@2
   307
            /* [out] */ SAFEARRAY * *key_list,
vb@2
   308
            /* [retval][out] */ pEp_STATUS *decrypt_status);
vb@2
   309
        
vb@4
   310
        HRESULT ( STDMETHODCALLTYPE *encrypt )( 
vb@2
   311
            IpEpEngine * This,
vb@2
   312
            /* [in] */ SAFEARRAY * key_list,
vb@2
   313
            /* [in] */ BSTR ptext,
vb@2
   314
            /* [out] */ BSTR *ctext,
vb@2
   315
            /* [retval][out] */ pEp_STATUS *status);
vb@2
   316
        
vb@4
   317
        HRESULT ( STDMETHODCALLTYPE *encrypt_b )( 
vb@2
   318
            IpEpEngine * This,
vb@2
   319
            /* [in] */ SAFEARRAY * key_list,
vb@2
   320
            /* [in] */ SAFEARRAY * ptext,
vb@2
   321
            /* [out] */ BSTR *ctext,
vb@2
   322
            /* [retval][out] */ pEp_STATUS *status);
vb@2
   323
        
vb@4
   324
        HRESULT ( STDMETHODCALLTYPE *verify )( 
vb@2
   325
            IpEpEngine * This,
vb@2
   326
            /* [in] */ BSTR text,
vb@2
   327
            /* [in] */ BSTR signature,
vb@2
   328
            /* [out] */ SAFEARRAY * *key_list,
vb@2
   329
            /* [retval][out] */ pEp_STATUS *verify_status);
vb@2
   330
        
vb@4
   331
        HRESULT ( STDMETHODCALLTYPE *safeword )( 
vb@2
   332
            IpEpEngine * This,
vb@2
   333
            /* [in] */ LONG value,
vb@2
   334
            /* [defaultvalue][in] */ BSTR lang,
vb@2
   335
            /* [retval][out] */ BSTR *word);
vb@2
   336
        
vb@4
   337
        HRESULT ( STDMETHODCALLTYPE *safewords )( 
vb@2
   338
            IpEpEngine * This,
vb@2
   339
            /* [in] */ BSTR fpr,
vb@2
   340
            /* [defaultvalue][in] */ BSTR lang,
vb@2
   341
            /* [defaultvalue][in] */ LONG max_words,
vb@2
   342
            /* [retval][out] */ BSTR *words);
vb@2
   343
        
vb@4
   344
        HRESULT ( STDMETHODCALLTYPE *get_identity )( 
vb@2
   345
            IpEpEngine * This,
vb@2
   346
            /* [in] */ BSTR address,
vb@2
   347
            /* [retval][out] */ struct pEp_identity_s *ident);
vb@2
   348
        
vb@4
   349
        HRESULT ( STDMETHODCALLTYPE *set_identity )( 
vb@2
   350
            IpEpEngine * This,
vb@2
   351
            /* [in] */ struct pEp_identity_s *ident);
vb@2
   352
        
vb@4
   353
        HRESULT ( STDMETHODCALLTYPE *generate_keypair )( 
vb@2
   354
            IpEpEngine * This,
vb@2
   355
            /* [in] */ struct pEp_identity_s *ident,
vb@2
   356
            /* [retval][out] */ BSTR *fpr);
vb@2
   357
        
vb@4
   358
        HRESULT ( STDMETHODCALLTYPE *delete_keypair )( 
vb@2
   359
            IpEpEngine * This,
vb@2
   360
            /* [in] */ BSTR fpr);
vb@2
   361
        
vb@4
   362
        HRESULT ( STDMETHODCALLTYPE *import_key )( 
vb@2
   363
            IpEpEngine * This,
vb@2
   364
            /* [in] */ BSTR key_data);
vb@2
   365
        
vb@4
   366
        HRESULT ( STDMETHODCALLTYPE *import_key_b )( 
vb@2
   367
            IpEpEngine * This,
vb@2
   368
            /* [in] */ SAFEARRAY * key_data);
vb@2
   369
        
vb@4
   370
        HRESULT ( STDMETHODCALLTYPE *export_key )( 
vb@2
   371
            IpEpEngine * This,
vb@2
   372
            /* [in] */ BSTR fpr,
vb@2
   373
            /* [retval][out] */ BSTR *key_data);
vb@2
   374
        
vb@4
   375
        HRESULT ( STDMETHODCALLTYPE *recv_key )( 
vb@2
   376
            IpEpEngine * This,
vb@2
   377
            /* [in] */ BSTR pattern);
vb@2
   378
        
vb@4
   379
        HRESULT ( STDMETHODCALLTYPE *find_keys )( 
vb@2
   380
            IpEpEngine * This,
vb@2
   381
            /* [in] */ BSTR pattern,
vb@2
   382
            /* [retval][out] */ SAFEARRAY * *key_list);
vb@2
   383
        
vb@4
   384
        HRESULT ( STDMETHODCALLTYPE *send_key )( 
vb@2
   385
            IpEpEngine * This,
vb@2
   386
            /* [in] */ BSTR pattern);
vb@2
   387
        
vb@4
   388
        HRESULT ( STDMETHODCALLTYPE *examine_identity )( 
vb@2
   389
            IpEpEngine * This,
vb@2
   390
            /* [in] */ struct pEp_identity_s *ident);
vb@2
   391
        
vb@4
   392
        HRESULT ( STDMETHODCALLTYPE *examine_myself )( 
vb@2
   393
            IpEpEngine * This,
vb@2
   394
            /* [in] */ struct pEp_identity_s *myself);
vb@2
   395
        
vb@4
   396
        HRESULT ( STDMETHODCALLTYPE *myself )( 
vb@2
   397
            IpEpEngine * This,
vb@2
   398
            /* [in] */ struct pEp_identity_s *ident,
vb@2
   399
            /* [retval][out] */ struct pEp_identity_s *result);
vb@2
   400
        
vb@4
   401
        HRESULT ( STDMETHODCALLTYPE *update_identity )( 
vb@2
   402
            IpEpEngine * This,
vb@2
   403
            /* [in] */ struct pEp_identity_s *ident,
vb@2
   404
            /* [retval][out] */ struct pEp_identity_s *result);
vb@2
   405
        
vb@2
   406
        END_INTERFACE
vb@2
   407
    } IpEpEngineVtbl;
vb@2
   408
vb@2
   409
    interface IpEpEngine
vb@2
   410
    {
vb@2
   411
        CONST_VTBL struct IpEpEngineVtbl *lpVtbl;
vb@2
   412
    };
vb@2
   413
vb@2
   414
    
vb@2
   415
vb@2
   416
#ifdef COBJMACROS
vb@2
   417
vb@2
   418
vb@2
   419
#define IpEpEngine_QueryInterface(This,riid,ppvObject)	\
vb@2
   420
    ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) 
vb@2
   421
vb@2
   422
#define IpEpEngine_AddRef(This)	\
vb@2
   423
    ( (This)->lpVtbl -> AddRef(This) ) 
vb@2
   424
vb@2
   425
#define IpEpEngine_Release(This)	\
vb@2
   426
    ( (This)->lpVtbl -> Release(This) ) 
vb@2
   427
vb@2
   428
vb@2
   429
#define IpEpEngine_log(This,title,entity,description,comment)	\
vb@2
   430
    ( (This)->lpVtbl -> log(This,title,entity,description,comment) ) 
vb@2
   431
vb@2
   432
#define IpEpEngine_decrypt(This,ctext,ptext,key_list,decrypt_status)	\
vb@2
   433
    ( (This)->lpVtbl -> decrypt(This,ctext,ptext,key_list,decrypt_status) ) 
vb@2
   434
vb@2
   435
#define IpEpEngine_decrypt_b(This,ctext,ptext,key_list,decrypt_status)	\
vb@2
   436
    ( (This)->lpVtbl -> decrypt_b(This,ctext,ptext,key_list,decrypt_status) ) 
vb@2
   437
vb@2
   438
#define IpEpEngine_encrypt(This,key_list,ptext,ctext,status)	\
vb@2
   439
    ( (This)->lpVtbl -> encrypt(This,key_list,ptext,ctext,status) ) 
vb@2
   440
vb@2
   441
#define IpEpEngine_encrypt_b(This,key_list,ptext,ctext,status)	\
vb@2
   442
    ( (This)->lpVtbl -> encrypt_b(This,key_list,ptext,ctext,status) ) 
vb@2
   443
vb@2
   444
#define IpEpEngine_verify(This,text,signature,key_list,verify_status)	\
vb@2
   445
    ( (This)->lpVtbl -> verify(This,text,signature,key_list,verify_status) ) 
vb@2
   446
vb@2
   447
#define IpEpEngine_safeword(This,value,lang,word)	\
vb@2
   448
    ( (This)->lpVtbl -> safeword(This,value,lang,word) ) 
vb@2
   449
vb@2
   450
#define IpEpEngine_safewords(This,fpr,lang,max_words,words)	\
vb@2
   451
    ( (This)->lpVtbl -> safewords(This,fpr,lang,max_words,words) ) 
vb@2
   452
vb@2
   453
#define IpEpEngine_get_identity(This,address,ident)	\
vb@2
   454
    ( (This)->lpVtbl -> get_identity(This,address,ident) ) 
vb@2
   455
vb@2
   456
#define IpEpEngine_set_identity(This,ident)	\
vb@2
   457
    ( (This)->lpVtbl -> set_identity(This,ident) ) 
vb@2
   458
vb@2
   459
#define IpEpEngine_generate_keypair(This,ident,fpr)	\
vb@2
   460
    ( (This)->lpVtbl -> generate_keypair(This,ident,fpr) ) 
vb@2
   461
vb@2
   462
#define IpEpEngine_delete_keypair(This,fpr)	\
vb@2
   463
    ( (This)->lpVtbl -> delete_keypair(This,fpr) ) 
vb@2
   464
vb@2
   465
#define IpEpEngine_import_key(This,key_data)	\
vb@2
   466
    ( (This)->lpVtbl -> import_key(This,key_data) ) 
vb@2
   467
vb@2
   468
#define IpEpEngine_import_key_b(This,key_data)	\
vb@2
   469
    ( (This)->lpVtbl -> import_key_b(This,key_data) ) 
vb@2
   470
vb@2
   471
#define IpEpEngine_export_key(This,fpr,key_data)	\
vb@2
   472
    ( (This)->lpVtbl -> export_key(This,fpr,key_data) ) 
vb@2
   473
vb@2
   474
#define IpEpEngine_recv_key(This,pattern)	\
vb@2
   475
    ( (This)->lpVtbl -> recv_key(This,pattern) ) 
vb@2
   476
vb@2
   477
#define IpEpEngine_find_keys(This,pattern,key_list)	\
vb@2
   478
    ( (This)->lpVtbl -> find_keys(This,pattern,key_list) ) 
vb@2
   479
vb@2
   480
#define IpEpEngine_send_key(This,pattern)	\
vb@2
   481
    ( (This)->lpVtbl -> send_key(This,pattern) ) 
vb@2
   482
vb@2
   483
#define IpEpEngine_examine_identity(This,ident)	\
vb@2
   484
    ( (This)->lpVtbl -> examine_identity(This,ident) ) 
vb@2
   485
vb@2
   486
#define IpEpEngine_examine_myself(This,myself)	\
vb@2
   487
    ( (This)->lpVtbl -> examine_myself(This,myself) ) 
vb@2
   488
vb@2
   489
#define IpEpEngine_myself(This,ident,result)	\
vb@2
   490
    ( (This)->lpVtbl -> myself(This,ident,result) ) 
vb@2
   491
vb@2
   492
#define IpEpEngine_update_identity(This,ident,result)	\
vb@2
   493
    ( (This)->lpVtbl -> update_identity(This,ident,result) ) 
vb@2
   494
vb@2
   495
#endif /* COBJMACROS */
vb@2
   496
vb@2
   497
vb@2
   498
#endif 	/* C style interface */
vb@2
   499
vb@2
   500
vb@2
   501
vb@2
   502
vb@2
   503
#endif 	/* __IpEpEngine_INTERFACE_DEFINED__ */
vb@2
   504
vb@2
   505
vb@4
   506
#ifndef __IMessageAPI_Outlook_INTERFACE_DEFINED__
vb@4
   507
#define __IMessageAPI_Outlook_INTERFACE_DEFINED__
vb@4
   508
vb@4
   509
/* interface IMessageAPI_Outlook */
vb@4
   510
/* [unique][nonextensible][oleautomation][uuid][object] */ 
vb@4
   511
vb@4
   512
typedef 
vb@4
   513
enum _pEp_text_format
vb@4
   514
    {
vb@4
   515
        pEp_text_format_plain	= 0,
vb@4
   516
        pEp_text_format_html	= ( pEp_text_format_plain + 1 ) ,
vb@4
   517
        pEp_text_format_other	= 0xff
vb@4
   518
    } 	pEp_text_format;
vb@4
   519
vb@4
   520
typedef 
vb@4
   521
enum _pEp_msg_direction
vb@4
   522
    {
vb@4
   523
        pEp_dir_incoming	= 0,
vb@4
   524
        pEp_dir_outgoing	= ( pEp_dir_incoming + 1 ) 
vb@4
   525
    } 	pEp_msg_direction;
vb@4
   526
vb@4
   527
typedef 
vb@4
   528
enum _pEp_MIME_format
vb@4
   529
    {
vb@4
   530
        pEp_MIME_none	= 0,
vb@4
   531
        pEp_MIME_fields_omitted	= ( pEp_MIME_none + 1 ) ,
vb@4
   532
        pEp_MIME	= ( pEp_MIME_fields_omitted + 1 ) 
vb@4
   533
    } 	pEp_MIME_format;
vb@4
   534
vb@4
   535
typedef 
vb@4
   536
enum _pEp_enc_format
vb@4
   537
    {
vb@4
   538
        pEp_enc_none	= 0,
vb@4
   539
        pEp_enc_pieces	= ( pEp_enc_none + 1 ) ,
vb@4
   540
        pEp_enc_S_MIME	= ( pEp_enc_pieces + 1 ) ,
vb@4
   541
        pEp_enc_PGP_MIME	= ( pEp_enc_S_MIME + 1 ) ,
vb@4
   542
        pEp_enc_pEp	= ( pEp_enc_PGP_MIME + 1 ) 
vb@4
   543
    } 	pEp_enc_format;
vb@4
   544
vb@4
   545
vb@4
   546
EXTERN_C const IID IID_IMessageAPI_Outlook;
vb@4
   547
vb@4
   548
#if defined(__cplusplus) && !defined(CINTERFACE)
vb@4
   549
    
vb@4
   550
    MIDL_INTERFACE("BC9AB54D-2CDA-47A5-AB40-64857B9E9555")
vb@4
   551
    IMessageAPI_Outlook : public IUnknown
vb@4
   552
    {
vb@4
   553
    public:
vb@4
   554
        virtual HRESULT STDMETHODCALLTYPE key_compromized( 
vb@4
   555
            /* [in] */ BSTR fpr) = 0;
vb@4
   556
        
vb@4
   557
    };
vb@4
   558
    
vb@4
   559
    
vb@4
   560
#else 	/* C style interface */
vb@4
   561
vb@4
   562
    typedef struct IMessageAPI_OutlookVtbl
vb@4
   563
    {
vb@4
   564
        BEGIN_INTERFACE
vb@4
   565
        
vb@4
   566
        HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
vb@4
   567
            IMessageAPI_Outlook * This,
vb@4
   568
            /* [in] */ REFIID riid,
vb@4
   569
            /* [annotation][iid_is][out] */ 
vb@4
   570
            _COM_Outptr_  void **ppvObject);
vb@4
   571
        
vb@4
   572
        ULONG ( STDMETHODCALLTYPE *AddRef )( 
vb@4
   573
            IMessageAPI_Outlook * This);
vb@4
   574
        
vb@4
   575
        ULONG ( STDMETHODCALLTYPE *Release )( 
vb@4
   576
            IMessageAPI_Outlook * This);
vb@4
   577
        
vb@4
   578
        HRESULT ( STDMETHODCALLTYPE *key_compromized )( 
vb@4
   579
            IMessageAPI_Outlook * This,
vb@4
   580
            /* [in] */ BSTR fpr);
vb@4
   581
        
vb@4
   582
        END_INTERFACE
vb@4
   583
    } IMessageAPI_OutlookVtbl;
vb@4
   584
vb@4
   585
    interface IMessageAPI_Outlook
vb@4
   586
    {
vb@4
   587
        CONST_VTBL struct IMessageAPI_OutlookVtbl *lpVtbl;
vb@4
   588
    };
vb@4
   589
vb@4
   590
    
vb@4
   591
vb@4
   592
#ifdef COBJMACROS
vb@4
   593
vb@4
   594
vb@4
   595
#define IMessageAPI_Outlook_QueryInterface(This,riid,ppvObject)	\
vb@4
   596
    ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) 
vb@4
   597
vb@4
   598
#define IMessageAPI_Outlook_AddRef(This)	\
vb@4
   599
    ( (This)->lpVtbl -> AddRef(This) ) 
vb@4
   600
vb@4
   601
#define IMessageAPI_Outlook_Release(This)	\
vb@4
   602
    ( (This)->lpVtbl -> Release(This) ) 
vb@4
   603
vb@4
   604
vb@4
   605
#define IMessageAPI_Outlook_key_compromized(This,fpr)	\
vb@4
   606
    ( (This)->lpVtbl -> key_compromized(This,fpr) ) 
vb@4
   607
vb@4
   608
#endif /* COBJMACROS */
vb@4
   609
vb@4
   610
vb@4
   611
#endif 	/* C style interface */
vb@4
   612
vb@4
   613
vb@4
   614
vb@4
   615
vb@4
   616
#endif 	/* __IMessageAPI_Outlook_INTERFACE_DEFINED__ */
vb@4
   617
vb@4
   618
vb@2
   619
vb@2
   620
#ifndef __pEpCOMServerAdapterLib_LIBRARY_DEFINED__
vb@2
   621
#define __pEpCOMServerAdapterLib_LIBRARY_DEFINED__
vb@2
   622
vb@2
   623
/* library pEpCOMServerAdapterLib */
vb@2
   624
/* [version][uuid] */ 
vb@2
   625
vb@2
   626
vb@2
   627
EXTERN_C const IID LIBID_pEpCOMServerAdapterLib;
vb@2
   628
vb@2
   629
#ifndef ___IpEpEngineEvents_DISPINTERFACE_DEFINED__
vb@2
   630
#define ___IpEpEngineEvents_DISPINTERFACE_DEFINED__
vb@2
   631
vb@2
   632
/* dispinterface _IpEpEngineEvents */
vb@2
   633
/* [uuid] */ 
vb@2
   634
vb@2
   635
vb@2
   636
EXTERN_C const IID DIID__IpEpEngineEvents;
vb@2
   637
vb@2
   638
#if defined(__cplusplus) && !defined(CINTERFACE)
vb@2
   639
vb@2
   640
    MIDL_INTERFACE("B6BC9B8E-D9E2-4419-A3A4-7B4B58175549")
vb@2
   641
    _IpEpEngineEvents : public IDispatch
vb@2
   642
    {
vb@2
   643
    };
vb@2
   644
    
vb@2
   645
#else 	/* C style interface */
vb@2
   646
vb@2
   647
    typedef struct _IpEpEngineEventsVtbl
vb@2
   648
    {
vb@2
   649
        BEGIN_INTERFACE
vb@2
   650
        
vb@2
   651
        HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
vb@2
   652
            _IpEpEngineEvents * This,
vb@2
   653
            /* [in] */ REFIID riid,
vb@2
   654
            /* [annotation][iid_is][out] */ 
vb@2
   655
            _COM_Outptr_  void **ppvObject);
vb@2
   656
        
vb@2
   657
        ULONG ( STDMETHODCALLTYPE *AddRef )( 
vb@2
   658
            _IpEpEngineEvents * This);
vb@2
   659
        
vb@2
   660
        ULONG ( STDMETHODCALLTYPE *Release )( 
vb@2
   661
            _IpEpEngineEvents * This);
vb@2
   662
        
vb@2
   663
        HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
vb@2
   664
            _IpEpEngineEvents * This,
vb@2
   665
            /* [out] */ UINT *pctinfo);
vb@2
   666
        
vb@2
   667
        HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
vb@2
   668
            _IpEpEngineEvents * This,
vb@2
   669
            /* [in] */ UINT iTInfo,
vb@2
   670
            /* [in] */ LCID lcid,
vb@2
   671
            /* [out] */ ITypeInfo **ppTInfo);
vb@2
   672
        
vb@2
   673
        HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
vb@2
   674
            _IpEpEngineEvents * This,
vb@2
   675
            /* [in] */ REFIID riid,
vb@2
   676
            /* [size_is][in] */ LPOLESTR *rgszNames,
vb@2
   677
            /* [range][in] */ UINT cNames,
vb@2
   678
            /* [in] */ LCID lcid,
vb@2
   679
            /* [size_is][out] */ DISPID *rgDispId);
vb@2
   680
        
vb@2
   681
        /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
vb@2
   682
            _IpEpEngineEvents * This,
vb@2
   683
            /* [annotation][in] */ 
vb@2
   684
            _In_  DISPID dispIdMember,
vb@2
   685
            /* [annotation][in] */ 
vb@2
   686
            _In_  REFIID riid,
vb@2
   687
            /* [annotation][in] */ 
vb@2
   688
            _In_  LCID lcid,
vb@2
   689
            /* [annotation][in] */ 
vb@2
   690
            _In_  WORD wFlags,
vb@2
   691
            /* [annotation][out][in] */ 
vb@2
   692
            _In_  DISPPARAMS *pDispParams,
vb@2
   693
            /* [annotation][out] */ 
vb@2
   694
            _Out_opt_  VARIANT *pVarResult,
vb@2
   695
            /* [annotation][out] */ 
vb@2
   696
            _Out_opt_  EXCEPINFO *pExcepInfo,
vb@2
   697
            /* [annotation][out] */ 
vb@2
   698
            _Out_opt_  UINT *puArgErr);
vb@2
   699
        
vb@2
   700
        END_INTERFACE
vb@2
   701
    } _IpEpEngineEventsVtbl;
vb@2
   702
vb@2
   703
    interface _IpEpEngineEvents
vb@2
   704
    {
vb@2
   705
        CONST_VTBL struct _IpEpEngineEventsVtbl *lpVtbl;
vb@2
   706
    };
vb@2
   707
vb@2
   708
    
vb@2
   709
vb@2
   710
#ifdef COBJMACROS
vb@2
   711
vb@2
   712
vb@2
   713
#define _IpEpEngineEvents_QueryInterface(This,riid,ppvObject)	\
vb@2
   714
    ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) 
vb@2
   715
vb@2
   716
#define _IpEpEngineEvents_AddRef(This)	\
vb@2
   717
    ( (This)->lpVtbl -> AddRef(This) ) 
vb@2
   718
vb@2
   719
#define _IpEpEngineEvents_Release(This)	\
vb@2
   720
    ( (This)->lpVtbl -> Release(This) ) 
vb@2
   721
vb@2
   722
vb@2
   723
#define _IpEpEngineEvents_GetTypeInfoCount(This,pctinfo)	\
vb@2
   724
    ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) 
vb@2
   725
vb@2
   726
#define _IpEpEngineEvents_GetTypeInfo(This,iTInfo,lcid,ppTInfo)	\
vb@2
   727
    ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) 
vb@2
   728
vb@2
   729
#define _IpEpEngineEvents_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)	\
vb@2
   730
    ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) 
vb@2
   731
vb@2
   732
#define _IpEpEngineEvents_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)	\
vb@2
   733
    ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) 
vb@2
   734
vb@2
   735
#endif /* COBJMACROS */
vb@2
   736
vb@2
   737
vb@2
   738
#endif 	/* C style interface */
vb@2
   739
vb@2
   740
vb@2
   741
#endif 	/* ___IpEpEngineEvents_DISPINTERFACE_DEFINED__ */
vb@2
   742
vb@2
   743
vb@2
   744
EXTERN_C const CLSID CLSID_pEpEngine;
vb@2
   745
vb@2
   746
#ifdef __cplusplus
vb@2
   747
vb@2
   748
class DECLSPEC_UUID("EF1B073D-5058-4E0E-829E-B4D22CA21EA2")
vb@2
   749
pEpEngine;
vb@2
   750
#endif
vb@2
   751
#endif /* __pEpCOMServerAdapterLib_LIBRARY_DEFINED__ */
vb@2
   752
vb@2
   753
/* Additional Prototypes for ALL interfaces */
vb@2
   754
vb@2
   755
unsigned long             __RPC_USER  BSTR_UserSize(     unsigned long *, unsigned long            , BSTR * ); 
vb@2
   756
unsigned char * __RPC_USER  BSTR_UserMarshal(  unsigned long *, unsigned char *, BSTR * ); 
vb@2
   757
unsigned char * __RPC_USER  BSTR_UserUnmarshal(unsigned long *, unsigned char *, BSTR * ); 
vb@2
   758
void                      __RPC_USER  BSTR_UserFree(     unsigned long *, BSTR * ); 
vb@2
   759
vb@2
   760
unsigned long             __RPC_USER  LPSAFEARRAY_UserSize(     unsigned long *, unsigned long            , LPSAFEARRAY * ); 
vb@2
   761
unsigned char * __RPC_USER  LPSAFEARRAY_UserMarshal(  unsigned long *, unsigned char *, LPSAFEARRAY * ); 
vb@2
   762
unsigned char * __RPC_USER  LPSAFEARRAY_UserUnmarshal(unsigned long *, unsigned char *, LPSAFEARRAY * ); 
vb@2
   763
void                      __RPC_USER  LPSAFEARRAY_UserFree(     unsigned long *, LPSAFEARRAY * ); 
vb@2
   764
vb@2
   765
/* end of Additional Prototypes */
vb@2
   766
vb@2
   767
#ifdef __cplusplus
vb@2
   768
}
vb@2
   769
#endif
vb@2
   770
vb@2
   771
#endif
vb@2
   772
vb@2
   773