pEpCOMServerAdapter_i.h
author Volker Birk <vb@pep-project.org>
Tue, 28 Apr 2015 15:30:12 +0200
changeset 12 2f0ba9d79082
parent 8 6fe51215f252
child 13 d83d94f11e62
permissions -rw-r--r--
TextMessage concept
vb@2
     1
vb@2
     2
vb@2
     3
/* this ALWAYS GENERATED file contains the definitions for the interfaces */
vb@2
     4
vb@2
     5
vb@2
     6
 /* File created by MIDL compiler version 8.00.0603 */
vb@12
     7
/* at Tue Apr 28 15:22:51 2015
vb@2
     8
 */
vb@2
     9
/* Compiler settings for pEpCOMServerAdapter.idl:
vb@2
    10
    Oicf, W1, Zp8, env=Win32 (32b run), target_arch=X86 8.00.0603 
vb@2
    11
    protocol : dce , ms_ext, c_ext, robust
vb@2
    12
    error checks: allocation ref bounds_check enum stub_data 
vb@2
    13
    VC __declspec() decoration level: 
vb@2
    14
         __declspec(uuid()), __declspec(selectany), __declspec(novtable)
vb@2
    15
         DECLSPEC_UUID(), MIDL_INTERFACE()
vb@2
    16
*/
vb@2
    17
/* @@MIDL_FILE_HEADING(  ) */
vb@2
    18
vb@2
    19
#pragma warning( disable: 4049 )  /* more than 64k source lines */
vb@2
    20
vb@2
    21
vb@2
    22
/* verify that the <rpcndr.h> version is high enough to compile this file*/
vb@2
    23
#ifndef __REQUIRED_RPCNDR_H_VERSION__
vb@2
    24
#define __REQUIRED_RPCNDR_H_VERSION__ 475
vb@2
    25
#endif
vb@2
    26
vb@2
    27
#include "rpc.h"
vb@2
    28
#include "rpcndr.h"
vb@2
    29
vb@2
    30
#ifndef __RPCNDR_H_VERSION__
vb@2
    31
#error this stub requires an updated version of <rpcndr.h>
vb@2
    32
#endif // __RPCNDR_H_VERSION__
vb@2
    33
vb@2
    34
#ifndef COM_NO_WINDOWS_H
vb@2
    35
#include "windows.h"
vb@2
    36
#include "ole2.h"
vb@2
    37
#endif /*COM_NO_WINDOWS_H*/
vb@2
    38
vb@2
    39
#ifndef __pEpCOMServerAdapter_i_h__
vb@2
    40
#define __pEpCOMServerAdapter_i_h__
vb@2
    41
vb@2
    42
#if defined(_MSC_VER) && (_MSC_VER >= 1020)
vb@2
    43
#pragma once
vb@2
    44
#endif
vb@2
    45
vb@2
    46
/* Forward Declarations */ 
vb@2
    47
vb@2
    48
#ifndef __IpEpEngine_FWD_DEFINED__
vb@2
    49
#define __IpEpEngine_FWD_DEFINED__
vb@2
    50
typedef interface IpEpEngine IpEpEngine;
vb@2
    51
vb@2
    52
#endif 	/* __IpEpEngine_FWD_DEFINED__ */
vb@2
    53
vb@2
    54
vb@12
    55
#ifndef __ITextMessage_FWD_DEFINED__
vb@12
    56
#define __ITextMessage_FWD_DEFINED__
vb@12
    57
typedef interface ITextMessage ITextMessage;
vb@12
    58
vb@12
    59
#endif 	/* __ITextMessage_FWD_DEFINED__ */
vb@12
    60
vb@12
    61
vb@4
    62
#ifndef __IMessageAPI_Outlook_FWD_DEFINED__
vb@4
    63
#define __IMessageAPI_Outlook_FWD_DEFINED__
vb@4
    64
typedef interface IMessageAPI_Outlook IMessageAPI_Outlook;
vb@4
    65
vb@4
    66
#endif 	/* __IMessageAPI_Outlook_FWD_DEFINED__ */
vb@4
    67
vb@4
    68
vb@2
    69
#ifndef ___IpEpEngineEvents_FWD_DEFINED__
vb@2
    70
#define ___IpEpEngineEvents_FWD_DEFINED__
vb@2
    71
typedef interface _IpEpEngineEvents _IpEpEngineEvents;
vb@2
    72
vb@2
    73
#endif 	/* ___IpEpEngineEvents_FWD_DEFINED__ */
vb@2
    74
vb@2
    75
vb@2
    76
#ifndef __pEpEngine_FWD_DEFINED__
vb@2
    77
#define __pEpEngine_FWD_DEFINED__
vb@2
    78
vb@2
    79
#ifdef __cplusplus
vb@2
    80
typedef class pEpEngine pEpEngine;
vb@2
    81
#else
vb@2
    82
typedef struct pEpEngine pEpEngine;
vb@2
    83
#endif /* __cplusplus */
vb@2
    84
vb@2
    85
#endif 	/* __pEpEngine_FWD_DEFINED__ */
vb@2
    86
vb@2
    87
vb@8
    88
#ifndef ___ITextMessageEvents_FWD_DEFINED__
vb@8
    89
#define ___ITextMessageEvents_FWD_DEFINED__
vb@8
    90
typedef interface _ITextMessageEvents _ITextMessageEvents;
vb@8
    91
vb@8
    92
#endif 	/* ___ITextMessageEvents_FWD_DEFINED__ */
vb@8
    93
vb@8
    94
vb@8
    95
#ifndef __TextMessage_FWD_DEFINED__
vb@8
    96
#define __TextMessage_FWD_DEFINED__
vb@8
    97
vb@8
    98
#ifdef __cplusplus
vb@8
    99
typedef class TextMessage TextMessage;
vb@8
   100
#else
vb@8
   101
typedef struct TextMessage TextMessage;
vb@8
   102
#endif /* __cplusplus */
vb@8
   103
vb@8
   104
#endif 	/* __TextMessage_FWD_DEFINED__ */
vb@8
   105
vb@8
   106
vb@2
   107
/* header files for imported files */
vb@2
   108
#include "oaidl.h"
vb@2
   109
#include "ocidl.h"
vb@2
   110
vb@2
   111
#ifdef __cplusplus
vb@2
   112
