pEpCOMServerAdapter_i.h
author Volker Birk <vb@pep-project.org>
Wed, 20 May 2015 17:41:29 +0200
changeset 22 ce807ab55768
parent 20 f77dd13806ff
child 23 720af5e728bc
permissions -rw-r--r--
adding support for opt_fields
vb@18
     1
vb@18
     2
vb@18
     3
/* this ALWAYS GENERATED file contains the definitions for the interfaces */
vb@18
     4
vb@18
     5
vb@18
     6
 /* File created by MIDL compiler version 8.00.0603 */
vb@22
     7
/* at Wed May 20 17:39:57 2015
vb@18
     8
 */
vb@18
     9
/* Compiler settings for pEpCOMServerAdapter.idl:
vb@18
    10
    Oicf, W1, Zp8, env=Win32 (32b run), target_arch=X86 8.00.0603 
vb@18
    11
    protocol : dce , ms_ext, c_ext, robust
vb@18
    12
    error checks: allocation ref bounds_check enum stub_data 
vb@18
    13
    VC __declspec() decoration level: 
vb@18
    14
         __declspec(uuid()), __declspec(selectany), __declspec(novtable)
vb@18
    15
         DECLSPEC_UUID(), MIDL_INTERFACE()
vb@18
    16
*/
vb@18
    17
/* @@MIDL_FILE_HEADING(  ) */
vb@18
    18
vb@18
    19
#pragma warning( disable: 4049 )  /* more than 64k source lines */
vb@18
    20
vb@18
    21
vb@18
    22
/* verify that the <rpcndr.h> version is high enough to compile this file*/
vb@18
    23
#ifndef __REQUIRED_RPCNDR_H_VERSION__
vb@18
    24
#define __REQUIRED_RPCNDR_H_VERSION__ 475
vb@18
    25
#endif
vb@18
    26
vb@18
    27
#include "rpc.h"
vb@18
    28
#include "rpcndr.h"
vb@18
    29
vb@18
    30
#ifndef __RPCNDR_H_VERSION__
vb@18
    31
#error this stub requires an updated version of <rpcndr.h>
vb@18
    32
#endif // __RPCNDR_H_VERSION__
vb@18
    33
vb@18
    34
#ifndef COM_NO_WINDOWS_H
vb@18
    35
#include "windows.h"
vb@18
    36
#include "ole2.h"
vb@18
    37
#endif /*COM_NO_WINDOWS_H*/
vb@18
    38
vb@18
    39
#ifndef __pEpCOMServerAdapter_i_h__
vb@18
    40
#define __pEpCOMServerAdapter_i_h__
vb@18
    41
vb@18
    42
#if defined(_MSC_VER) && (_MSC_VER >= 1020)
vb@18
    43
#pragma once
vb@18
    44
#endif
vb@18
    45
vb@18
    46
/* Forward Declarations */ 
vb@18
    47
vb@18
    48
#ifndef __ITextMessage_FWD_DEFINED__
vb@18
    49
#define __ITextMessage_FWD_DEFINED__
vb@18
    50
typedef interface ITextMessage ITextMessage;
vb@18
    51
vb@18
    52
#endif 	/* __ITextMessage_FWD_DEFINED__ */
vb@18
    53
vb@18
    54
vb@18
    55
#ifndef __IpEpEngine_FWD_DEFINED__
vb@18
    56
#define __IpEpEngine_FWD_DEFINED__
vb@18
    57
typedef interface IpEpEngine IpEpEngine;
vb@18
    58
vb@18
    59
#endif 	/* __IpEpEngine_FWD_DEFINED__ */
vb@18
    60
vb@18
    61
vb@18
    62
#ifndef ___IpEpEngineEvents_FWD_DEFINED__
vb@18
    63
#define ___IpEpEngineEvents_FWD_DEFINED__
vb@18
    64
typedef interface _IpEpEngineEvents _IpEpEngineEvents;
vb@18
    65
vb@18
    66
#endif 	/* ___IpEpEngineEvents_FWD_DEFINED__ */
vb@18
    67
vb@18
    68
vb@18
    69
#ifndef __pEpEngine_FWD_DEFINED__
vb@18
    70
#define __pEpEngine_FWD_DEFINED__
vb@18
    71
vb@18
    72
#ifdef __cplusplus
vb@18
    73
typedef class pEpEngine pEpEngine;
vb@18
    74
#else
vb@18
    75
typedef struct pEpEngine pEpEngine;
vb@18
    76
#endif /* __cplusplus */
vb@18
    77
vb@18
    78
#endif 	/* __pEpEngine_FWD_DEFINED__ */
vb@18
    79
vb@18
    80
vb@18
    81
#ifndef ___ITextMessageEvents_FWD_DEFINED__
vb@18
    82
#define ___ITextMessageEvents_FWD_DEFINED__
vb@18
    83
typedef interface _ITextMessageEvents _ITextMessageEvents;
vb@18
    84
vb@18
    85
#endif 	/* ___ITextMessageEvents_FWD_DEFINED__ */
vb@18
    86
vb@18
    87
vb@18
    88
#ifndef __TextMessage_FWD_DEFINED__
vb@18
    89
#define __TextMessage_FWD_DEFINED__
vb@18
    90
vb@18
    91
#ifdef __cplusplus
vb@18
    92
typedef class TextMessage TextMessage;
vb@18
    93
#else
vb@18
    94
typedef struct TextMessage TextMessage;
vb@18
    95
#endif /* __cplusplus */
vb@18
    96
vb@18
    97
#endif 	/* __TextMessage_FWD_DEFINED__ */
vb@18
    98
vb@18
    99
vb@18
   100
/* header files for imported files */
vb@18
   101
#include "oaidl.h"
vb@18
   102
#include "ocidl.h"
vb@18
   103
vb@18
   104
#ifdef __cplusplus
vb@18
   105
