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