extern "C"{
vb@2
   113
#endif 
vb@2
   114
vb@2
   115
vb@5
   116
/* interface __MIDL_itf_pEpCOMServerAdapter_0000_0000 */
vb@5
   117
/* [local] */ 
vb@5
   118
vb@5
   119
vb@5
   120
vb@5
   121
vb@5
   122
extern RPC_IF_HANDLE __MIDL_itf_pEpCOMServerAdapter_0000_0000_v0_0_c_ifspec;
vb@5
   123
extern RPC_IF_HANDLE __MIDL_itf_pEpCOMServerAdapter_0000_0000_v0_0_s_ifspec;
vb@5
   124
vb@2
   125
#ifndef __IpEpEngine_INTERFACE_DEFINED__
vb@2
   126
#define __IpEpEngine_INTERFACE_DEFINED__
vb@2
   127
vb@2
   128
/* interface IpEpEngine */
vb@2
   129
/* [unique][nonextensible][oleautomation][uuid][object] */ 
vb@2
   130
vb@2
   131
typedef 
vb@2
   132
enum _pEp_STATUS
vb@2
   133
    {
vb@2
   134
        pEp_STATUS_OK	= 0,
vb@2
   135
        pEp_KEY_NOT_FOUND	= 0x201,
vb@2
   136
        pEp_KEY_HAS_AMBIG_NAME	= 0x202,
vb@2
   137
        pEp_GET_KEY_FAILED	= 0x203,
vb@2
   138
        pEp_UNENCRYPTED	= 0x400,
vb@2
   139
        pEp_VERIFIED	= 0x401,
vb@2
   140
        pEp_DECRYPTED	= 0x402,
vb@2
   141
        pEp_DECRYPTED_AND_VERIFIED	= 0x403,
vb@2
   142
        pEp_DECRYPT_WRONG_FORMAT	= 0x404,
vb@2
   143
        pEp_DECRYPT_NO_KEY	= 0x405,
vb@2
   144
        pEp_DECRYPT_SIGNATURE_DOES_NOT_MATCH	= 0x406,
vb@2
   145
        pEp_VERIFY_NO_KEY	= 0x407,
vb@2
   146
        pEp_VERIFIED_AND_TRUSTED	= 0x408,
vb@2
   147
        pEp_ILLEGAL_VALUE	= -4,
vb@2
   148
        pEp_BUFFER_TOO_SMALL	= -3,
vb@2
   149
        pEp_OUT_OF_MEMORY	= -2,
vb@2
   150
        pEp_UNKNOWN_ERROR	= -1
vb@2
   151
    } 	pEp_STATUS;
vb@2
   152
vb@2
   153
typedef 
vb@2
   154
enum _pEp_comm_type
vb@2
   155
    {
vb@2
   156
        pEp_ct_unknown	= 0,
vb@2
   157
        pEp_ct_no_encryption	= 0x1,
vb@2
   158
        pEp_ct_no_encrypted_channel	= 0x2,
vb@2
   159
        pEp_ct_key_not_found	= 0x3,
vb@2
   160
        pEp_ct_key_expired	= 0x4,
vb@2
   161
        pEp_ct_key_revoked	= 0x5,
vb@2
   162
        pEp_ct_key_b0rken	= 0x6,
vb@2
   163
        pEp_ct_my_key_not_included	= 0x9,
vb@2
   164
        pEp_ct_security_by_obscurity	= 0xa,
vb@2
   165
        pEp_ct_b0rken_crypto	= 0xb,
vb@2
   166
        pEp_ct_key_too_short	= 0xe,
vb@2
   167
        pEp_ct_compromized	= 0xf,
vb@2
   168
        pEp_ct_unconfirmed_encryption	= 0x10,
vb@2
   169
        pEp_ct_OpenPGP_1024_RSA_unconfirmed	= 0x11,
vb@2
   170
        pEp_ct_OpenPGP_unconfirmed	= 0x3f,
vb@2
   171
        pEp_ct_unconfirmed_enc_anon	= 0x40,
vb@2
   172
        pEp_ct_pEp_unconfirmed	= 0x7f,
vb@2
   173
        pEp_ct_confirmed	= 0x80,
vb@2
   174
        pEp_ct_confirmed_encryption	= 0x90,
vb@2
   175
        pEp_ct_OpenPGP_1024_RSA	= 0x91,
vb@2
   176
        pEp_ct_OpenPGP	= 0xbf,
vb@2
   177
        pEp_ct_confirmed_enc_anon	= 0xc0,
vb@2
   178
        pEp_ct_pEp	= 0xff
vb@2
   179
    } 	pEp_comm_type;
vb@2
   180
vb@2
   181
struct pEp_identity_s
vb@2
   182
    {
vb@2
   183
    BSTR address;
vb@2
   184
    BSTR fpr;
vb@2
   185
    BSTR user_id;
vb@2
   186
    BSTR username;
vb@2
   187
    pEp_comm_type comm_type;
vb@2
   188
    BSTR lang;
vb@2
   189
    } ;
vb@2
   190
vb@2
   191
EXTERN_C const IID IID_IpEpEngine;
vb@2
   192
vb@2
   193
#if defined(__cplusplus) && !defined(CINTERFACE)
vb@2
   194
    
vb@2
   195
    MIDL_INTERFACE("9A9F4422-CF0A-45D7-90CD-1D1B7B2A4540")
vb@2
   196
    IpEpEngine : public IUnknown
vb@2
   197
    {
vb@2
   198
    public:
vb@4
   199
        virtual HRESULT STDMETHODCALLTYPE log( 
vb@2
   200
            /* [in] */ BSTR title,
vb@2
   201
            /* [in] */ BSTR entity,
vb@2
   202
            /* [defaultvalue][in] */ BSTR description = L"",
vb@2
   203
            /* [defaultvalue][in] */ BSTR comment = L"") = 0;
vb@2
   204
        
vb@4
   205
        virtual HRESULT STDMETHODCALLTYPE decrypt( 
vb@2
   206
            /* [in] */ BSTR ctext,
vb@2
   207
            /* [out] */ BSTR *ptext,
vb@2
   208
            /* [out] */ SAFEARRAY * *key_list,
vb@2
   209
            /* [retval][out] */ pEp_STATUS *decrypt_status) = 0;
vb@2
   210
        
vb@4
   211
        virtual HRESULT STDMETHODCALLTYPE decrypt_b( 
vb@2
   212
            /* [in] */ BSTR ctext,
vb@2
   213
            /* [out] */ SAFEARRAY * *ptext,
vb@2
   214
            /* [out] */ SAFEARRAY * *key_list,
vb@2
   215
            /* [retval][out] */ pEp_STATUS *decrypt_status) = 0;
vb@2
   216
        
vb@4
   217
        virtual HRESULT STDMETHODCALLTYPE encrypt( 
vb@2
   218
            /* [in] */ SAFEARRAY * key_list,
vb@2
   219
            /* [in] */ BSTR ptext,
vb@2
   220
            /* [out] */ BSTR *ctext,
vb@2
   221
            /* [retval][out] */ pEp_STATUS *status) = 0;
vb@2
   222
        
vb@4
   223
        virtual HRESULT STDMETHODCALLTYPE encrypt_b( 
vb@2
   224
            /* [in] */ SAFEARRAY * key_list,
vb@2
   225
            /* [in] */ SAFEARRAY * ptext,
vb@2
   226
            /* [out] */ BSTR *ctext,
vb@2
   227
            /* [retval][out] */ pEp_STATUS *status) = 0;
vb@2
   228
        
vb@4
   229
        virtual HRESULT STDMETHODCALLTYPE verify( 
vb@2
   230
            /* [in] */ BSTR text,
vb@2
   231
            /* [in] */ BSTR signature,
vb@2
   232
            /* [out] */ SAFEARRAY * *key_list,
vb@2
   233
            /* [retval][out] */ pEp_STATUS *verify_status) = 0;
vb@2
   234
        
vb@4
   235
        virtual HRESULT STDMETHODCALLTYPE safeword( 
vb@2
   236
            /* [in] */ LONG value,
vb@2
   237
            /* [defaultvalue][in] */ BSTR lang,
vb@2
   238
            /* [retval][out] */ BSTR *word) = 0;
vb@2
   239
        
vb@4
   240
        virtual HRESULT STDMETHODCALLTYPE safewords( 
vb@2
   241
            /* [in] */ BSTR fpr,
vb@2
   242
            /* [defaultvalue][in] */ BSTR lang,
vb@2
   243
            /* [defaultvalue][in] */ LONG max_words,
vb@2
   244
            /* [retval][out] */ BSTR *words) = 0;
vb@2
   245
        
vb@4
   246
        virtual HRESULT STDMETHODCALLTYPE get_identity( 
vb@2
   247
            /* [in] */ BSTR address,
vb@2
   248
            /* [retval][out] */ struct pEp_identity_s *ident) = 0;
vb@2
   249
        
vb@4
   250
        virtual HRESULT STDMETHODCALLTYPE set_identity( 
vb@2
   251
            /* [in] */ struct pEp_identity_s *ident) = 0;
vb@2
   252
        
vb@4
   253
        virtual HRESULT STDMETHODCALLTYPE generate_keypair( 
vb@2
   254
            /* [in] */ struct pEp_identity_s *ident,
vb@2
   255
            /* [retval][out] */ BSTR *fpr) = 0;
vb@2
   256
        
vb@4
   257
        virtual HRESULT STDMETHODCALLTYPE delete_keypair( 
vb@2
   258
            /* [in] */ BSTR fpr) = 0;
vb@2
   259
        
vb@4
   260
        virtual HRESULT STDMETHODCALLTYPE import_key( 
vb@2
   261
            /* [in] */ BSTR key_data) = 0;
vb@2
   262
        
vb@4
   263
        virtual HRESULT STDMETHODCALLTYPE import_key_b( 
vb@2
   264
            /* [in] */ SAFEARRAY * key_data) = 0;
vb@2
   265
        
vb@4
   266
        virtual HRESULT STDMETHODCALLTYPE export_key( 
vb@2
   267
            /* [in] */ BSTR fpr,
vb@2
   268
            /* [retval][out] */ BSTR *key_data) = 0;
vb@2
   269
        
vb@4
   270
        virtual HRESULT STDMETHODCALLTYPE recv_key( 
vb@2
   271
            /* [in] */ BSTR pattern) = 0;
vb@2
   272
        
vb@4
   273
        virtual HRESULT STDMETHODCALLTYPE find_keys( 
vb@2
   274
            /* [in] */ BSTR pattern,
vb@2
   275
            /* [retval][out] */ SAFEARRAY * *key_list) = 0;
vb@2
   276
        
vb@4
   277
        virtual HRESULT STDMETHODCALLTYPE send_key( 
vb@2
   278
            /* [in] */ BSTR pattern) = 0;
vb@2
   279
        
vb@4
   280
        virtual HRESULT STDMETHODCALLTYPE examine_identity( 
vb@2
   281
            /* [in] */ struct pEp_identity_s *ident) = 0;
vb@2
   282
        
vb@4
   283
        virtual HRESULT STDMETHODCALLTYPE examine_myself( 
vb@2
   284
            /* [in] */ struct pEp_identity_s *myself) = 0;
vb@2
   285
        
vb@4
   286
        virtual HRESULT STDMETHODCALLTYPE myself( 
vb@2
   287
            /* [in] */ struct pEp_identity_s *ident,
vb@2
   288
            /* [retval][out] */ struct pEp_identity_s *result) = 0;
vb@2
   289
        
vb@4
   290
        virtual HRESULT STDMETHODCALLTYPE update_identity( 
vb@2
   291
            /* [in] */ struct pEp_identity_s *ident,
vb@2
   292
            /* [retval][out] */ struct pEp_identity_s *result) = 0;
vb@2
   293
        
vb@8
   294
        virtual HRESULT STDMETHODCALLTYPE key_compromized( 
vb@8
   295
            /* [in] */ BSTR fpr) = 0;
vb@8
   296
        
vb@2
   297
    };
vb@2
   298
    
vb@2
   299
    
vb@2
   300
#else 	/* C style interface */
vb@2
   301
vb@2
   302
    typedef struct IpEpEngineVtbl
vb@2
   303
    {
vb@2
   304
        BEGIN_INTERFACE
vb@2
   305
        
vb@2
   306
        HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
vb@2
   307
            IpEpEngine * This,
vb@2
   308
            /* [in] */ REFIID riid,
vb@2
   309
            /* [annotation][iid_is][out] */ 
vb@2
   310
            _COM_Outptr_  void **ppvObject);
vb@2
   311
        
vb@2
   312
        ULONG ( STDMETHODCALLTYPE *AddRef )( 
vb@2
   313
            IpEpEngine * This);
vb@2
   314
        
vb@2
   315
        ULONG ( STDMETHODCALLTYPE *Release )( 
vb@2
   316
            IpEpEngine * This);
vb@2
   317
        
vb@4
   318
        HRESULT ( STDMETHODCALLTYPE *log )( 
vb@2
   319
            IpEpEngine * This,
vb@2
   320
            /* [in] */ BSTR title,
vb@2
   321
            /* [in] */ BSTR entity,
vb@2
   322
            /* [defaultvalue][in] */ BSTR description,
vb@2
   323
            /* [defaultvalue][in] */ BSTR comment);
vb@2
   324
        
vb@4
   325
        HRESULT ( STDMETHODCALLTYPE *decrypt )( 
vb@2
   326
            IpEpEngine * This,
vb@2
   327
            /* [in] */ BSTR ctext,
vb@2
   328
            /* [out] */ BSTR *ptext,
vb@2
   329
            /* [out] */ SAFEARRAY * *key_list,
vb@2
   330
            /* [retval][out] */ pEp_STATUS *decrypt_status);
vb@2
   331
        
vb@4
   332
        HRESULT ( STDMETHODCALLTYPE *decrypt_b )( 
vb@2
   333
            IpEpEngine * This,
vb@2
   334
            /* [in] */ BSTR ctext,
vb@2
   335
            /* [out] */ SAFEARRAY * *ptext,
vb@2
   336
            /* [out] */ SAFEARRAY * *key_list,
vb@2
   337
            /* [retval][out] */ pEp_STATUS *decrypt_status);
vb@2
   338
        
vb@4
   339
        HRESULT ( STDMETHODCALLTYPE *encrypt )( 
vb@2
   340
            IpEpEngine * This,
vb@2
   341
            /* [in] */ SAFEARRAY * key_list,
vb@2
   342
            /* [in] */ BSTR ptext,
vb@2
   343
            /* [out] */ BSTR *ctext,
vb@2
   344
            /* [retval][out] */ pEp_STATUS *status);
vb@2
   345
        
vb@4
   346
        HRESULT ( STDMETHODCALLTYPE *encrypt_b )( 
vb@2
   347
            IpEpEngine * This,
vb@2
   348
            /* [in] */ SAFEARRAY * key_list,
vb@2
   349
            /* [in] */ SAFEARRAY * ptext,
vb@2
   350
            /* [out] */ BSTR *ctext,
vb@2
   351
            /* [retval][out] */ pEp_STATUS *status);
vb@2
   352
        
vb@4
   353
        HRESULT ( STDMETHODCALLTYPE *verify )( 
vb@2
   354
            IpEpEngine * This,
vb@2
   355
            /* [in] */ BSTR text,
vb@2
   356
            /* [in] */ BSTR signature,
vb@2
   357
            /* [out] */ SAFEARRAY * *key_list,
vb@2
   358
            /* [retval][out] */ pEp_STATUS *verify_status);
vb@2
   359
        
vb@4
   360
        HRESULT ( STDMETHODCALLTYPE *safeword )( 
vb@2
   361
            IpEpEngine * This,
vb@2
   362
            /* [in] */ LONG value,
vb@2
   363
            /* [defaultvalue][in] */ BSTR lang,
vb@2
   364
            /* [retval][out] */ BSTR *word);
vb@2
   365
        
vb@4
   366
        HRESULT ( STDMETHODCALLTYPE *safewords )( 
vb@2
   367
            IpEpEngine * This,
vb@2
   368
            /* [in] */ BSTR fpr,
vb@2
   369
            /* [defaultvalue][in] */ BSTR lang,
vb@2
   370
            /* [defaultvalue][in] */ LONG max_words,
vb@2
   371
            /* [retval][out] */ BSTR *words);
vb@2
   372
        
vb@4
   373
        HRESULT ( STDMETHODCALLTYPE *get_identity )( 
vb@2
   374
            IpEpEngine * This,
vb@2
   375
            /* [in] */ BSTR address,
vb@2
   376
            /* [retval][out] */ struct pEp_identity_s *ident);
vb@2
   377
        
vb@4
   378
        HRESULT ( STDMETHODCALLTYPE *set_identity )( 
vb@2
   379
            IpEpEngine * This,
vb@2
   380
            /* [in] */ struct pEp_identity_s *ident);
vb@2
   381
        
vb@4
   382
        HRESULT ( STDMETHODCALLTYPE *generate_keypair )( 
vb@2
   383
            IpEpEngine * This,
vb@2
   384
            /* [in] */ struct pEp_identity_s *ident,
vb@2
   385
            /* [retval][out] */ BSTR *fpr);
vb@2
   386
        
vb@4
   387
        HRESULT ( STDMETHODCALLTYPE *delete_keypair )( 
vb@2
   388
            IpEpEngine * This,
vb@2
   389
            /* [in] */ BSTR fpr);
vb@2
   390
        
vb@4
   391
        HRESULT ( STDMETHODCALLTYPE *import_key )( 
vb@2
   392
            IpEpEngine * This,
vb@2
   393
            /* [in] */ BSTR key_data);
vb@2
   394
        
vb@4
   395
        HRESULT ( STDMETHODCALLTYPE *import_key_b )( 
vb@2
   396
            IpEpEngine * This,
vb@2
   397
            /* [in] */ SAFEARRAY * key_data);
vb@2
   398
        
vb@4
   399
        HRESULT ( STDMETHODCALLTYPE *export_key )( 
vb@2
   400
            IpEpEngine * This,
vb@2
   401
            /* [in] */ BSTR fpr,
vb@2
   402
            /* [retval][out] */ BSTR *key_data);
vb@2
   403
        
vb@4
   404
        HRESULT ( STDMETHODCALLTYPE *recv_key )( 
vb@2
   405
            IpEpEngine * This,
vb@2
   406
            /* [in] */ BSTR pattern);
vb@2
   407
        
vb@4
   408
        HRESULT ( STDMETHODCALLTYPE *find_keys )( 
vb@2
   409
            IpEpEngine * This,
vb@2
   410
            /* [in] */ BSTR pattern,
vb@2
   411
            /* [retval][out] */ SAFEARRAY * *key_list);
vb@2
   412
        
vb@4
   413
        HRESULT ( STDMETHODCALLTYPE *send_key )( 
vb@2
   414
            IpEpEngine * This,
vb@2
   415
            /* [in] */ BSTR pattern);
vb@2
   416
        
vb@4
   417
        HRESULT ( STDMETHODCALLTYPE *examine_identity )( 
vb@2
   418
            IpEpEngine * This,
vb@2
   419
            /* [in] */ struct pEp_identity_s *ident);
vb@2
   420
        
vb@4
   421
        HRESULT ( STDMETHODCALLTYPE *examine_myself )( 
vb@2
   422
            IpEpEngine * This,
vb@2
   423
            /* [in] */ struct pEp_identity_s *myself);
vb@2
   424
        
vb@4
   425
        HRESULT ( STDMETHODCALLTYPE *myself )( 
vb@2
   426
            IpEpEngine * This,
vb@2
   427
            /* [in] */ struct pEp_identity_s *ident,
vb@2
   428
            /* [retval][out] */ struct pEp_identity_s *result);
vb@2
   429
        
vb@4
   430
        HRESULT ( STDMETHODCALLTYPE *update_identity )( 
vb@2
   431
            IpEpEngine * This,
vb@2
   432
            /* [in] */ struct pEp_identity_s *ident,
vb@2
   433
            /* [retval][out] */ struct pEp_identity_s *result);
vb@2
   434
        
vb@8
   435
        HRESULT ( STDMETHODCALLTYPE *key_compromized )( 
vb@8
   436
            IpEpEngine * This,
vb@8
   437
            /* [in] */ BSTR fpr);
vb@8
   438
        
vb@2
   439
        END_INTERFACE
vb@2
   440
    } IpEpEngineVtbl;