extern "C"{
vb@18
   106
#endif 
vb@18
   107
vb@18
   108
vb@18
   109
#ifndef __ITextMessage_INTERFACE_DEFINED__
vb@18
   110
#define __ITextMessage_INTERFACE_DEFINED__
vb@18
   111
vb@18
   112
/* interface ITextMessage */
vb@18
   113
/* [unique][nonextensible][oleautomation][uuid][object] */ 
vb@18
   114
vb@18
   115
typedef 
vb@18
   116
enum _pEp_text_format
vb@18
   117
    {
vb@18
   118
        pEp_text_format_plain	= 0,
vb@18
   119
        pEp_text_format_html	= ( pEp_text_format_plain + 1 ) ,
vb@18
   120
        pEp_text_format_other	= 0xff
vb@18
   121
    } 	pEp_text_format;
vb@18
   122
vb@18
   123
typedef 
vb@18
   124
enum _pEp_msg_direction
vb@18
   125
    {
vb@18
   126
        pEp_dir_incoming	= 0,
vb@18
   127
        pEp_dir_outgoing	= ( pEp_dir_incoming + 1 ) 
vb@18
   128
    } 	pEp_msg_direction;
vb@18
   129
vb@18
   130
typedef 
vb@18
   131
enum _pEp_MIME_format
vb@18
   132
    {
vb@18
   133
        pEp_MIME_none	= 0,
vb@18
   134
        pEp_MIME_fields_omitted	= ( pEp_MIME_none + 1 ) ,
vb@18
   135
        pEp_MIME	= ( pEp_MIME_fields_omitted + 1 ) 
vb@18
   136
    } 	pEp_MIME_format;
vb@18
   137
vb@18
   138
typedef 
vb@18
   139
enum _pEp_enc_format
vb@18
   140
    {
vb@18
   141
        pEp_enc_none	= 0,
vb@18
   142
        pEp_enc_pieces	= ( pEp_enc_none + 1 ) ,
vb@18
   143
        pEp_enc_S_MIME	= ( pEp_enc_pieces + 1 ) ,
vb@18
   144
        pEp_enc_PGP_MIME	= ( pEp_enc_S_MIME + 1 ) ,
vb@18
   145
        pEp_enc_pEp	= ( pEp_enc_PGP_MIME + 1 ) 
vb@18
   146
    } 	pEp_enc_format;
vb@18
   147
vb@22
   148
/* [uuid] */ struct  DECLSPEC_UUID("1292C31A-6486-427F-B29F-7F03607836DC") _opt_field
vb@22
   149
    {
vb@22
   150
    BSTR name;
vb@22
   151
    BSTR value;
vb@22
   152
    } ;
vb@22
   153
typedef struct _opt_field opt_field_t;
vb@22
   154
vb@18
   155
vb@18
   156
EXTERN_C const IID IID_ITextMessage;
vb@18
   157
vb@18
   158
#if defined(__cplusplus) && !defined(CINTERFACE)
vb@18
   159
    
vb@18
   160
    MIDL_INTERFACE("161538F9-53C8-4D9C-8BA4-0FB43AEC7106")
vb@18
   161
    ITextMessage : public IUnknown
vb@18
   162
    {
vb@18
   163
    public:
vb@18
   164
        virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_dir( 
vb@18
   165
            /* [retval][out] */ pEp_msg_direction *pVal) = 0;
vb@18
   166
        
vb@18
   167
        virtual /* [propput] */ HRESULT STDMETHODCALLTYPE put_dir( 
vb@18
   168
            /* [in] */ pEp_msg_direction newVal) = 0;
vb@18
   169
        
vb@18
   170
        virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_id( 
vb@18
   171
            /* [retval][out] */ BSTR *pVal) = 0;
vb@18
   172
        
vb@18
   173
        virtual /* [propput] */ HRESULT STDMETHODCALLTYPE put_id( 
vb@18
   174
            /* [in] */ BSTR newVal) = 0;
vb@18
   175
        
vb@18
   176
        virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_shortmsg( 
vb@18
   177
            /* [retval][out] */ BSTR *pVal) = 0;
vb@18
   178
        
vb@18
   179
        virtual /* [propput] */ HRESULT STDMETHODCALLTYPE put_shortmsg( 
vb@18
   180
            /* [in] */ BSTR newVal) = 0;
vb@18
   181
        
vb@18
   182
        virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_longmsg( 
vb@18
   183
            /* [retval][out] */ BSTR *pVal) = 0;
vb@18
   184
        
vb@18
   185
        virtual /* [propput] */ HRESULT STDMETHODCALLTYPE put_longmsg( 
vb@18
   186
            /* [in] */ BSTR newVal) = 0;
vb@18
   187
        
vb@18
   188
        virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_longmsg_formatted( 
vb@18
   189
            /* [retval][out] */ BSTR *pVal) = 0;
vb@18
   190
        
vb@18
   191
        virtual /* [propput] */ HRESULT STDMETHODCALLTYPE put_longmsg_formatted( 
vb@18
   192
            /* [in] */ BSTR newVal) = 0;
vb@18
   193
        
vb@18
   194
        virtual HRESULT STDMETHODCALLTYPE add_attachment( 
vb@18
   195
            /* [in] */ SAFEARRAY * data,
vb@22
   196
            /* [in] */ BSTR mime_type,
vb@22
   197
            /* [in] */ BSTR filename) = 0;
vb@18
   198
        
vb@18
   199
        virtual HRESULT STDMETHODCALLTYPE has_attachments( 
vb@18
   200
            /* [retval][out] */ boolean *result) = 0;
vb@18
   201
        
vb@18
   202
        virtual HRESULT STDMETHODCALLTYPE next_attachment( 
vb@18
   203
            /* [out] */ SAFEARRAY * *data,
vb@18
   204
            /* [out] */ BSTR *mime_type,
vb@18
   205
            /* [out] */ BSTR *filename,
vb@18
   206
            /* [retval][out] */ boolean *result) = 0;
vb@18
   207
        
vb@18
   208
        virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_sent( 
vb@18
   209
            /* [retval][out] */ hyper *result) = 0;
vb@18
   210
        
vb@18
   211
        virtual /* [propput] */ HRESULT STDMETHODCALLTYPE put_sent( 
vb@18
   212
            /* [in] */ hyper val) = 0;
vb@18
   213
        
vb@18
   214
        virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_recv( 
vb@18
   215
            /* [retval][out] */ hyper *result) = 0;
vb@18
   216
        
vb@18
   217
        virtual /* [propput] */ HRESULT STDMETHODCALLTYPE put_recv( 
vb@18
   218
            /* [in] */ hyper val) = 0;
vb@18
   219
        
vb@18
   220
        virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_from( 
vb@18
   221
            /* [retval][out] */ struct pEp_identity_s *pVal) = 0;
vb@18
   222
        
vb@18
   223
        virtual /* [propput] */ HRESULT STDMETHODCALLTYPE put_from( 
vb@18
   224
            /* [in] */ struct pEp_identity_s *newVal) = 0;
vb@18
   225
        
vb@18
   226
        virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_to( 
vb@18
   227
            /* [retval][out] */ SAFEARRAY * *pVal) = 0;
vb@18
   228
        
vb@18
   229
        virtual /* [propput] */ HRESULT STDMETHODCALLTYPE put_to( 
vb@18
   230
            /* [in] */ SAFEARRAY * newVal) = 0;
vb@18
   231
        
vb@18
   232
        virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_recv_by( 
vb@18
   233
            /* [retval][out] */ struct pEp_identity_s *pVal) = 0;
vb@18
   234
        
vb@18
   235
        virtual /* [propput] */ HRESULT STDMETHODCALLTYPE put_recv_by( 
vb@18
   236
            /* [in] */ struct pEp_identity_s *newVal) = 0;
vb@18
   237
        
vb@18
   238
        virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_cc( 
vb@18
   239
            /* [retval][out] */ SAFEARRAY * *pVal) = 0;
vb@18
   240
        
vb@18
   241
        virtual /* [propput] */ HRESULT STDMETHODCALLTYPE put_cc( 
vb@18
   242
            /* [in] */ SAFEARRAY * newVal) = 0;
vb@18
   243
        
vb@18
   244
        virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_bcc( 
vb@18
   245
            /* [retval][out] */ SAFEARRAY * *pVal) = 0;
vb@18
   246
        
vb@18
   247
        virtual /* [propput] */ HRESULT STDMETHODCALLTYPE put_bcc( 
vb@18
   248
            /* [in] */ SAFEARRAY * newVal) = 0;
vb@18
   249
        
vb@18
   250
        virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_reply_to( 
vb@18
   251
            /* [retval][out] */ SAFEARRAY * *pVal) = 0;
vb@18
   252
        
vb@18
   253
        virtual /* [propput] */ HRESULT STDMETHODCALLTYPE put_reply_to( 
vb@18
   254
            /* [in] */ SAFEARRAY * newVal) = 0;
vb@18
   255
        
vb@18
   256
        virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_references( 
vb@18
   257
            /* [retval][out] */ SAFEARRAY * *pVal) = 0;
vb@18
   258
        
vb@18
   259
        virtual /* [propput] */ HRESULT STDMETHODCALLTYPE put_references( 
vb@18
   260
            /* [in] */ SAFEARRAY * newVal) = 0;
vb@18
   261
        
vb@18
   262
        virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_keywords( 
vb@18
   263
            /* [retval][out] */ SAFEARRAY * *pVal) = 0;
vb@18
   264
        
vb@18
   265
        virtual /* [propput] */ HRESULT STDMETHODCALLTYPE put_keywords( 
vb@18
   266
            /* [in] */ SAFEARRAY * newVal) = 0;
vb@18
   267
        
vb@18
   268
        virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_comments( 
vb@18
   269
            /* [retval][out] */ BSTR *pVal) = 0;
vb@18
   270
        
vb@18
   271
        virtual /* [propput] */ HRESULT STDMETHODCALLTYPE put_comments( 
vb@18
   272
            /* [in] */ BSTR newVal) = 0;
vb@18
   273
        
vb@22
   274
        virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_opt_fields( 
vb@22
   275
            /* [retval][out] */ SAFEARRAY * *pVal) = 0;
vb@22
   276
        
vb@22
   277
        virtual /* [propput] */ HRESULT STDMETHODCALLTYPE put_opt_fields( 
vb@22
   278
            /* [in] */ SAFEARRAY * newVal) = 0;
vb@22
   279
        
vb@18
   280
    };
vb@18
   281
    
vb@18
   282
    
vb@18
   283
#else 	/* C style interface */
vb@18
   284
vb@18
   285
    typedef struct ITextMessageVtbl
vb@18
   286
    {
vb@18
   287
        BEGIN_INTERFACE
vb@18
   288
        
vb@18
   289
        HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
vb@18
   290
            ITextMessage * This,
vb@18
   291
            /* [in] */ REFIID riid,
vb@18
   292
            /* [annotation][iid_is][out] */ 
vb@18
   293
            _COM_Outptr_  void **ppvObject);
vb@18
   294
        
vb@18
   295
        ULONG ( STDMETHODCALLTYPE *AddRef )( 
vb@18
   296
            ITextMessage * This);
vb@18
   297
        
vb@18
   298
        ULONG ( STDMETHODCALLTYPE *Release )( 
vb@18
   299
            ITextMessage * This);
vb@18
   300
        
vb@18
   301
        /* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_dir )( 
vb@18
   302
            ITextMessage * This,
vb@18
   303
            /* [retval][out] */ pEp_msg_direction *pVal);
vb@18
   304
        
vb@18
   305
        /* [propput] */ HRESULT ( STDMETHODCALLTYPE *put_dir )( 
vb@18
   306
            ITextMessage * This,
vb@18
   307
            /* [in] */ pEp_msg_direction newVal);
vb@18
   308
        
vb@18
   309
        /* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_id )( 
vb@18
   310
            ITextMessage * This,
vb@18
   311
            /* [retval][out] */ BSTR *pVal);
vb@18
   312
        
vb@18
   313
        /* [propput] */ HRESULT ( STDMETHODCALLTYPE *put_id )( 
vb@18
   314
            ITextMessage * This,
vb@18
   315
            /* [in] */ BSTR newVal);
vb@18
   316
        
vb@18
   317
        /* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_shortmsg )( 
vb@18
   318
            ITextMessage * This,
vb@18
   319
            /* [retval][out] */ BSTR *pVal);
vb@18
   320
        
vb@18
   321
        /* [propput] */ HRESULT ( STDMETHODCALLTYPE *put_shortmsg )( 
vb@18
   322
            ITextMessage * This,
vb@18
   323
            /* [in] */ BSTR newVal);
vb@18
   324
        
vb@18
   325
        /* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_longmsg )( 
vb@18
   326
            ITextMessage * This,
vb@18
   327
            /* [retval][out] */ BSTR *pVal);
vb@18
   328
        
vb@18
   329
        /* [propput] */ HRESULT ( STDMETHODCALLTYPE *put_longmsg )( 
vb@18
   330
            ITextMessage * This,
vb@18
   331
            /* [in] */ BSTR newVal);
vb@18
   332
        
vb@18
   333
        /* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_longmsg_formatted )( 
vb@18
   334
            ITextMessage * This,
vb@18
   335
            /* [retval][out] */ BSTR *pVal);
vb@18
   336
        
vb@18
   337
        /* [propput] */ HRESULT ( STDMETHODCALLTYPE *put_longmsg_formatted )( 
vb@18
   338
            ITextMessage * This,
vb@18
   339
            /* [in] */ BSTR newVal);
vb@18
   340
        
vb@18
   341
        HRESULT ( STDMETHODCALLTYPE *add_attachment )( 
vb@18
   342
            ITextMessage * This,
vb@18
   343
            /* [in] */ SAFEARRAY * data,
vb@22
   344
            /* [in] */ BSTR mime_type,
vb@22
   345
            /* [in] */ BSTR filename);
vb@18
   346
        
vb@18
   347
        HRESULT ( STDMETHODCALLTYPE *has_attachments )( 
vb@18
   348
            ITextMessage * This,
vb@18
   349
            /* [retval][out] */ boolean *result);
vb@18
   350
        
vb@18
   351
        HRESULT ( STDMETHODCALLTYPE *next_attachment )( 
vb@18
   352
            ITextMessage * This,
vb@18
   353
            /* [out] */ SAFEARRAY * *data,
vb@18
   354
            /* [out] */ BSTR *mime_type,
vb@18
   355
            /* [out] */ BSTR *filename,
vb@18
   356
            /* [retval][out] */ boolean *result);
