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