vb@2
   441
vb@2
   442
    interface IpEpEngine
vb@2
   443
    {
vb@2
   444
        CONST_VTBL struct IpEpEngineVtbl *lpVtbl;
vb@2
   445
    };
vb@2
   446
vb@2
   447
    
vb@2
   448
vb@2
   449
#ifdef COBJMACROS
vb@2
   450
vb@2
   451
vb@2
   452
#define IpEpEngine_QueryInterface(This,riid,ppvObject)	\
vb@2
   453
    ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) 
vb@2
   454
vb@2
   455
#define IpEpEngine_AddRef(This)	\
vb@2
   456
    ( (This)->lpVtbl -> AddRef(This) ) 
vb@2
   457
vb@2
   458
#define IpEpEngine_Release(This)	\
vb@2
   459
    ( (This)->lpVtbl -> Release(This) ) 
vb@2
   460
vb@2
   461
vb@2
   462
#define IpEpEngine_log(This,title,entity,description,comment)	\
vb@2
   463
    ( (This)->lpVtbl -> log(This,title,entity,description,comment) ) 
vb@2
   464
vb@2
   465
#define IpEpEngine_decrypt(This,ctext,ptext,key_list,decrypt_status)	\
vb@2
   466
    ( (This)->lpVtbl -> decrypt(This,ctext,ptext,key_list,decrypt_status) ) 