vb@18
   357
        
vb@18
   358
        /* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_sent )( 
vb@18
   359
            ITextMessage * This,
vb@18
   360
            /* [retval][out] */ hyper *result);
vb@18
   361
        
vb@18
   362
        /* [propput] */ HRESULT ( STDMETHODCALLTYPE *put_sent )( 
vb@18
   363
            ITextMessage * This,
vb@18
   364
            /* [in] */ hyper val);
vb@18
   365
        
vb@18
   366
        /* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_recv )( 
vb@18
   367
            ITextMessage * This,
vb@18
   368
            /* [retval][out] */ hyper *result);
vb@18
   369
        
vb@18
   370
        /* [propput] */ HRESULT ( STDMETHODCALLTYPE *put_recv )( 
vb@18
   371
            ITextMessage * This,
vb@18
   372
            /* [in] */ hyper val);
vb@18
   373
        
vb@18
   374
        /* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_from )( 
vb@18
   375
            ITextMessage * This,
vb@18
   376
            /* [retval][out] */ struct pEp_identity_s *pVal);
vb@18
   377
        
vb@18
   378
        /* [propput] */ HRESULT ( STDMETHODCALLTYPE *put_from )( 
vb@18
   379
            ITextMessage * This,
vb@18
   380
            /* [in] */ struct pEp_identity_s *newVal);
vb@18
   381
        
vb@18
   382
        /* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_to )( 
vb@18
   383
            ITextMessage * This,
vb@18
   384
            /* [retval][out] */ SAFEARRAY * *pVal);
vb@18
   385
        
vb@18
   386
        /* [propput] */ HRESULT ( STDMETHODCALLTYPE *put_to )( 
vb@18
   387
            ITextMessage * This,
vb@18
   388
            /* [in] */ SAFEARRAY * newVal);
vb@18
   389
        
vb@18
   390
        /* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_recv_by )( 
vb@18
   391
            ITextMessage * This,
vb@18
   392
            /* [retval][out] */ struct pEp_identity_s *pVal);
vb@18
   393
        
vb@18
   394
        /* [propput] */ HRESULT ( STDMETHODCALLTYPE *put_recv_by )( 
vb@18
   395
            ITextMessage * This,
vb@18
   396
            /* [in] */ struct pEp_identity_s *newVal);
vb@18
   397
        
vb@18
   398
        /* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_cc )( 
vb@18
   399
            ITextMessage * This,
vb@18
   400
            /* [retval][out] */ SAFEARRAY * *pVal);
vb@18
   401
        
vb@18
   402
        /* [propput] */ HRESULT ( STDMETHODCALLTYPE *put_cc )( 
vb@18
   403
            ITextMessage * This,
vb@18
   404
            /* [in] */ SAFEARRAY * newVal);
vb@18
   405
        
vb@18
   406
        /* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_bcc )( 
vb@18
   407
            ITextMessage * This,
vb@18
   408
            /* [retval][out] */ SAFEARRAY * *pVal);
vb@18
   409
        
vb@18
   410
        /* [propput] */ HRESULT ( STDMETHODCALLTYPE *put_bcc )( 
vb@18
   411
            ITextMessage * This,
vb@18
   412
            /* [in] */ SAFEARRAY * newVal);
vb@18
   413
        
vb@18
   414
        /* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_reply_to )( 
vb@18
   415
            ITextMessage * This,
vb@18
   416
            /* [retval][out] */ SAFEARRAY * *pVal);
vb@18
   417
        
vb@18
   418
        /* [propput] */ HRESULT ( STDMETHODCALLTYPE *put_reply_to )( 
vb@18
   419
            ITextMessage * This,
vb@18
   420
            /* [in] */ SAFEARRAY * newVal);
vb@18
   421
        
vb@18
   422
        /* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_references )( 
vb@18
   423
            ITextMessage * This,
vb@18
   424
            /* [retval][out] */ SAFEARRAY * *pVal);
vb@18
   425
        
vb@18
   426
        /* [propput] */ HRESULT ( STDMETHODCALLTYPE *put_references )( 
vb@18
   427
            ITextMessage * This,
vb@18
   428
            /* [in] */ SAFEARRAY * newVal);
vb@18
   429
        
vb@18
   430
        /* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_keywords )( 
vb@18
   431
            ITextMessage * This,
vb@18
   432
            /* [retval][out] */ SAFEARRAY * *pVal);
vb@18
   433
        
vb@18
   434
        /* [propput] */ HRESULT ( STDMETHODCALLTYPE *put_keywords )( 
vb@18
   435
            ITextMessage * This,
vb@18
   436
            /* [in] */ SAFEARRAY * newVal);
vb@18
   437
        
vb@18
   438
        /* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_comments )( 
vb@18
   439
            ITextMessage * This,
vb@18
   440
            /* [retval][out] */ BSTR *pVal);
vb@18
   441
        
vb@18
   442
        /* [propput] */ HRESULT ( STDMETHODCALLTYPE *put_comments )( 
vb@18
   443
            ITextMessage * This,
vb@18
   444
            /* [in] */ BSTR newVal);
vb@18
   445
        
vb@22
   446
        /* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_opt_fields )( 
vb@22
   447
            ITextMessage * This,
vb@22
   448
            /* [retval][out] */ SAFEARRAY * *pVal);
vb@22
   449
        
vb@22
   450
        /* [propput] */ HRESULT ( STDMETHODCALLTYPE *put_opt_fields )( 
vb@22
   451
            ITextMessage * This,
vb@22
   452
            /* [in] */ SAFEARRAY * newVal);
vb@22
   453
        
vb@18
   454
        END_INTERFACE
vb@18
   455
    } ITextMessageVtbl;
vb@18
   456
vb@18
   457
    interface ITextMessage
vb@18
   458
    {
vb@18
   459
        CONST_VTBL struct ITextMessageVtbl *lpVtbl;
vb@18
   460
    };
vb@18
   461
vb@18
   462
    
vb@18
   463
vb@18
   464
#ifdef COBJMACROS
vb@18
   465
vb@18
   466
vb@18
   467
#define ITextMessage_QueryInterface(This,riid,ppvObject)	\
vb@18
   468
    ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) 
vb@18
   469
vb@18
   470
#define ITextMessage_AddRef(This)	\
vb@18
   471
    ( (This)->lpVtbl -> AddRef(This) ) 
vb@18
   472
vb@18
   473
#define ITextMessage_Release(This)	\
vb@18
   474
    ( (This)->lpVtbl -> Release(This) ) 
vb@18
   475
vb@18
   476
vb@18
   477
#define ITextMessage_get_dir(This,pVal)	\
vb@18
   478
    ( (This)->lpVtbl -> get_dir(This,pVal) ) 
vb@18
   479
vb@18
   480
#define ITextMessage_put_dir(This,newVal)	\
vb@18
   481
    ( (This)->lpVtbl -> put_dir(This,newVal) ) 
vb@18
   482
vb@18
   483
#define ITextMessage_get_id(This,pVal)	\
vb@18
   484
    ( (This)->lpVtbl -> get_id(This,pVal) ) 
vb@18
   485
vb@18
   486
#define ITextMessage_put_id(This,newVal)	\
vb@18
   487
    ( (This)->lpVtbl -> put_id(This,newVal) ) 
vb@18
   488
vb@18
   489
#define ITextMessage_get_shortmsg(This,pVal)	\
vb@18
   490
    ( (This)->lpVtbl -> get_shortmsg(This,pVal) ) 
vb@18
   491
vb@18
   492
#define ITextMessage_put_shortmsg(This,newVal)	\
vb@18
   493
    ( (This)->lpVtbl -> put_shortmsg(This,newVal) ) 
vb@18
   494
vb@18
   495
#define ITextMessage_get_longmsg(This,pVal)	\
vb@18
   496
    ( (This)->lpVtbl -> get_longmsg(This,pVal) ) 
vb@18
   497
vb@18
   498
#define ITextMessage_put_longmsg(This,newVal)	\
vb@18
   499
    ( (This)->lpVtbl -> put_longmsg(This,newVal) ) 
vb@18
   500
vb@18
   501
#define ITextMessage_get_longmsg_formatted(This,pVal)	\
vb@18
   502
    ( (This)->lpVtbl -> get_longmsg_formatted(This,pVal) ) 
vb@18
   503
vb@18
   504
#define ITextMessage_put_longmsg_formatted(This,newVal)	\
vb@18
   505
    ( (This)->lpVtbl -> put_longmsg_formatted(This,newVal) ) 
vb@18
   506
vb@18
   507
#define ITextMessage_add_attachment(This,data,mime_type,filename)	\
vb@18
   508
    ( (This)->lpVtbl -> add_attachment(This,data,mime_type,filename) ) 
vb@18
   509
vb@18
   510
#define ITextMessage_has_attachments(This,result)	\
vb@18
   511
    ( (This)->lpVtbl -> has_attachments(This,result) ) 
vb@18
   512
vb@18
   513
#define ITextMessage_next_attachment(This,data,mime_type,filename,result)	\
vb@18
   514
    ( (This)->lpVtbl -> next_attachment(This,data,mime_type,filename,result) ) 
vb@18
   515
vb@18
   516
#define ITextMessage_get_sent(This,result)	\
vb@18
   517
    ( (This)->lpVtbl -> get_sent(This,result) ) 
vb@18
   518
vb@18
   519
#define ITextMessage_put_sent(This,val)	\
vb@18
   520
    ( (This)->lpVtbl -> put_sent(This,val) ) 
vb@18
   521
vb@18
   522
#define ITextMessage_get_recv(This,result)	\
vb@18
   523
    ( (This)->lpVtbl -> get_recv(This,result) ) 
vb@18
   524
vb@18
   525
#define ITextMessage_put_recv(This,val)	\
vb@18
   526
    ( (This)->lpVtbl -> put_recv(This,val) ) 
vb@18
   527
vb@18
   528
#define ITextMessage_get_from(This,pVal)	\
vb@18
   529
    ( (This)->lpVtbl -> get_from(This,pVal) ) 
vb@18
   530