vb@2
   467
vb@2
   468
#define IpEpEngine_decrypt_b(This,ctext,ptext,key_list,decrypt_status)	\
vb@2
   469
    ( (This)->lpVtbl -> decrypt_b(This,ctext,ptext,key_list,decrypt_status) ) 
vb@2
   470
vb@2
   471
#define IpEpEngine_encrypt(This,key_list,ptext,ctext,status)	\
vb@2
   472
    ( (This)->lpVtbl -> encrypt(This,key_list,ptext,ctext,status) ) 
vb@2
   473
vb@2
   474
#define IpEpEngine_encrypt_b(This,key_list,ptext,ctext,status)	\
vb@2
   475
    ( (This)->lpVtbl -> encrypt_b(This,key_list,ptext,ctext,status) ) 
vb@2
   476
vb@2
   477
#define IpEpEngine_verify(This,text,signature,key_list,verify_status)	\
vb@2
   478
    ( (This)->lpVtbl -> verify(This,text,signature,key_list,verify_status) ) 
vb@2
   479
vb@2
   480
#define IpEpEngine_safeword(This,value,lang,word)	\
vb@2
   481
    ( (This)->lpVtbl -> safeword(This,value,lang,word) ) 
vb@2
   482
vb@2
   483
#define IpEpEngine_safewords(This,fpr,lang,max_words,words)	\
vb@2
   484
    ( (This)->lpVtbl -> safewords(This,fpr,lang,max_words,words) ) 
vb@2
   485
vb@2
   486
#define IpEpEngine_get_identity(This,address,ident)	\
vb@2
   487
    ( (This)->lpVtbl -> get_identity(This,address,ident) ) 
vb@2
   488
vb@2
   489
#define IpEpEngine_set_identity(This,ident)	\
vb@2
   490
    ( (This)->lpVtbl -> set_identity(This,ident) ) 
vb@2
   491
vb@2
   492
#define IpEpEngine_generate_keypair(This,ident,fpr)	\
vb@2
   493
    ( (This)->lpVtbl -> generate_keypair(This,ident,fpr) ) 
vb@2
   494
vb@2
   495
#define IpEpEngine_delete_keypair(This,fpr)	\
vb@2
   496
    ( (This)->lpVtbl -> delete_keypair(This,fpr) ) 
vb@2
   497
vb@2
   498
#define IpEpEngine_import_key(This,key_data)	\
vb@2
   499
    ( (This)->lpVtbl -> import_key(This,key_data) ) 
vb@2
   500
vb@2
   501
#define IpEpEngine_import_key_b(This,key_data)	\
vb@2
   502
    ( (This)->lpVtbl -> import_key_b(This,key_data) ) 
vb@2
   503
vb@2
   504
#define IpEpEngine_export_key(This,fpr,key_data)	\
vb@2
   505
    ( (This)->lpVtbl -> export_key(This,fpr,key_data) ) 
vb@2
   506
vb@2
   507
#define IpEpEngine_recv_key(This,pattern)	\
vb@2
   508
    ( (This)->lpVtbl -> recv_key(This,pattern) ) 
vb@2
   509
vb@2
   510
#define IpEpEngine_find_keys(This,pattern,key_list)	\
vb@2
   511
    ( (This)->lpVtbl -> find_keys(This,pattern,key_list) ) 
vb@2
   512
vb@2
   513
#define IpEpEngine_send_key(This,pattern)	\
vb@2
   514
    ( (This)->lpVtbl -> send_key(This,pattern) ) 
vb@2
   515
vb@2
   516
#define IpEpEngine_examine_identity(This,ident)	\
vb@2
   517
    ( (This)->lpVtbl -> examine_identity(This,ident) ) 
vb@2
   518
vb@2
   519
#define IpEpEngine_examine_myself(This,myself)	\
vb@2
   520
    ( (This)->lpVtbl -> examine_myself(This,myself) ) 
vb@2
   521
vb@2
   522
#define IpEpEngine_myself(This,ident,result)	\
vb@2
   523
    ( (This)->lpVtbl -> myself(This,ident,result) ) 
vb@2
   524
vb@2
   525
#define IpEpEngine_update_identity(This,ident,result)	\
vb@2
   526
    ( (This)->lpVtbl -> update_identity(This,ident,result) ) 
vb@2
   527
vb@8
   528
#define IpEpEngine_key_compromized(This,fpr)	\
vb@8
   529
    ( (This)->lpVtbl -> key_compromized(This,fpr) ) 
vb@8
   530
vb@2
   531
#endif /* COBJMACROS */
vb@2
   532
vb@2
   533
vb@2
   534
#endif 	/* C style interface */
vb@2
   535
vb@2
   536
vb@2
   537
vb@2
   538
vb@2
   539
#endif 	/* __IpEpEngine_INTERFACE_DEFINED__ */
vb@2
   540
vb@2
   541
vb@12
   542
#ifndef __ITextMessage_INTERFACE_DEFINED__
vb@12
   543
#define __ITextMessage_INTERFACE_DEFINED__
vb@12
   544
vb@12
   545
/* interface ITextMessage */
vb@12
   546
/* [unique][nonextensible][oleautomation][uuid][object] */ 
vb@12
   547
vb@12
   548
vb@12
   549
EXTERN_C const IID IID_ITextMessage;
vb@12
   550
vb@12
   551
#if defined(__cplusplus) && !defined(CINTERFACE)
vb@12
   552
    
vb@12
   553
    MIDL_INTERFACE("161538F9-53C8-4D9C-8BA4-0FB43AEC7106")
vb@12
   554
    ITextMessage : public IUnknown
vb@12
   555
    {
vb@12
   556
    public:
vb@12
   557
        virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_from( 
vb@12
   558
            /* [retval][out] */ struct pEp_identity_s *pVal) = 0;
vb@12
   559
        
vb@12
   560
        virtual /* [propput] */ HRESULT STDMETHODCALLTYPE put_from( 
vb@12
   561
            /* [in] */ struct pEp_identity_s *newVal) = 0;
vb@12
   562
        
vb@12
   563
    };
vb@12
   564
    
vb@12
   565
    
vb@12
   566
#else 	/* C style interface */
vb@12
   567
vb@12
   568
    typedef struct ITextMessageVtbl
vb@12
   569
    {
vb@12
   570
        BEGIN_INTERFACE
vb@12
   571
        
vb@12
   572
        HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
vb@12
   573
            ITextMessage * This,
vb@12
   574
            /* [in] */ REFIID riid,
vb@12
   575
            /* [annotation][iid_is][out] */ 
vb@12
   576
            _COM_Outptr_  void **ppvObject);
vb@12
   577
        
vb@12
   578
        ULONG ( STDMETHODCALLTYPE *AddRef )( 
vb@12
   579
            ITextMessage * This);
vb@12
   580
        
vb@12
   581
        ULONG ( STDMETHODCALLTYPE *Release )( 
vb@12
   582
            ITextMessage * This);
vb@12
   583
        
vb@12
   584
        /* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_from )( 
vb@12
   585
            ITextMessage * This,
vb@12
   586
            /* [retval][out] */ struct pEp_identity_s *pVal);
vb@12
   587
        
vb@12
   588
        /* [propput] */ HRESULT ( STDMETHODCALLTYPE *put_from )( 
vb@12
   589
            ITextMessage * This,
vb@12
   590
            /* [in] */ struct pEp_identity_s *newVal);
vb@12
   591
        
vb@12
   592
        END_INTERFACE