vb@18
   531
#define ITextMessage_put_from(This,newVal)	\
vb@18
   532
    ( (This)->lpVtbl -> put_from(This,newVal) ) 
vb@18
   533
vb@18
   534
#define ITextMessage_get_to(This,pVal)	\
vb@18
   535
    ( (This)->lpVtbl -> get_to(This,pVal) ) 
vb@18
   536
vb@18
   537
#define ITextMessage_put_to(This,newVal)	\
vb@18
   538
    ( (This)->lpVtbl -> put_to(This,newVal) ) 
vb@18
   539
vb@18
   540
#define ITextMessage_get_recv_by(This,pVal)	\
vb@18
   541
    ( (This)->lpVtbl -> get_recv_by(This,pVal) ) 
vb@18
   542
vb@18
   543
#define ITextMessage_put_recv_by(This,newVal)	\
vb@18
   544
    ( (This)->lpVtbl -> put_recv_by(This,newVal) ) 
vb@18
   545
vb@18
   546
#define ITextMessage_get_cc(This,pVal)	\
vb@18
   547
    ( (This)->lpVtbl -> get_cc(This,pVal) ) 
vb@18
   548
vb@18
   549
#define ITextMessage_put_cc(This,newVal)	\
vb@18
   550
    ( (This)->lpVtbl -> put_cc(This,newVal) ) 
vb@18
   551
vb@18
   552
#define ITextMessage_get_bcc(This,pVal)	\
vb@18
   553
    ( (This)->lpVtbl -> get_bcc(This,pVal) ) 
vb@18
   554
vb@18
   555
#define ITextMessage_put_bcc(This,newVal)	\
vb@18
   556
    ( (This)->lpVtbl -> put_bcc(This,newVal) ) 
vb@18
   557
vb@18
   558
#define ITextMessage_get_reply_to(This,pVal)	\
vb@18
   559
    ( (This)->lpVtbl -> get_reply_to(This,pVal) ) 
vb@18
   560
vb@18
   561
#define ITextMessage_put_reply_to(This,newVal)	\
vb@18
   562
    ( (This)->lpVtbl -> put_reply_to(This,newVal) ) 
vb@18
   563
vb@18
   564
#define ITextMessage_get_references(This,pVal)	\
vb@18
   565
    ( (This)->lpVtbl -> get_references(This,pVal) ) 
vb@18
   566
vb@18
   567
#define ITextMessage_put_references(This,newVal)	\
vb@18
   568
    ( (This)->lpVtbl -> put_references(This,newVal) ) 
vb@18
   569
vb@18
   570
#define ITextMessage_get_keywords(This,pVal)	\
vb@18
   571
    ( (This)->lpVtbl -> get_keywords(This,pVal) ) 
vb@18
   572
vb@18
   573
#define ITextMessage_put_keywords(This,newVal)	\
vb@18
   574
    ( (This)->lpVtbl -> put_keywords(This,newVal) ) 
vb@18
   575
vb@18
   576
#define ITextMessage_get_comments(This,pVal)	\
vb@18
   577
    ( (This)->lpVtbl -> get_comments(This,pVal) ) 
vb@18
   578
vb@18
   579
#define ITextMessage_put_comments(This,newVal)	\
vb@18
   580
    ( (This)->lpVtbl -> put_comments(This,newVal) ) 
vb@18
   581
vb@22
   582
#define ITextMessage_get_opt_fields(This,pVal)	\
vb@22
   583
    ( (This)->lpVtbl -> get_opt_fields(This,pVal) ) 
vb@22
   584
vb@22
   585
#define ITextMessage_put_opt_fields(This,newVal)	\
vb@22
   586
    ( (This)->lpVtbl -> put_opt_fields(This,newVal) ) 
vb@22
   587
vb@18
   588
#endif /* COBJMACROS */
vb@18
   589
vb@18
   590
vb@18
   591
#endif 	/* C style interface */
vb@18
   592
vb@18
   593
vb@18
   594
vb@18
   595
vb@18
   596
#endif 	/* __ITextMessage_INTERFACE_DEFINED__ */
vb@18
   597
vb@18
   598
vb@18
   599
#ifndef __IpEpEngine_INTERFACE_DEFINED__
vb@18
   600
#define __IpEpEngine_INTERFACE_DEFINED__
vb@18
   601
vb@18
   602
/* interface IpEpEngine */
vb@18
   603
/* [unique][nonextensible][oleautomation][uuid][object] */ 
vb@18
   604
vb@18
   605
typedef 
vb@18
   606
enum _pEp_STATUS
vb@18
   607
    {
vb@18
   608
        pEp_STATUS_OK	= 0,
vb@18
   609
        pEp_KEY_NOT_FOUND	= 0x201,
vb@18
   610
        pEp_KEY_HAS_AMBIG_NAME	= 0x202,
vb@18
   611
        pEp_GET_KEY_FAILED	= 0x203,
vb@18
   612
        pEp_UNENCRYPTED	= 0x400,
vb@18
   613
        pEp_VERIFIED	= 0x401,
vb@18
   614
        pEp_DECRYPTED	= 0x402,
vb@18
   615
        pEp_DECRYPTED_AND_VERIFIED	= 0x403,
vb@18
   616
        pEp_DECRYPT_WRONG_FORMAT	= 0x404,
vb@18
   617
        pEp_DECRYPT_NO_KEY	= 0x405,
vb@18
   618
        pEp_DECRYPT_SIGNATURE_DOES_NOT_MATCH	= 0x406,
vb@18
   619
        pEp_VERIFY_NO_KEY	= 0x407,
vb@18
   620
        pEp_VERIFIED_AND_TRUSTED	= 0x408,
vb@18
   621
        pEp_ILLEGAL_VALUE	= -4,
vb@18
   622
        pEp_BUFFER_TOO_SMALL	= -3,
vb@18
   623
        pEp_OUT_OF_MEMORY	= -2,
vb@18
   624
        pEp_UNKNOWN_ERROR	= -1
vb@18
   625
    } 	pEp_STATUS;
vb@18
   626
vb@18
   627
typedef 
vb@18
   628
enum _pEp_comm_type
vb@18
   629
    {
vb@18
   630
        pEp_ct_unknown	= 0,
vb@18
   631
        pEp_ct_no_encryption	= 0x1,
vb@18
   632
        pEp_ct_no_encrypted_channel	= 0x2,
vb@18
   633
        pEp_ct_key_not_found	= 0x3,
vb@18
   634
        pEp_ct_key_expired	= 0x4,
vb@18
   635
        pEp_ct_key_revoked	= 0x5,
vb@18
   636
        pEp_ct_key_b0rken	= 0x6,
vb@18
   637
        pEp_ct_my_key_not_included	= 0x9,
vb@18
   638
        pEp_ct_security_by_obscurity	= 0xa,
vb@18
   639
        pEp_ct_b0rken_crypto	= 0xb,
vb@18
   640
        pEp_ct_key_too_short	= 0xe,
vb@18
   641
        pEp_ct_compromized	= 0xf,
vb@18
   642
        pEp_ct_unconfirmed_encryption	= 0x10,
vb@18
   643
        pEp_ct_OpenPGP_1024_RSA_unconfirmed	= 0x11,
vb@18
   644
        pEp_ct_OpenPGP_unconfirmed	= 0x3f,
vb@18
   645
        pEp_ct_unconfirmed_enc_anon	= 0x40,
vb@18
   646
        pEp_ct_pEp_unconfirmed	= 0x7f,
vb@18
   647
        pEp_ct_confirmed	= 0x80,
vb@18
   648
        pEp_ct_confirmed_encryption	= 0x90,
vb@18
   649
        pEp_ct_OpenPGP_1024_RSA	= 0x91,
vb@18
   650
        pEp_ct_OpenPGP	= 0xbf,
vb@18
   651
        pEp_ct_confirmed_enc_anon	= 0xc0,
vb@18
   652
        pEp_ct_pEp	= 0xff
vb@18
   653
    } 	pEp_comm_type;
vb@18
   654
vb@22
   655
/* [uuid] */ struct  DECLSPEC_UUID("0CB90E62-8A6A-4CA0-99D7-481704051FF0") pEp_identity_s
vb@18
   656
    {
vb@18
   657
    BSTR address;
vb@18
   658
    BSTR fpr;
vb@18
   659
    BSTR user_id;
vb@18
   660
    BSTR username;
vb@18
   661
    pEp_comm_type comm_type;
vb@18
   662
    BSTR lang;
vb@18
   663
    } ;
vb@18
   664
typedef 
vb@18
   665
enum _pEp_color
vb@18
   666
    {
vb@18
   667
        pEp_rating_undefined	= 0,
vb@20
   668
        pEp_rating_cannot_decrypt	= ( pEp_rating_undefined + 1 ) ,
vb@20
   669
        pEp_rating_have_no_key	= ( pEp_rating_cannot_decrypt + 1 ) ,
vb@20
   670
        pEp_rating_unencrypted	= ( pEp_rating_have_no_key + 1 ) ,
vb@20
   671
        pEp_rating_unreliable	= ( pEp_rating_unencrypted + 1 ) ,
vb@18
   672
        pEp_rating_reliable	= ( pEp_rating_unreliable + 1 ) ,
vb@18
   673
        pEp_rating_yellow	= pEp_rating_reliable,
vb@18
   674
        pEp_rating_trusted	= ( pEp_rating_yellow + 1 ) ,
vb@18
   675
        pEp_rating_green	= pEp_rating_trusted,
vb@18
   676
        pEp_rating_trusted_and_anonymized	= ( pEp_rating_green + 1 ) ,
vb@18
   677
        pEp_rating_fully_anonymous	= ( pEp_rating_trusted_and_anonymized + 1 ) ,
vb@18
   678
        pEp_rating_under_attack	= -1,
vb@18
   679
        pEp_rating_red	= pEp_rating_under_attack,
vb@18
   680
        pEp_rating_b0rken	= -2
vb@18
   681
    } 	pEp_color;
vb@18
   682
vb@18
   683
vb@18
   684
EXTERN_C const IID IID_IpEpEngine;
vb@18
   685
vb@18
   686
#if defined(__cplusplus) && !defined(CINTERFACE)
vb@18
   687
    