vb@12
   593
    } ITextMessageVtbl;
vb@12
   594
vb@12
   595
    interface ITextMessage
vb@12
   596
    {
vb@12
   597
        CONST_VTBL struct ITextMessageVtbl *lpVtbl;
vb@12
   598
    };
vb@12
   599
vb@12
   600
    
vb@12
   601
vb@12
   602
#ifdef COBJMACROS
vb@12
   603
vb@12
   604
vb@12
   605
#define ITextMessage_QueryInterface(This,riid,ppvObject)	\
vb@12
   606
    ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) 
vb@12
   607
vb@12
   608
#define ITextMessage_AddRef(This)	\
vb@12
   609
    ( (This)->lpVtbl -> AddRef(This) ) 
vb@12
   610
vb@12
   611
#define ITextMessage_Release(This)	\
vb@12
   612
    ( (This)->lpVtbl -> Release(This) ) 
vb@12
   613
vb@12
   614
vb@12
   615
#define ITextMessage_get_from(This,pVal)	\
vb@12
   616
    ( (This)->lpVtbl -> get_from(This,pVal) ) 
vb@12
   617
vb@12
   618
#define ITextMessage_put_from(This,newVal)	\
vb@12
   619
    ( (This)->lpVtbl -> put_from(This,newVal) ) 
vb@12
   620
vb@12
   621
#endif /* COBJMACROS */
vb@12
   622
vb@12
   623
vb@12
   624
#endif 	/* C style interface */
vb@12
   625
vb@12
   626
vb@12
   627
vb@12
   628
vb@12
   629
#endif 	/* __ITextMessage_INTERFACE_DEFINED__ */
vb@12
   630
vb@12
   631
vb@4
   632
#ifndef __IMessageAPI_Outlook_INTERFACE_DEFINED__
vb@4
   633
#define __IMessageAPI_Outlook_INTERFACE_DEFINED__
vb@4
   634
vb@4
   635
/* interface IMessageAPI_Outlook */
vb@4
   636
/* [unique][nonextensible][oleautomation][uuid][object] */ 
vb@4
   637
vb@4
   638
typedef 
vb@4
   639
enum _pEp_text_format
vb@4
   640
    {
vb@4
   641
        pEp_text_format_plain	= 0,
vb@4
   642
        pEp_text_format_html	= ( pEp_text_format_plain + 1 ) ,
vb@4
   643
        pEp_text_format_other	= 0xff
vb@4
   644
    } 	pEp_text_format;
vb@4
   645
vb@4
   646
typedef 
vb@4
   647
enum _pEp_msg_direction
vb@4
   648
    {
vb@4
   649
        pEp_dir_incoming	= 0,
vb@4
   650
        pEp_dir_outgoing	= ( pEp_dir_incoming + 1 ) 
vb@4
   651
    } 	pEp_msg_direction;
vb@4
   652
vb@4
   653
typedef 
vb@4
   654
enum _pEp_MIME_format
vb@4
   655
    {
vb@4
   656
        pEp_MIME_none	= 0,
vb@4
   657
        pEp_MIME_fields_omitted	= ( pEp_MIME_none + 1 ) ,
vb@4
   658
        pEp_MIME	= ( pEp_MIME_fields_omitted + 1 ) 
vb@4
   659
    } 	pEp_MIME_format;
vb@4
   660
vb@4
   661
typedef 
vb@4
   662
enum _pEp_enc_format
vb@4
   663
    {
vb@4
   664
        pEp_enc_none	= 0,
vb@4
   665
        pEp_enc_pieces	= ( pEp_enc_none + 1 ) ,
vb@4
   666
        pEp_enc_S_MIME	= ( pEp_enc_pieces + 1 ) ,
vb@4
   667
        pEp_enc_PGP_MIME	= ( pEp_enc_S_MIME + 1 ) ,
vb@4
   668
        pEp_enc_pEp	= ( pEp_enc_PGP_MIME + 1 ) 
vb@4
   669
    } 	pEp_enc_format;
vb@4
   670
vb@4
   671
vb@4
   672
EXTERN_C const IID IID_IMessageAPI_Outlook;
vb@4
   673
vb@4
   674
#if defined(__cplusplus) && !defined(CINTERFACE)
vb@4
   675
    
vb@4
   676
    MIDL_INTERFACE("BC9AB54D-2CDA-47A5-AB40-64857B9E9555")
vb@4
   677
    IMessageAPI_Outlook : public IUnknown
vb@4
   678
    {
vb@4
   679
    public:
vb@4
   680
    };
vb@4
   681
    
vb@4
   682
    
vb@4
   683
#else 	/* C style interface */
vb@4
   684
vb@4
   685
    typedef struct IMessageAPI_OutlookVtbl
vb@4
   686
    {
vb@4
   687
        BEGIN_INTERFACE
vb@4
   688
        
vb@4
   689
        HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
vb@4
   690
            IMessageAPI_Outlook * This,
vb@4
   691
            /* [in] */ REFIID riid,
vb@4
   692
            /* [annotation][iid_is][out] */ 
vb@4
   693
            _COM_Outptr_  void **ppvObject);
vb@4
   694
        
vb@4
   695
        ULONG ( STDMETHODCALLTYPE *AddRef )( 
vb@4
   696
            IMessageAPI_Outlook * This);
vb@4
   697
        
vb@4
   698
        ULONG ( STDMETHODCALLTYPE *Release )( 
vb@4
   699
            IMessageAPI_Outlook * This);
vb@4
   700
        
vb@4
   701
        END_INTERFACE
vb@4
   702
    } IMessageAPI_OutlookVtbl;
vb@4
   703
vb@4
   704
    interface IMessageAPI_Outlook
vb@4
   705
    {
vb@4
   706
        CONST_VTBL struct IMessageAPI_OutlookVtbl *lpVtbl;
vb@4
   707
    };
vb@4
   708
vb@4
   709
    
vb@4
   710
vb@4
   711
#ifdef COBJMACROS
vb@4
   712
vb@4
   713
vb@4
   714
#define IMessageAPI_Outlook_QueryInterface(This,riid,ppvObject)	\
vb@4
   715
    ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) 
vb@4
   716
vb@4
   717
#define IMessageAPI_Outlook_AddRef(This)	\
vb@4
   718
    ( (This)->lpVtbl -> AddRef(This) ) 
vb@4
   719
vb@4
   720
#define IMessageAPI_Outlook_Release(This)	\
vb@4
   721
    ( (This)->lpVtbl -> Release(This) ) 
vb@4
   722
vb@4
   723
vb@8
   724
#endif /* COBJMACROS */
vb@8
   725
vb@8
   726
vb@8
   727
#endif 	/* C style interface */
vb@8
   728
vb@8
   729
vb@8
   730
vb@8
   731
vb@8
   732
#endif 	/* __IMessageAPI_Outlook_INTERFACE_DEFINED__ */
vb@8
   733
vb@8
   734
vb@2
   735
vb@2
   736
#ifndef __pEpCOMServerAdapterLib_LIBRARY_DEFINED__
vb@2
   737
#define __pEpCOMServerAdapterLib_LIBRARY_DEFINED__
vb@2
   738
vb@2
   739
/* library pEpCOMServerAdapterLib */
vb@2
   740
/* [version][uuid] */ 
vb@2
   741
vb@2
   742
vb@2
   743
EXTERN_C const IID LIBID_pEpCOMServerAdapterLib;
vb@2
   744
vb@2
   745
#ifndef ___IpEpEngineEvents_DISPINTERFACE_DEFINED__
vb@2
   746
#define ___IpEpEngineEvents_DISPINTERFACE_DEFINED__
vb@2
   747
vb@2
   748
/* dispinterface _IpEpEngineEvents */
vb@2
   749
/* [uuid] */ 
vb@2
   750
vb@2
   751
vb@2
   752
EXTERN_C const IID DIID__IpEpEngineEvents;
vb@2
   753
vb@2
   754
#if defined(__cplusplus) && !defined(CINTERFACE)
vb@2
   755
vb@2
   756
    MIDL_INTERFACE("B6BC9B8E-D9E2-4419-A3A4-7B4B58175549")
vb@2
   757
    _IpEpEngineEvents : public IDispatch
vb@2
   758
    {
vb@2
   759
    };
vb@2
   760
    
vb@2
   761
#else 	/* C style interface */
vb@2
   762
vb@2
   763
    typedef struct _IpEpEngineEventsVtbl
vb@2
   764
    {
vb@2
   765
        BEGIN_INTERFACE
vb@2
   766
        
vb@2
   767
        HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
vb@2
   768
            _IpEpEngineEvents * This,
vb@2
   769
            /* [in] */ REFIID riid,
vb@2
   770
            /* [annotation][iid_is][out] */ 
vb@2
   771
            _COM_Outptr_  void **ppvObject);
vb@2
   772
        
vb@2
   773
        ULONG ( STDMETHODCALLTYPE *AddRef )( 
vb@2
   774
            _IpEpEngineEvents * This);
vb@2
   775
        
vb@2
   776
        ULONG ( STDMETHODCALLTYPE *Release )( 
vb@2
   777
            _IpEpEngineEvents * This);
vb@2
   778
        
vb@2
   779
        HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
vb@2
   780
            _IpEpEngineEvents * This,
vb@2
   781
            /* [out] */ UINT *pctinfo);
vb@2
   782
        
vb@2
   783
        HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
vb@2
   784
            _IpEpEngineEvents * This,
vb@2
   785
            /* [in] */ UINT iTInfo,
vb@2
   786
            /* [in] */ LCID lcid,
vb@2
   787
            /* [out] */ ITypeInfo **ppTInfo);
vb@2
   788
        
vb@2
   789
        HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
vb@2
   790
            _IpEpEngineEvents * This,
vb@2
   791
            /* [in] */ REFIID riid,
vb@2
   792
            /* [size_is][in] */ LPOLESTR *rgszNames,
vb@2
   793
            /* [range][in] */ UINT cNames,
vb@2
   794
            /* [in] */ LCID lcid,
vb@2
   795
            /* [size_is][out] */ DISPID *rgDispId);
vb@2
   796
        
vb@2
   797
        /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
vb@2
   798
            _IpEpEngineEvents * This,
vb@2
   799
            /* [annotation][in] */ 
vb@2
   800
            _In_  DISPID dispIdMember,
vb@2
   801
            /* [annotation][in] */ 
vb@2
   802
            _In_  REFIID riid,
vb@2
   803
            /* [annotation][in] */ 
vb@2
   804
            _In_  LCID lcid,
vb@2
   805
            /* [annotation][in] */ 
vb@2
   806
            _In_  WORD wFlags,
vb@2
   807
            /* [annotation][out][in] */ 
vb@2
   808
            _In_  DISPPARAMS *pDispParams,
vb@2
   809
            /* [annotation][out] */ 
vb@2
   810
            _Out_opt_  VARIANT *pVarResult,
vb@2
   811
            /* [annotation][out] */ 
vb@2
   812
            _Out_opt_  EXCEPINFO *pExcepInfo,
vb@2
   813
            /* [annotation][out] */ 
vb@2
   814
            _Out_opt_  UINT *puArgErr);
vb@2
   815
        
vb@2
   816
        END_INTERFACE
vb@2
   817
    } _IpEpEngineEventsVtbl;
vb@2
   818
vb@2
   819
    interface _IpEpEngineEvents
vb@2
   820
    {
vb@2
   821
        CONST_VTBL struct _IpEpEngineEventsVtbl *lpVtbl;
vb@2
   822
    };
vb@2
   823
vb@2
   824
    
vb@2
   825
vb@2
   826
#ifdef COBJMACROS
vb@2
   827
vb@2
   828
vb@2
   829
#define _IpEpEngineEvents_QueryInterface(This,riid,ppvObject)	\
vb@2
   830
    ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) 
vb@2
   831
vb@2
   832
#define _IpEpEngineEvents_AddRef(This)	\
vb@2
   833
    ( (This)->lpVtbl -> AddRef(This) ) 
vb@2
   834
vb@2
   835
#define _IpEpEngineEvents_Release(This)	\
vb@2
   836
    ( (This)->lpVtbl -> Release(This) ) 
vb@2
   837
vb@2
   838
vb@2
   839
#define _IpEpEngineEvents_GetTypeInfoCount(This,pctinfo)	\
vb@2
   840
    ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) 
vb@2
   841
vb@2
   842
#define _IpEpEngineEvents_GetTypeInfo(This,iTInfo,lcid,ppTInfo)	\
vb@2
   843
    ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) 
vb@2
   844
vb@2
   845
#define _IpEpEngineEvents_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)	\
vb@2
   846
    ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) 
vb@2
   847
vb@2
   848
#define _IpEpEngineEvents_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)	\
vb@2
   849
    ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) 
vb@2
   850
vb@2
   851
#endif /* COBJMACROS */
vb@2
   852
vb@2
   853
vb@2
   854
#endif 	/* C style interface */
vb@2
   855
vb@2
   856
vb@2
   857
#endif 	/* ___IpEpEngineEvents_DISPINTERFACE_DEFINED__ */
vb@2
   858
vb@2
   859
vb@2
   860
EXTERN_C const CLSID CLSID_pEpEngine;
vb@2
   861
vb@2
   862
#ifdef __cplusplus
vb@2
   863
vb@2
   864
class DECLSPEC_UUID("EF1B073D-5058-4E0E-829E-B4D22CA21EA2")
vb@2
   865
pEpEngine;
vb@2
   866
#endif
vb@8
   867
vb@8
   868
#ifndef ___ITextMessageEvents_DISPINTERFACE_DEFINED__
vb@8
   869
#define ___ITextMessageEvents_DISPINTERFACE_DEFINED__
vb@8
   870
vb@8
   871
/* dispinterface _ITextMessageEvents */
vb@8
   872
/* [uuid] */ 
vb@8
   873
vb@8
   874
vb@8
   875
EXTERN_C const IID DIID__ITextMessageEvents;
vb@8
   876
vb@8
   877
#if defined(__cplusplus) && !defined(CINTERFACE)
vb@8
   878
vb@8
   879
    MIDL_INTERFACE("844B5363-4EF4-4A39-A030-16452783A6F7")