vb@18
   688
    MIDL_INTERFACE("9A9F4422-CF0A-45D7-90CD-1D1B7B2A4540")
vb@18
   689
    IpEpEngine : public IUnknown
vb@18
   690
    {
vb@18
   691
    public:
vb@18
   692
        virtual HRESULT STDMETHODCALLTYPE log( 
vb@18
   693
            /* [in] */ BSTR title,
vb@18
   694
            /* [in] */ BSTR entity,
vb@18
   695
            /* [defaultvalue][in] */ BSTR description = L"",
vb@18
   696
            /* [defaultvalue][in] */ BSTR comment = L"") = 0;
vb@18
   697
        
vb@18
   698
        virtual HRESULT STDMETHODCALLTYPE decrypt( 
vb@18
   699
            /* [in] */ BSTR ctext,
vb@18
   700
            /* [out] */ BSTR *ptext,
vb@18
   701
            /* [out] */ SAFEARRAY * *key_list,
vb@18
   702
            /* [retval][out] */ pEp_STATUS *decrypt_status) = 0;
vb@18
   703
        
vb@18
   704
        virtual HRESULT STDMETHODCALLTYPE decrypt_b( 
vb@18
   705
            /* [in] */ BSTR ctext,
vb@18
   706
            /* [out] */ SAFEARRAY * *ptext,
vb@18
   707
            /* [out] */ SAFEARRAY * *key_list,
vb@18
   708
            /* [retval][out] */ pEp_STATUS *decrypt_status) = 0;
vb@18
   709
        
vb@18
   710
        virtual HRESULT STDMETHODCALLTYPE encrypt( 
vb@18
   711
            /* [in] */ SAFEARRAY * key_list,
vb@18
   712
            /* [in] */ BSTR ptext,
vb@18
   713
            /* [out] */ BSTR *ctext,
vb@18
   714
            /* [retval][out] */ pEp_STATUS *status) = 0;
vb@18
   715
        
vb@18
   716
        virtual HRESULT STDMETHODCALLTYPE encrypt_b( 
vb@18
   717
            /* [in] */ SAFEARRAY * key_list,
vb@18
   718
            /* [in] */ SAFEARRAY * ptext,
vb@18
   719
            /* [out] */ BSTR *ctext,
vb@18
   720
            /* [retval][out] */ pEp_STATUS *status) = 0;
vb@18
   721
        
vb@18
   722
        virtual HRESULT STDMETHODCALLTYPE verify( 
vb@18
   723
            /* [in] */ BSTR text,
vb@18
   724
            /* [in] */ BSTR signature,
vb@18
   725
            /* [out] */ SAFEARRAY * *key_list,
vb@18
   726
            /* [retval][out] */ pEp_STATUS *verify_status) = 0;
vb@18
   727
        
vb@18
   728
        virtual HRESULT STDMETHODCALLTYPE trustword( 
vb@18
   729
            /* [in] */ LONG value,
vb@18
   730
            /* [defaultvalue][in] */ BSTR lang,
vb@18
   731
            /* [retval][out] */ BSTR *word) = 0;
vb@18
   732
        
vb@18
   733
        virtual HRESULT STDMETHODCALLTYPE trustwords( 
vb@18
   734
            /* [in] */ BSTR fpr,
vb@18
   735
            /* [defaultvalue][in] */ BSTR lang,
vb@18
   736
            /* [defaultvalue][in] */ LONG max_words,
vb@18
   737
            /* [retval][out] */ BSTR *words) = 0;
vb@18
   738
        
vb@18
   739
        virtual HRESULT STDMETHODCALLTYPE get_identity( 
vb@18
   740
            /* [in] */ BSTR address,
vb@18
   741
            /* [retval][out] */ struct pEp_identity_s *ident) = 0;
vb@18
   742
        
vb@18
   743
        virtual HRESULT STDMETHODCALLTYPE set_identity( 
vb@18
   744
            /* [in] */ struct pEp_identity_s *ident) = 0;
vb@18
   745
        
vb@18
   746
        virtual HRESULT STDMETHODCALLTYPE generate_keypair( 
vb@18
   747
            /* [in] */ struct pEp_identity_s *ident,
vb@18
   748
            /* [retval][out] */ BSTR *fpr) = 0;
vb@18
   749
        
vb@18
   750
        virtual HRESULT STDMETHODCALLTYPE delete_keypair( 
vb@18
   751
            /* [in] */ BSTR fpr) = 0;
vb@18
   752
        
vb@18
   753
        virtual HRESULT STDMETHODCALLTYPE import_key( 
vb@18
   754
            /* [in] */ BSTR key_data) = 0;
vb@18
   755
        
vb@18
   756
        virtual HRESULT STDMETHODCALLTYPE import_key_b( 
vb@18
   757
            /* [in] */ SAFEARRAY * key_data) = 0;
vb@18
   758
        
vb@18
   759
        virtual HRESULT STDMETHODCALLTYPE export_key( 
vb@18
   760
            /* [in] */ BSTR fpr,
vb@18
   761
            /* [retval][out] */ BSTR *key_data) = 0;
vb@18
   762
        
vb@18
   763
        virtual HRESULT STDMETHODCALLTYPE recv_key( 
vb@18
   764
            /* [in] */ BSTR pattern) = 0;
vb@18
   765
        
vb@18
   766
        virtual HRESULT STDMETHODCALLTYPE find_keys( 
vb@18
   767
            /* [in] */ BSTR pattern,
vb@18
   768
            /* [retval][out] */ SAFEARRAY * *key_list) = 0;
vb@18
   769
        
vb@18
   770
        virtual HRESULT STDMETHODCALLTYPE send_key( 
vb@18
   771
            /* [in] */ BSTR pattern) = 0;
vb@18
   772
        
vb@18
   773
        virtual HRESULT STDMETHODCALLTYPE examine_identity( 
vb@18
   774
            /* [in] */ struct pEp_identity_s *ident) = 0;
vb@18
   775
        
vb@18
   776
        virtual HRESULT STDMETHODCALLTYPE examine_myself( 
vb@18
   777
            /* [in] */ struct pEp_identity_s *myself) = 0;
vb@18
   778
        
vb@18
   779
        virtual HRESULT STDMETHODCALLTYPE myself( 
vb@18
   780
            /* [in] */ struct pEp_identity_s *ident,
vb@18
   781
            /* [retval][out] */ struct pEp_identity_s *result) = 0;
vb@18
   782
        
vb@18
   783
        virtual HRESULT STDMETHODCALLTYPE update_identity( 
vb@18
   784
            /* [in] */ struct pEp_identity_s *ident,
vb@18
   785
            /* [retval][out] */ struct pEp_identity_s *result) = 0;
vb@18
   786
        
vb@18
   787
        virtual HRESULT STDMETHODCALLTYPE key_compromized( 
vb@18
   788
            /* [in] */ BSTR fpr) = 0;
vb@18
   789
        
vb@18
   790
        virtual HRESULT STDMETHODCALLTYPE encrypt_message( 
vb@18
   791
            /* [in] */ ITextMessage *src,
vb@18
   792
            /* [out] */ ITextMessage **dst,
vb@22
   793
            /* [in] */ SAFEARRAY * extra) = 0;
vb@18
   794
        
vb@18
   795
        virtual HRESULT STDMETHODCALLTYPE decrypt_message( 
vb@18
   796
            /* [in] */ ITextMessage *src,
vb@18
   797
            /* [out] */ ITextMessage **dst,
vb@19
   798
            /* [out] */ SAFEARRAY * *keylist,
vb@20
   799
            /* [retval][out] */ pEp_color *rating) = 0;
vb@18
   800
        
vb@19
   801
        virtual HRESULT STDMETHODCALLTYPE outgoing_message_color( 
vb@18
   802
            /* [in] */ ITextMessage *msg,
vb@18
   803
            /* [retval][out] */ pEp_color *pVal) = 0;
vb@18
   804
        
vb@18
   805
        virtual HRESULT STDMETHODCALLTYPE identity_color( 
vb@18
   806
            /* [in] */ struct pEp_identity_s *ident,
vb@18
   807
            /* [retval][out] */ pEp_color *pVal) = 0;
vb@18
   808
        
vb@18
   809
    };
vb@18
   810
    
vb@18
   811
    
vb@18
   812
#else 	/* C style interface */
vb@18
   813
vb@18
   814
    typedef struct IpEpEngineVtbl
vb@18
   815
    {
vb@18
   816
        BEGIN_INTERFACE
vb@18
   817
        
vb@18
   818
        HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
vb@18
   819
            IpEpEngine * This,
vb@18
   820
            /* [in] */ REFIID riid,
vb@18
   821
            /* [annotation][iid_is][out] */ 
vb@18
   822
            _COM_Outptr_  void **ppvObject);
vb@18
   823
        
vb@18
   824
        ULONG ( STDMETHODCALLTYPE *AddRef )( 
vb@18
   825
            IpEpEngine * This);
vb@18
   826
        
vb@18
   827
        ULONG ( STDMETHODCALLTYPE *Release )( 
vb@18
   828
            IpEpEngine * This);
vb@18
   829
        
vb@18
   830
        HRESULT ( STDMETHODCALLTYPE *log )( 
vb@18
   831
            IpEpEngine * This,
vb@18
   832
            /* [in] */ BSTR title,
vb@18
   833
            /* [in] */ BSTR entity,
vb@18
   834
            /* [defaultvalue][in] */ BSTR description,
vb@18
   835
            /* [defaultvalue][in] */ BSTR comment);
vb@18
   836
        
vb@18
   837
        HRESULT ( STDMETHODCALLTYPE *decrypt )( 
vb@18
   838
            IpEpEngine * This,
vb@18
   839
            /* [in] */ BSTR ctext,
vb@18
   840
            /* [out] */ BSTR *ptext,
vb@18
   841
            /* [out] */ SAFEARRAY * *key_list,
vb@18
   842
            /* [retval][out] */ pEp_STATUS *decrypt_status);
vb@18
   843
        
vb@18
   844
        HRESULT ( STDMETHODCALLTYPE *decrypt_b )( 
vb@18
   845
            IpEpEngine * This,
vb@18
   846
            /* [in] */ BSTR ctext,
vb@18
   847
            /* [out] */ SAFEARRAY * *ptext,
vb@18
   848
            /* [out] */ SAFEARRAY * *key_list,
vb@18
   849
            /* [retval][out] */ pEp_STATUS *decrypt_status);
vb@18
   850
        
vb@18
   851
        HRESULT ( STDMETHODCALLTYPE *encrypt )( 
vb@18
   852
            IpEpEngine * This,
vb@18
   853
            /* [in] */ SAFEARRAY * key_list,
vb@18
   854
            /* [in] */ BSTR ptext,
vb@18
   855
            /* [out] */ BSTR *ctext,
vb@18
   856
            /* [retval][out] */ pEp_STATUS *status);
vb@18
   857
        
vb@18
   858
        HRESULT ( STDMETHODCALLTYPE *encrypt_b )( 
vb@18
   859
            IpEpEngine * This,
vb@18
   860
            /* [in] */ SAFEARRAY * key_list,
vb@18
   861
            /* [in] */ SAFEARRAY * ptext,
vb@18
   862
            /* [out] */ BSTR *ctext,
vb@18
   863
            /* [retval][out] */ pEp_STATUS *status);
vb@18
   864
        
vb@18
   865
        HRESULT ( STDMETHODCALLTYPE *verify )( 
vb@18
   866
            IpEpEngine * This,
vb@18
   867
            /* [in] */ BSTR text,
vb@18
   868
            /* [in] */ BSTR signature,
vb@18
   869
            /* [out] */ SAFEARRAY * *key_list,
vb@18
   870
            /* [retval][out] */ pEp_STATUS *verify_status);
vb@18
   871
        
vb@18
   872
        HRESULT ( STDMETHODCALLTYPE *trustword )( 
vb@18
   873
            IpEpEngine * This,
vb@18
   874
            /* [in] */ LONG value,
vb@18
   875
            /* [defaultvalue][in] */ BSTR lang,
vb@18
   876
            /* [retval][out] */ BSTR *word);
vb@18
   877
        
vb@18
   878
        HRESULT ( STDMETHODCALLTYPE *trustwords )( 
vb@18
   879
            IpEpEngine * This,
vb@18
   880
            /* [in] */ BSTR fpr,
vb@18
   881
            /* [defaultvalue][in] */ BSTR lang,
vb@18
   882
            /* [defaultvalue][in] */ LONG max_words,
vb@18
   883
            /* [retval][out] */ BSTR *words);
vb@18
   884
        
vb@18
   885
        HRESULT ( STDMETHODCALLTYPE *get_identity )( 
vb@18
   886
            IpEpEngine * This,
vb@18
   887
            /* [in] */ BSTR address,
vb@18
   888
            /* [retval][out] */ struct pEp_identity_s *ident);
vb@18
   889
        
vb@18
   890
        HRESULT ( STDMETHODCALLTYPE *set_identity )( 
vb@18
   891
            IpEpEngine * This,
vb@18
   892
            /* [in] */ struct pEp_identity_s *ident);
vb@18
   893
        
vb@18
   894
        HRESULT ( STDMETHODCALLTYPE *generate_keypair )( 
vb@18
   895
            IpEpEngine * This,
vb@18
   896
            /* [in] */ struct pEp_identity_s *ident,
vb@18
   897
            /* [retval][out] */ BSTR *fpr);
vb@18
   898
        
vb@18
   899
        HRESULT ( STDMETHODCALLTYPE *delete_keypair )( 
vb@18
   900
            IpEpEngine * This,
vb@18
   901
            /* [in] */ BSTR fpr);
vb@18
   902
        
vb@18
   903
        HRESULT ( STDMETHODCALLTYPE *import_key )( 
vb@18
   904
            IpEpEngine * This,
vb@18
   905
            /* [in] */ BSTR key_data);
vb@18
   906
        
vb@18
   907
        HRESULT ( STDMETHODCALLTYPE *import_key_b )( 
vb@18
   908
            IpEpEngine * This,
vb@18
   909
            /* [in] */ SAFEARRAY * key_data);
vb@18
   910
        
vb@18
   911
        HRESULT ( STDMETHODCALLTYPE *export_key )( 
vb@18
   912
            IpEpEngine * This,
vb@18
   913
            /* [in] */ BSTR fpr,
vb@18
   914
            /* [retval][out] */ BSTR *key_data);
vb@18
   915
        
vb@18
   916
        HRESULT ( STDMETHODCALLTYPE *recv_key )( 
vb@18
   917
            IpEpEngine * This,
vb@18
   918
            /* [in] */ BSTR pattern);
vb@18
   919
        
vb@18
   920
        HRESULT ( STDMETHODCALLTYPE *find_keys )( 
vb@18
   921
            IpEpEngine * This,
vb@18
   922
            /* [in] */ BSTR pattern,
vb@18
   923
            /* [retval][out] */ SAFEARRAY * *key_list);
vb@18
   924
        
vb@18
   925
        HRESULT ( STDMETHODCALLTYPE *send_key )( 
vb@18
   926
            IpEpEngine * This,
vb@18
   927
            /* [in] */ BSTR pattern);
vb@18
   928
        
vb@18
   929
        HRESULT ( STDMETHODCALLTYPE *examine_identity )( 
vb@18
   930
            IpEpEngine * This,
vb@18
   931
            /* [in] */ struct pEp_identity_s *ident);
vb@18
   932
        
vb@18
   933
        HRESULT ( STDMETHODCALLTYPE *examine_myself )( 
vb@18
   934
            IpEpEngine * This,
vb@18
   935
            /* [in] */ struct pEp_identity_s *myself);
vb@18
   936
        
vb@18
   937
        HRESULT ( STDMETHODCALLTYPE *myself )( 
vb@18
   938
            IpEpEngine * This,
vb@18
   939
            /* [in] */ struct pEp_identity_s *ident,
vb@18
   940
            /* [retval][out] */ struct pEp_identity_s *result);
vb@18
   941
        
vb@18
   942
        HRESULT ( STDMETHODCALLTYPE *update_identity )( 
vb@18
   943
            IpEpEngine * This,
vb@18
   944
            /* [in] */ struct pEp_identity_s *ident,
vb@18
   945
            /* [retval][out] */ struct pEp_identity_s *result);
vb@18
   946
        
vb@18
   947
        HRESULT ( STDMETHODCALLTYPE *key_compromized )( 
vb@18
   948
            IpEpEngine * This,
vb@18
   949
            /* [in] */ BSTR fpr);
vb@18
   950
        
vb@18
   951
        HRESULT ( STDMETHODCALLTYPE *encrypt_message )( 
vb@18
   952
            IpEpEngine * This,
vb@18
   953
            /* [in] */ ITextMessage *src,
vb@18
   954
            /* [out] */ ITextMessage **dst,
vb@22
   955
            /* [in] */ SAFEARRAY * extra);
vb@18
   956
        
vb@18
   957
        HRESULT ( STDMETHODCALLTYPE *decrypt_message )( 
vb@18
   958
            IpEpEngine * This,
vb@18
   959
            /* [in] */ ITextMessage *src,
vb@18
   960
            /* [out] */ ITextMessage **dst,
vb@19
   961
            /* [out] */ SAFEARRAY * *keylist,
vb@20
   962
            /* [retval][out] */ pEp_color *rating);
vb@18
   963
        
vb@19
   964
        HRESULT ( STDMETHODCALLTYPE *outgoing_message_color )( 
vb@18
   965
            IpEpEngine * This,
vb@18
   966
            /* [in] */ ITextMessage *msg,
vb@18
   967
            /* [retval][out] */ pEp_color *pVal);
vb@18
   968
        
vb@18
   969
        HRESULT ( STDMETHODCALLTYPE *identity_color )( 
vb@18
   970
            IpEpEngine * This,
vb@18
   971
            /* [in] */ struct pEp_identity_s *ident,
vb@18
   972
            /* [retval][out] */ pEp_color *pVal);
vb@18
   973
        
vb@18
   974
        END_INTERFACE
vb@18
   975
    } IpEpEngineVtbl;
vb@18
   976
vb@18
   977
    interface IpEpEngine
vb@18
   978
    {
vb@18
   979
        CONST_VTBL struct IpEpEngineVtbl *lpVtbl;
vb@18
   980
    };
vb@18
   981
vb@18
   982
    
vb@18
   983
vb@18
   984
#ifdef COBJMACROS
vb@18
   985
vb@18
   986
vb@18
   987
#define IpEpEngine_QueryInterface(This,riid,ppvObject)	\
vb@18
   988
    ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) 
vb@18
   989
vb@18
   990
#define IpEpEngine_AddRef(This)	\
vb@18
   991
    ( (This)->lpVtbl -> AddRef(This) ) 
vb@18
   992
vb@18
   993
#define IpEpEngine_Release(This)	\
vb@18
   994
    ( (This)->lpVtbl -> Release(This) ) 
vb@18
   995
vb@18
   996
vb@18
   997
#define IpEpEngine_log(This,title,entity,description,comment)	\
vb@18
   998
    ( (This)->lpVtbl -> log(This,title,entity,description,comment) ) 
vb@18
   999
vb@18
  1000
#define IpEpEngine_decrypt(This,ctext,ptext,key_list,decrypt_status)	\
vb@18
  1001
    ( (This)->lpVtbl -> decrypt(This,ctext,ptext,key_list,decrypt_status) ) 
vb@18
  1002
vb@18
  1003
#define IpEpEngine_decrypt_b(This,ctext,ptext,key_list,decrypt_status)	\
vb@18
  1004
    ( (This)->lpVtbl -> decrypt_b(This,ctext,ptext,key_list,decrypt_status) ) 
vb@18
  1005
vb@18
  1006
#define IpEpEngine_encrypt(This,key_list,ptext,ctext,status)	\
vb@18
  1007
    ( (This)->lpVtbl -> encrypt(This,key_list,ptext,ctext,status) ) 
vb@18
  1008
vb@18
  1009
#define IpEpEngine_encrypt_b(This,key_list,ptext,ctext,status)	\
vb@18
  1010
    ( (This)->lpVtbl -> encrypt_b(This,key_list,ptext,ctext,status) ) 