vb@8
   880
    _ITextMessageEvents : public IDispatch
vb@8
   881
    {
vb@8
   882
    };
vb@8
   883
    
vb@8
   884
#else 	/* C style interface */
vb@8
   885
vb@8
   886
    typedef struct _ITextMessageEventsVtbl
vb@8
   887
    {
vb@8
   888
        BEGIN_INTERFACE
vb@8
   889
        
vb@8
   890
        HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
vb@8
   891
            _ITextMessageEvents * This,
vb@8
   892
            /* [in] */ REFIID riid,
vb@8
   893
            /* [annotation][iid_is][out] */ 
vb@8
   894
            _COM_Outptr_  void **ppvObject);
vb@8
   895
        
vb@8
   896
        ULONG ( STDMETHODCALLTYPE *AddRef )( 
vb@8
   897
            _ITextMessageEvents * This);
vb@8
   898
        
vb@8
   899
        ULONG ( STDMETHODCALLTYPE *Release )( 
vb@8
   900
            _ITextMessageEvents * This);
vb@8
   901
        
vb@8
   902
        HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
vb@8
   903
            _ITextMessageEvents * This,
vb@8
   904
            /* [out] */ UINT *pctinfo);
vb@8
   905
        
vb@8
   906
        HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
vb@8
   907
            _ITextMessageEvents * This,
vb@8
   908
            /* [in] */ UINT iTInfo,
vb@8
   909
            /* [in] */ LCID lcid,
vb@8
   910
            /* [out] */ ITypeInfo **ppTInfo);
vb@8
   911
        
vb@8
   912
        HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
vb@8
   913
            _ITextMessageEvents * This,
vb@8
   914
            /* [in] */ REFIID riid,
vb@8
   915
            /* [size_is][in] */ LPOLESTR *rgszNames,
vb@8
   916
            /* [range][in] */ UINT cNames,
vb@8
   917
            /* [in] */ LCID lcid,
vb@8
   918
            /* [size_is][out] */ DISPID *rgDispId);
vb@8
   919
        
vb@8
   920
        /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
vb@8
   921
            _ITextMessageEvents * This,
vb@8
   922
            /* [annotation][in] */ 
vb@8
   923
            _In_  DISPID dispIdMember,
vb@8
   924
            /* [annotation][in] */ 
vb@8
   925
            _In_  REFIID riid,
vb@8
   926
            /* [annotation][in] */ 
vb@8
   927
            _In_  LCID lcid,
vb@8
   928
            /* [annotation][in] */ 
vb@8
   929
            _In_  WORD wFlags,
vb@8
   930
            /* [annotation][out][in] */ 
vb@8
   931
            _In_  DISPPARAMS *pDispParams,
vb@8
   932
            /* [annotation][out] */ 
vb@8
   933
            _Out_opt_  VARIANT *pVarResult,
vb@8
   934
            /* [annotation][out] */ 
vb@8
   935
            _Out_opt_  EXCEPINFO *pExcepInfo,
vb@8
   936
            /* [annotation][out] */ 
vb@8
   937
            _Out_opt_  UINT *puArgErr);
vb@8
   938
        
vb@8
   939
        END_INTERFACE
vb@8
   940
    } _ITextMessageEventsVtbl;
vb@8
   941
vb@8
   942
    interface _ITextMessageEvents
vb@8
   943
    {
vb@8
   944
        CONST_VTBL struct _ITextMessageEventsVtbl *lpVtbl;
vb@8
   945
    };
vb@8
   946
vb@8
   947
    
vb@8
   948
vb@8
   949
#ifdef COBJMACROS
vb@8
   950
vb@8
   951
vb@8
   952
#define _ITextMessageEvents_QueryInterface(This,riid,ppvObject)	\
vb@8
   953
    ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) 
vb@8
   954
vb@8
   955
#define _ITextMessageEvents_AddRef(This)	\
vb@8
   956
    ( (This)->lpVtbl -> AddRef(This) ) 
vb@8
   957
vb@8
   958
#define _ITextMessageEvents_Release(This)	\
vb@8
   959
    ( (This)->lpVtbl -> Release(This) ) 
vb@8
   960
vb@8
   961
vb@8
   962
#define _ITextMessageEvents_GetTypeInfoCount(This,pctinfo)	\
vb@8
   963
    ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) 
vb@8
   964
vb@8
   965
#define _ITextMessageEvents_GetTypeInfo(This,iTInfo,lcid,ppTInfo)	\
vb@8
   966
    ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) 
vb@8
   967
vb@8
   968
#define _ITextMessageEvents_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)	\
vb@8
   969
    ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) 
vb@8
   970
vb@8
   971
#define _ITextMessageEvents_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)	\
vb@8
   972
    ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) 
vb@8
   973
vb@8
   974
#endif /* COBJMACROS */
vb@8
   975
vb@8
   976
vb@8
   977
#endif 	/* C style interface */
vb@8
   978
vb@8
   979
vb@8
   980
#endif 	/* ___ITextMessageEvents_DISPINTERFACE_DEFINED__ */
vb@8
   981
vb@8
   982
vb@8
   983
EXTERN_C const CLSID CLSID_TextMessage;
vb@8
   984
vb@8
   985
#ifdef __cplusplus
vb@8
   986
vb@8
   987
class DECLSPEC_UUID("B6CC444F-FE14-4DFE-8315-81E4EA16C1CC")
vb@8
   988
TextMessage;
vb@8
   989
#endif
vb@2
   990
#endif /* __pEpCOMServerAdapterLib_LIBRARY_DEFINED__ */
vb@2
   991
vb@2
   992
/* Additional Prototypes for ALL interfaces */
vb@2
   993
vb@2
   994
unsigned long             __RPC_USER  BSTR_UserSize(     unsigned long *, unsigned long            , BSTR * ); 
vb@2
   995
unsigned char * __RPC_USER  BSTR_UserMarshal(  unsigned long *, unsigned char *, BSTR * ); 
vb@2
   996
unsigned char * __RPC_USER  BSTR_UserUnmarshal(unsigned long *, unsigned char *, BSTR * ); 
vb@2
   997
void                      __RPC_USER  BSTR_UserFree(     unsigned long *, BSTR * ); 
vb@2
   998
vb@2
   999
unsigned long             __RPC_USER  LPSAFEARRAY_UserSize(     unsigned long *, unsigned long            , LPSAFEARRAY * ); 
vb@2
  1000
unsigned char * __RPC_USER  LPSAFEARRAY_UserMarshal(  unsigned long *, unsigned char *, LPSAFEARRAY * ); 
vb@2
  1001
unsigned char * __RPC_USER  LPSAFEARRAY_UserUnmarshal(unsigned long *, unsigned char *, LPSAFEARRAY * ); 
vb@2
  1002
void                      __RPC_USER  LPSAFEARRAY_UserFree(     unsigned long *, LPSAFEARRAY * ); 
vb@2
  1003
vb@2
  1004
/* end of Additional Prototypes */
vb@2
  1005
vb@2
  1006
#ifdef __cplusplus
vb@2
  1007
}
vb@2
  1008
#endif
vb@2
  1009
vb@2
  1010
#endif
vb@2
  1011
vb@2
  1012