vb@18
  1011
vb@18
  1012
#define IpEpEngine_verify(This,text,signature,key_list,verify_status)	\
vb@18
  1013
    ( (This)->lpVtbl -> verify(This,text,signature,key_list,verify_status) ) 
vb@18
  1014
vb@18
  1015
#define IpEpEngine_trustword(This,value,lang,word)	\
vb@18
  1016
    ( (This)->lpVtbl -> trustword(This,value,lang,word) ) 
vb@18
  1017
vb@18
  1018
#define IpEpEngine_trustwords(This,fpr,lang,max_words,words)	\
vb@18
  1019
    ( (This)->lpVtbl -> trustwords(This,fpr,lang,max_words,words) ) 
vb@18
  1020
vb@18
  1021
#define IpEpEngine_get_identity(This,address,ident)	\
vb@18
  1022
    ( (This)->lpVtbl -> get_identity(This,address,ident) ) 
vb@18
  1023
vb@18
  1024
#define IpEpEngine_set_identity(This,ident)	\
vb@18
  1025
    ( (This)->lpVtbl -> set_identity(This,ident) ) 
vb@18
  1026
vb@18
  1027
#define IpEpEngine_generate_keypair(This,ident,fpr)	\
vb@18
  1028
    ( (This)->lpVtbl -> generate_keypair(This,ident,fpr) ) 
vb@18
  1029
vb@18
  1030
#define IpEpEngine_delete_keypair(This,fpr)	\
vb@18
  1031
    ( (This)->lpVtbl -> delete_keypair(This,fpr) ) 
vb@18
  1032
vb@18
  1033
#define IpEpEngine_import_key(This,key_data)	\
vb@18
  1034
    ( (This)->lpVtbl -> import_key(This,key_data) ) 
vb@18
  1035
vb@18
  1036
#define IpEpEngine_import_key_b(This,key_data)	\
vb@18
  1037
    ( (This)->lpVtbl -> import_key_b(This,key_data) ) 
vb@18
  1038
vb@18
  1039
#define IpEpEngine_export_key(This,fpr,key_data)	\
vb@18
  1040
    ( (This)->lpVtbl -> export_key(This,fpr,key_data) ) 
vb@18
  1041
vb@18
  1042
#define IpEpEngine_recv_key(This,pattern)	\
vb@18
  1043
    ( (This)->lpVtbl -> recv_key(This,pattern) ) 
vb@18
  1044
vb@18
  1045
#define IpEpEngine_find_keys(This,pattern,key_list)	\
vb@18
  1046
    ( (This)->lpVtbl -> find_keys(This,pattern,key_list) ) 
vb@18
  1047
vb@18
  1048
#define IpEpEngine_send_key(This,pattern)	\
vb@18
  1049
    ( (This)->lpVtbl -> send_key(This,pattern) ) 
vb@18
  1050
vb@18
  1051
#define IpEpEngine_examine_identity(This,ident)	\
vb@18
  1052
    ( (This)->lpVtbl -> examine_identity(This,ident) ) 
vb@18
  1053
vb@18
  1054
#define IpEpEngine_examine_myself(This,myself)	\
vb@18
  1055
    ( (This)->lpVtbl -> examine_myself(This,myself) ) 
vb@18
  1056
vb@18
  1057
#define IpEpEngine_myself(This,ident,result)	\
vb@18
  1058
    ( (This)->lpVtbl -> myself(This,ident,result) ) 
vb@18
  1059
vb@18
  1060
#define IpEpEngine_update_identity(This,ident,result)	\
vb@18
  1061
    ( (This)->lpVtbl -> update_identity(This,ident,result) ) 
vb@18
  1062
vb@18
  1063
#define IpEpEngine_key_compromized(This,fpr)	\
vb@18
  1064
    ( (This)->lpVtbl -> key_compromized(This,fpr) ) 
vb@18
  1065
vb@18
  1066
#define IpEpEngine_encrypt_message(This,src,dst,extra)	\
vb@18
  1067
    ( (This)->lpVtbl -> encrypt_message(This,src,dst,extra) ) 
vb@18
  1068
vb@19
  1069
#define IpEpEngine_decrypt_message(This,src,dst,keylist,rating)	\
vb@19
  1070
    ( (This)->lpVtbl -> decrypt_message(This,src,dst,keylist,rating) ) 
vb@18
  1071
vb@19
  1072
#define IpEpEngine_outgoing_message_color(This,msg,pVal)	\
vb@19
  1073
    ( (This)->lpVtbl -> outgoing_message_color(This,msg,pVal) ) 
vb@18
  1074
vb@18
  1075
#define IpEpEngine_identity_color(This,ident,pVal)	\
vb@18
  1076
    ( (This)->lpVtbl -> identity_color(This,ident,pVal) ) 
vb@18
  1077
vb@18
  1078
#endif /* COBJMACROS */
vb@18
  1079
vb@18
  1080
vb@18
  1081
#endif 	/* C style interface */
vb@18
  1082
vb@18
  1083
vb@18
  1084
vb@18
  1085
vb@18
  1086
#endif 	/* __IpEpEngine_INTERFACE_DEFINED__ */
vb@18
  1087
vb@18
  1088
vb@18
  1089
vb@18
  1090
#ifndef __pEpCOMServerAdapterLib_LIBRARY_DEFINED__
vb@18
  1091
#define __pEpCOMServerAdapterLib_LIBRARY_DEFINED__
vb@18
  1092
vb@18
  1093
/* library pEpCOMServerAdapterLib */
vb@18
  1094
/* [version][uuid] */ 
vb@18
  1095
vb@18
  1096
vb@18
  1097
EXTERN_C const IID LIBID_pEpCOMServerAdapterLib;
vb@18
  1098
vb@18
  1099
#ifndef ___IpEpEngineEvents_DISPINTERFACE_DEFINED__
vb@18
  1100
#define ___IpEpEngineEvents_DISPINTERFACE_DEFINED__
vb@18
  1101
vb@18
  1102
/* dispinterface _IpEpEngineEvents */
vb@18
  1103
/* [uuid] */ 
vb@18
  1104
vb@18
  1105
vb@18
  1106
EXTERN_C const IID DIID__IpEpEngineEvents;
vb@18
  1107
vb@18
  1108
#if defined(__cplusplus) && !defined(CINTERFACE)
vb@18
  1109
vb@18
  1110
    MIDL_INTERFACE("B6BC9B8E-D9E2-4419-A3A4-7B4B58175549")
vb@18
  1111
    _IpEpEngineEvents : public IDispatch
vb@18
  1112
    {
vb@18
  1113
    };
vb@18
  1114
    
vb@18
  1115
#else 	/* C style interface */
vb@18
  1116
vb@18
  1117
    typedef struct _IpEpEngineEventsVtbl
vb@18
  1118
    {
vb@18
  1119
        BEGIN_INTERFACE
vb@18
  1120
        
vb@18
  1121
        HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
vb@18
  1122
            _IpEpEngineEvents * This,
vb@18
  1123
            /* [in] */ REFIID riid,
vb@18
  1124
            /* [annotation][iid_is][out] */ 
vb@18
  1125
            _COM_Outptr_  void **ppvObject);
vb@18
  1126
        
vb@18
  1127
        ULONG ( STDMETHODCALLTYPE *AddRef )( 
vb@18
  1128
            _IpEpEngineEvents * This);
vb@18
  1129
        
vb@18
  1130
        ULONG ( STDMETHODCALLTYPE *Release )( 
vb@18
  1131
            _IpEpEngineEvents * This);
vb@18
  1132
        
vb@18
  1133
        HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
vb@18
  1134
            _IpEpEngineEvents * This,
vb@18
  1135
            /* [out] */ UINT *pctinfo);
vb@18
  1136
        
vb@18
  1137
        HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
vb@18
  1138
            _IpEpEngineEvents * This,
vb@18
  1139
            /* [in] */ UINT iTInfo,
vb@18
  1140
            /* [in] */ LCID lcid,
vb@18
  1141
            /* [out] */ ITypeInfo **ppTInfo);
vb@18
  1142
        
vb@18
  1143
        HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
vb@18
  1144
            _IpEpEngineEvents * This,
vb@18
  1145
            /* [in] */ REFIID riid,
vb@18
  1146
            /* [size_is][in] */ LPOLESTR *rgszNames,
vb@18
  1147
            /* [range][in] */ UINT cNames,
vb@18
  1148
            /* [in] */ LCID lcid,
vb@18
  1149
            /* [size_is][out] */ DISPID *rgDispId);
vb@18
  1150
        
vb@18
  1151
        /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
vb@18
  1152
            _IpEpEngineEvents * This,
vb@18
  1153
            /* [annotation][in] */ 
vb@18
  1154
            _In_  DISPID dispIdMember,
vb@18
  1155
            /* [annotation][in] */ 
vb@18
  1156
            _In_  REFIID riid,
vb@18
  1157
            /* [annotation][in] */ 
vb@18
  1158
            _In_  LCID lcid,
vb@18
  1159
            /* [annotation][in] */ 
vb@18
  1160
            _In_  WORD wFlags,
vb@18
  1161
            /* [annotation][out][in] */ 
vb@18
  1162
            _In_  DISPPARAMS *pDispParams,
vb@18
  1163
            /* [annotation][out] */ 
vb@18
  1164
            _Out_opt_  VARIANT *pVarResult,
vb@18
  1165
            /* [annotation][out] */ 
vb@18
  1166
            _Out_opt_  EXCEPINFO *pExcepInfo,
vb@18
  1167
            /* [annotation][out] */ 
vb@18
  1168
            _Out_opt_  UINT *puArgErr);
vb@18
  1169
        
vb@18
  1170
        END_INTERFACE
vb@18
  1171
    } _IpEpEngineEventsVtbl;
vb@18
  1172
vb@18
  1173
    interface _IpEpEngineEvents
vb@18
  1174
    {
vb@18
  1175
        CONST_VTBL struct _IpEpEngineEventsVtbl *lpVtbl;
vb@18
  1176
    };
vb@18
  1177
vb@18
  1178
    
vb@18
  1179
vb@18
  1180
#ifdef COBJMACROS
vb@18
  1181
vb@18
  1182
vb@18
  1183
#define _IpEpEngineEvents_QueryInterface(This,riid,ppvObject)	\
vb@18
  1184
    ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) 
vb@18
  1185
vb@18
  1186
#define _IpEpEngineEvents_AddRef(This)	\
vb@18
  1187
    ( (This)->lpVtbl -> AddRef(This) ) 
vb@18
  1188
vb@18
  1189
#define _IpEpEngineEvents_Release(This)	\
vb@18
  1190
    ( (This)->lpVtbl -> Release(This) ) 
vb@18
  1191
vb@18
  1192
vb@18
  1193
#define _IpEpEngineEvents_GetTypeInfoCount(This,pctinfo)	\
vb@18
  1194
    ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) 
vb@18
  1195
vb@18
  1196
#define _IpEpEngineEvents_GetTypeInfo(This,iTInfo,lcid,ppTInfo)	\
vb@18
  1197
    ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) 
vb@18
  1198
vb@18
  1199
#define _IpEpEngineEvents_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)	\
vb@18
  1200
    ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) 
vb@18
  1201
vb@18
  1202
#define _IpEpEngineEvents_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)	\
vb@18
  1203
    ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) 
vb@18
  1204
vb@18
  1205
#endif /* COBJMACROS */
vb@18
  1206
vb@18
  1207
vb@18
  1208
#endif 	/* C style interface */
vb@18
  1209
vb@18
  1210
vb@18
  1211
#endif 	/* ___IpEpEngineEvents_DISPINTERFACE_DEFINED__ */
vb@18
  1212
vb@18
  1213
vb@18
  1214
EXTERN_C const CLSID CLSID_pEpEngine;
vb@18
  1215
vb@18
  1216
#ifdef __cplusplus
vb@18
  1217
vb@18
  1218
class DECLSPEC_UUID("EF1B073D-5058-4E0E-829E-B4D22CA21EA2")
vb@18
  1219
pEpEngine;
vb@18
  1220
#endif
vb@18
  1221
vb@18
  1222
#ifndef ___ITextMessageEvents_DISPINTERFACE_DEFINED__
vb@18
  1223
#define ___ITextMessageEvents_DISPINTERFACE_DEFINED__
vb@18
  1224
vb@18
  1225
/* dispinterface _ITextMessageEvents */
vb@18
  1226
/* [uuid] */ 
vb@18
  1227
vb@18
  1228
vb@18
  1229
EXTERN_C const IID DIID__ITextMessageEvents;
vb@18
  1230
vb@18
  1231
#if defined(__cplusplus) && !defined(CINTERFACE)
vb@18
  1232
vb@18
  1233
    MIDL_INTERFACE("844B5363-4EF4-4A39-A030-16452783A6F7")
vb@18
  1234
    _ITextMessageEvents : public IDispatch
vb@18
  1235
    {
vb@18
  1236
    };
vb@18
  1237
    
vb@18
  1238
#else 	/* C style interface */
vb@18
  1239
vb@18
  1240
    typedef struct _ITextMessageEventsVtbl
vb@18
  1241
    {
vb@18
  1242
        BEGIN_INTERFACE
vb@18
  1243
        
vb@18
  1244
        HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
vb@18
  1245
            _ITextMessageEvents * This,
vb@18
  1246
            /* [in] */ REFIID riid,
vb@18
  1247
            /* [annotation][iid_is][out] */ 
vb@18
  1248
            _COM_Outptr_  void **ppvObject);
vb@18
  1249
        
vb@18
  1250
        ULONG ( STDMETHODCALLTYPE *AddRef )( 
vb@18
  1251
            _ITextMessageEvents * This);
vb@18
  1252
        
vb@18
  1253
        ULONG ( STDMETHODCALLTYPE *Release )( 
vb@18
  1254
            _ITextMessageEvents * This);
vb@18
  1255
        
vb@18
  1256
        HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
vb@18
  1257
            _ITextMessageEvents * This,
vb@18
  1258
            /* [out] */ UINT *pctinfo);
vb@18
  1259
        
vb@18
  1260
        HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
vb@18
  1261
            _ITextMessageEvents * This,
vb@18
  1262
            /* [in] */ UINT iTInfo,
vb@18
  1263
            /* [in] */ LCID lcid,
vb@18
  1264
            /* [out] */ ITypeInfo **ppTInfo);
vb@18
  1265
        
vb@18
  1266
        HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
vb@18
  1267
            _ITextMessageEvents * This,
vb@18
  1268
            /* [in] */ REFIID riid,
vb@18
  1269
            /* [size_is][in] */ LPOLESTR *rgszNames,
vb@18
  1270
            /* [range][in] */ UINT cNames,
vb@18
  1271
            /* [in] */ LCID lcid,
vb@18
  1272
            /* [size_is][out] */ DISPID *rgDispId);
vb@18
  1273
        
vb@18
  1274
        /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
vb@18
  1275
            _ITextMessageEvents * This,
vb@18
  1276
            /* [annotation][in] */ 
vb@18
  1277
            _In_  DISPID dispIdMember,
vb@18
  1278
            /* [annotation][in] */ 
vb@18
  1279
            _In_  REFIID riid,
vb@18
  1280
            /* [annotation][in] */ 
vb@18
  1281
            _In_  LCID lcid,
vb@18
  1282
            /* [annotation][in] */ 
vb@18
  1283
            _In_  WORD wFlags,
vb@18
  1284
            /* [annotation][out][in] */ 
vb@18
  1285
            _In_  DISPPARAMS *pDispParams,
vb@18
  1286
            /* [annotation][out] */ 
vb@18
  1287
            _Out_opt_  VARIANT *pVarResult,
vb@18
  1288
            /* [annotation][out] */ 
vb@18
  1289
            _Out_opt_  EXCEPINFO *pExcepInfo,
vb@18
  1290
            /* [annotation][out] */ 
vb@18
  1291
            _Out_opt_  UINT *puArgErr);
vb@18
  1292
        
vb@18
  1293
        END_INTERFACE
vb@18
  1294
    } _ITextMessageEventsVtbl;
vb@18
  1295
vb@18
  1296
    interface _ITextMessageEvents
vb@18
  1297
    {
vb@18
  1298
        CONST_VTBL struct _ITextMessageEventsVtbl *lpVtbl;
vb@18
  1299
    };
vb@18
  1300
vb@18
  1301
    
vb@18
  1302
vb@18
  1303
#ifdef COBJMACROS
vb@18
  1304
vb@18
  1305
vb@18
  1306
#define _ITextMessageEvents_QueryInterface(This,riid,ppvObject)	\
vb@18
  1307
    ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) 
vb@18
  1308
vb@18
  1309
#define _ITextMessageEvents_AddRef(This)	\
vb@18
  1310
    ( (This)->lpVtbl -> AddRef(This) ) 
vb@18
  1311
vb@18
  1312
#define _ITextMessageEvents_Release(This)	\
vb@18
  1313
    ( (This)->lpVtbl -> Release(This) ) 
vb@18
  1314
vb@18
  1315
vb@18
  1316
#define _ITextMessageEvents_GetTypeInfoCount(This,pctinfo)	\
vb@18
  1317
    ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) 
vb@18
  1318
vb@18
  1319
#define _ITextMessageEvents_GetTypeInfo(This,iTInfo,lcid,ppTInfo)	\
vb@18
  1320
    ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) 
vb@18
  1321
vb@18
  1322
#define _ITextMessageEvents_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)	\
vb@18
  1323
    ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) 
vb@18
  1324
vb@18
  1325
#define _ITextMessageEvents_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)	\
vb@18
  1326
    ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) 
vb@18
  1327
vb@18
  1328
#endif /* COBJMACROS */
vb@18
  1329
vb@18
  1330
vb@18
  1331
#endif 	/* C style interface */
vb@18
  1332
vb@18
  1333
vb@18
  1334
#endif 	/* ___ITextMessageEvents_DISPINTERFACE_DEFINED__ */
vb@18
  1335
vb@18
  1336
vb@18
  1337
EXTERN_C const CLSID CLSID_TextMessage;
vb@18
  1338
vb@18
  1339
#ifdef __cplusplus
vb@18
  1340
vb@18
  1341
class DECLSPEC_UUID("B6CC444F-FE14-4DFE-8315-81E4EA16C1CC")
vb@18
  1342
TextMessage;
vb@18
  1343
#endif
vb@18
  1344
#endif /* __pEpCOMServerAdapterLib_LIBRARY_DEFINED__ */
vb@18
  1345
vb@18
  1346
/* Additional Prototypes for ALL interfaces */
vb@18
  1347
vb@18
  1348
unsigned long             __RPC_USER  BSTR_UserSize(     unsigned long *, unsigned long            , BSTR * ); 
vb@18
  1349
unsigned char * __RPC_USER  BSTR_UserMarshal(  unsigned long *, unsigned char *, BSTR * ); 
vb@18
  1350
unsigned char * __RPC_USER  BSTR_UserUnmarshal(unsigned long *, unsigned char *, BSTR * ); 
vb@18
  1351
void                      __RPC_USER  BSTR_UserFree(     unsigned long *, BSTR * ); 
vb@18
  1352
vb@18
  1353
unsigned long             __RPC_USER  LPSAFEARRAY_UserSize(     unsigned long *, unsigned long            , LPSAFEARRAY * ); 
vb@18
  1354
unsigned char * __RPC_USER  LPSAFEARRAY_UserMarshal(  unsigned long *, unsigned char *, LPSAFEARRAY * ); 
vb@18
  1355
unsigned char * __RPC_USER  LPSAFEARRAY_UserUnmarshal(unsigned long *, unsigned char *, LPSAFEARRAY * ); 
vb@18
  1356
void                      __RPC_USER  LPSAFEARRAY_UserFree(     unsigned long *, LPSAFEARRAY * ); 
vb@18
  1357
vb@18
  1358
/* end of Additional Prototypes */
vb@18
  1359
vb@18
  1360
#ifdef __cplusplus
vb@18
  1361
}
vb@18
  1362
#endif
vb@18
  1363
vb@18
  1364
#endif
vb@18
  1365
vb@18
  1366