pEpCOMServerAdapter_i.h
author Volker Birk <vb@pep-project.org>
Thu, 16 Apr 2015 21:03:44 +0200
changeset 2 e902fd924d9b
child 4 fdd8cf02d2cc
permissions -rw-r--r--
adding GPL
     1 
     2 
     3 /* this ALWAYS GENERATED file contains the definitions for the interfaces */
     4 
     5 
     6  /* File created by MIDL compiler version 8.00.0603 */
     7 /* at Thu Apr 16 16:43:32 2015
     8  */
     9 /* Compiler settings for pEpCOMServerAdapter.idl:
    10     Oicf, W1, Zp8, env=Win32 (32b run), target_arch=X86 8.00.0603 
    11     protocol : dce , ms_ext, c_ext, robust
    12     error checks: allocation ref bounds_check enum stub_data 
    13     VC __declspec() decoration level: 
    14          __declspec(uuid()), __declspec(selectany), __declspec(novtable)
    15          DECLSPEC_UUID(), MIDL_INTERFACE()
    16 */
    17 /* @@MIDL_FILE_HEADING(  ) */
    18 
    19 #pragma warning( disable: 4049 )  /* more than 64k source lines */
    20 
    21 
    22 /* verify that the <rpcndr.h> version is high enough to compile this file*/
    23 #ifndef __REQUIRED_RPCNDR_H_VERSION__
    24 #define __REQUIRED_RPCNDR_H_VERSION__ 475
    25 #endif
    26 
    27 #include "rpc.h"
    28 #include "rpcndr.h"
    29 
    30 #ifndef __RPCNDR_H_VERSION__
    31 #error this stub requires an updated version of <rpcndr.h>
    32 #endif // __RPCNDR_H_VERSION__
    33 
    34 #ifndef COM_NO_WINDOWS_H
    35 #include "windows.h"
    36 #include "ole2.h"
    37 #endif /*COM_NO_WINDOWS_H*/
    38 
    39 #ifndef __pEpCOMServerAdapter_i_h__
    40 #define __pEpCOMServerAdapter_i_h__
    41 
    42 #if defined(_MSC_VER) && (_MSC_VER >= 1020)
    43 #pragma once
    44 #endif
    45 
    46 /* Forward Declarations */ 
    47 
    48 #ifndef __IpEpEngine_FWD_DEFINED__
    49 #define __IpEpEngine_FWD_DEFINED__
    50 typedef interface IpEpEngine IpEpEngine;
    51 
    52 #endif 	/* __IpEpEngine_FWD_DEFINED__ */
    53 
    54 
    55 #ifndef ___IpEpEngineEvents_FWD_DEFINED__
    56 #define ___IpEpEngineEvents_FWD_DEFINED__
    57 typedef interface _IpEpEngineEvents _IpEpEngineEvents;
    58 
    59 #endif 	/* ___IpEpEngineEvents_FWD_DEFINED__ */
    60 
    61 
    62 #ifndef __pEpEngine_FWD_DEFINED__
    63 #define __pEpEngine_FWD_DEFINED__
    64 
    65 #ifdef __cplusplus
    66 typedef class pEpEngine pEpEngine;
    67 #else
    68 typedef struct pEpEngine pEpEngine;
    69 #endif /* __cplusplus */
    70 
    71 #endif 	/* __pEpEngine_FWD_DEFINED__ */
    72 
    73 
    74 /* header files for imported files */
    75 #include "oaidl.h"
    76 #include "ocidl.h"
    77 
    78 #ifdef __cplusplus
    79 extern "C"{
    80 #endif 
    81 
    82 
    83 #ifndef __IpEpEngine_INTERFACE_DEFINED__
    84 #define __IpEpEngine_INTERFACE_DEFINED__
    85 
    86 /* interface IpEpEngine */
    87 /* [unique][nonextensible][oleautomation][uuid][object] */ 
    88 
    89 typedef 
    90 enum _pEp_STATUS
    91     {
    92         pEp_STATUS_OK	= 0,
    93         pEp_KEY_NOT_FOUND	= 0x201,
    94         pEp_KEY_HAS_AMBIG_NAME	= 0x202,
    95         pEp_GET_KEY_FAILED	= 0x203,
    96         pEp_UNENCRYPTED	= 0x400,
    97         pEp_VERIFIED	= 0x401,
    98         pEp_DECRYPTED	= 0x402,
    99         pEp_DECRYPTED_AND_VERIFIED	= 0x403,
   100         pEp_DECRYPT_WRONG_FORMAT	= 0x404,
   101         pEp_DECRYPT_NO_KEY	= 0x405,
   102         pEp_DECRYPT_SIGNATURE_DOES_NOT_MATCH	= 0x406,
   103         pEp_VERIFY_NO_KEY	= 0x407,
   104         pEp_VERIFIED_AND_TRUSTED	= 0x408,
   105         pEp_ILLEGAL_VALUE	= -4,
   106         pEp_BUFFER_TOO_SMALL	= -3,
   107         pEp_OUT_OF_MEMORY	= -2,
   108         pEp_UNKNOWN_ERROR	= -1
   109     } 	pEp_STATUS;
   110 
   111 typedef 
   112 enum _pEp_comm_type
   113     {
   114         pEp_ct_unknown	= 0,
   115         pEp_ct_no_encryption	= 0x1,
   116         pEp_ct_no_encrypted_channel	= 0x2,
   117         pEp_ct_key_not_found	= 0x3,
   118         pEp_ct_key_expired	= 0x4,
   119         pEp_ct_key_revoked	= 0x5,
   120         pEp_ct_key_b0rken	= 0x6,
   121         pEp_ct_my_key_not_included	= 0x9,
   122         pEp_ct_security_by_obscurity	= 0xa,
   123         pEp_ct_b0rken_crypto	= 0xb,
   124         pEp_ct_key_too_short	= 0xe,
   125         pEp_ct_compromized	= 0xf,
   126         pEp_ct_unconfirmed_encryption	= 0x10,
   127         pEp_ct_OpenPGP_1024_RSA_unconfirmed	= 0x11,
   128         pEp_ct_OpenPGP_unconfirmed	= 0x3f,
   129         pEp_ct_unconfirmed_enc_anon	= 0x40,
   130         pEp_ct_pEp_unconfirmed	= 0x7f,
   131         pEp_ct_confirmed	= 0x80,
   132         pEp_ct_confirmed_encryption	= 0x90,
   133         pEp_ct_OpenPGP_1024_RSA	= 0x91,
   134         pEp_ct_OpenPGP	= 0xbf,
   135         pEp_ct_confirmed_enc_anon	= 0xc0,
   136         pEp_ct_pEp	= 0xff
   137     } 	pEp_comm_type;
   138 
   139 struct pEp_identity_s
   140     {
   141     BSTR address;
   142     BSTR fpr;
   143     BSTR user_id;
   144     BSTR username;
   145     pEp_comm_type comm_type;
   146     BSTR lang;
   147     } ;
   148 
   149 EXTERN_C const IID IID_IpEpEngine;
   150 
   151 #if defined(__cplusplus) && !defined(CINTERFACE)
   152     
   153     MIDL_INTERFACE("9A9F4422-CF0A-45D7-90CD-1D1B7B2A4540")
   154     IpEpEngine : public IUnknown
   155     {
   156     public:
   157         virtual /* [id] */ HRESULT STDMETHODCALLTYPE log( 
   158             /* [in] */ BSTR title,
   159             /* [in] */ BSTR entity,
   160             /* [defaultvalue][in] */ BSTR description = L"",
   161             /* [defaultvalue][in] */ BSTR comment = L"") = 0;
   162         
   163         virtual /* [id] */ HRESULT STDMETHODCALLTYPE decrypt( 
   164             /* [in] */ BSTR ctext,
   165             /* [out] */ BSTR *ptext,
   166             /* [out] */ SAFEARRAY * *key_list,
   167             /* [retval][out] */ pEp_STATUS *decrypt_status) = 0;
   168         
   169         virtual /* [id] */ HRESULT STDMETHODCALLTYPE decrypt_b( 
   170             /* [in] */ BSTR ctext,
   171             /* [out] */ SAFEARRAY * *ptext,
   172             /* [out] */ SAFEARRAY * *key_list,
   173             /* [retval][out] */ pEp_STATUS *decrypt_status) = 0;
   174         
   175         virtual /* [id] */ HRESULT STDMETHODCALLTYPE encrypt( 
   176             /* [in] */ SAFEARRAY * key_list,
   177             /* [in] */ BSTR ptext,
   178             /* [out] */ BSTR *ctext,
   179             /* [retval][out] */ pEp_STATUS *status) = 0;
   180         
   181         virtual /* [id] */ HRESULT STDMETHODCALLTYPE encrypt_b( 
   182             /* [in] */ SAFEARRAY * key_list,
   183             /* [in] */ SAFEARRAY * ptext,
   184             /* [out] */ BSTR *ctext,
   185             /* [retval][out] */ pEp_STATUS *status) = 0;
   186         
   187         virtual /* [id] */ HRESULT STDMETHODCALLTYPE verify( 
   188             /* [in] */ BSTR text,
   189             /* [in] */ BSTR signature,
   190             /* [out] */ SAFEARRAY * *key_list,
   191             /* [retval][out] */ pEp_STATUS *verify_status) = 0;
   192         
   193         virtual /* [id] */ HRESULT STDMETHODCALLTYPE safeword( 
   194             /* [in] */ LONG value,
   195             /* [defaultvalue][in] */ BSTR lang,
   196             /* [retval][out] */ BSTR *word) = 0;
   197         
   198         virtual /* [id] */ HRESULT STDMETHODCALLTYPE safewords( 
   199             /* [in] */ BSTR fpr,
   200             /* [defaultvalue][in] */ BSTR lang,
   201             /* [defaultvalue][in] */ LONG max_words,
   202             /* [retval][out] */ BSTR *words) = 0;
   203         
   204         virtual /* [id] */ HRESULT STDMETHODCALLTYPE get_identity( 
   205             /* [in] */ BSTR address,
   206             /* [retval][out] */ struct pEp_identity_s *ident) = 0;
   207         
   208         virtual /* [id] */ HRESULT STDMETHODCALLTYPE set_identity( 
   209             /* [in] */ struct pEp_identity_s *ident) = 0;
   210         
   211         virtual /* [id] */ HRESULT STDMETHODCALLTYPE generate_keypair( 
   212             /* [in] */ struct pEp_identity_s *ident,
   213             /* [retval][out] */ BSTR *fpr) = 0;
   214         
   215         virtual /* [id] */ HRESULT STDMETHODCALLTYPE delete_keypair( 
   216             /* [in] */ BSTR fpr) = 0;
   217         
   218         virtual /* [id] */ HRESULT STDMETHODCALLTYPE import_key( 
   219             /* [in] */ BSTR key_data) = 0;
   220         
   221         virtual /* [id] */ HRESULT STDMETHODCALLTYPE import_key_b( 
   222             /* [in] */ SAFEARRAY * key_data) = 0;
   223         
   224         virtual /* [id] */ HRESULT STDMETHODCALLTYPE export_key( 
   225             /* [in] */ BSTR fpr,
   226             /* [retval][out] */ BSTR *key_data) = 0;
   227         
   228         virtual /* [id] */ HRESULT STDMETHODCALLTYPE recv_key( 
   229             /* [in] */ BSTR pattern) = 0;
   230         
   231         virtual /* [id] */ HRESULT STDMETHODCALLTYPE find_keys( 
   232             /* [in] */ BSTR pattern,
   233             /* [retval][out] */ SAFEARRAY * *key_list) = 0;
   234         
   235         virtual /* [id] */ HRESULT STDMETHODCALLTYPE send_key( 
   236             /* [in] */ BSTR pattern) = 0;
   237         
   238         virtual /* [id] */ HRESULT STDMETHODCALLTYPE examine_identity( 
   239             /* [in] */ struct pEp_identity_s *ident) = 0;
   240         
   241         virtual /* [id] */ HRESULT STDMETHODCALLTYPE examine_myself( 
   242             /* [in] */ struct pEp_identity_s *myself) = 0;
   243         
   244         virtual /* [id] */ HRESULT STDMETHODCALLTYPE myself( 
   245             /* [in] */ struct pEp_identity_s *ident,
   246             /* [retval][out] */ struct pEp_identity_s *result) = 0;
   247         
   248         virtual /* [id] */ HRESULT STDMETHODCALLTYPE update_identity( 
   249             /* [in] */ struct pEp_identity_s *ident,
   250             /* [retval][out] */ struct pEp_identity_s *result) = 0;
   251         
   252     };
   253     
   254     
   255 #else 	/* C style interface */
   256 
   257     typedef struct IpEpEngineVtbl
   258     {
   259         BEGIN_INTERFACE
   260         
   261         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
   262             IpEpEngine * This,
   263             /* [in] */ REFIID riid,
   264             /* [annotation][iid_is][out] */ 
   265             _COM_Outptr_  void **ppvObject);
   266         
   267         ULONG ( STDMETHODCALLTYPE *AddRef )( 
   268             IpEpEngine * This);
   269         
   270         ULONG ( STDMETHODCALLTYPE *Release )( 
   271             IpEpEngine * This);
   272         
   273         /* [id] */ HRESULT ( STDMETHODCALLTYPE *log )( 
   274             IpEpEngine * This,
   275             /* [in] */ BSTR title,
   276             /* [in] */ BSTR entity,
   277             /* [defaultvalue][in] */ BSTR description,
   278             /* [defaultvalue][in] */ BSTR comment);
   279         
   280         /* [id] */ HRESULT ( STDMETHODCALLTYPE *decrypt )( 
   281             IpEpEngine * This,
   282             /* [in] */ BSTR ctext,
   283             /* [out] */ BSTR *ptext,
   284             /* [out] */ SAFEARRAY * *key_list,
   285             /* [retval][out] */ pEp_STATUS *decrypt_status);
   286         
   287         /* [id] */ HRESULT ( STDMETHODCALLTYPE *decrypt_b )( 
   288             IpEpEngine * This,
   289             /* [in] */ BSTR ctext,
   290             /* [out] */ SAFEARRAY * *ptext,
   291             /* [out] */ SAFEARRAY * *key_list,
   292             /* [retval][out] */ pEp_STATUS *decrypt_status);
   293         
   294         /* [id] */ HRESULT ( STDMETHODCALLTYPE *encrypt )( 
   295             IpEpEngine * This,
   296             /* [in] */ SAFEARRAY * key_list,
   297             /* [in] */ BSTR ptext,
   298             /* [out] */ BSTR *ctext,
   299             /* [retval][out] */ pEp_STATUS *status);
   300         
   301         /* [id] */ HRESULT ( STDMETHODCALLTYPE *encrypt_b )( 
   302             IpEpEngine * This,
   303             /* [in] */ SAFEARRAY * key_list,
   304             /* [in] */ SAFEARRAY * ptext,
   305             /* [out] */ BSTR *ctext,
   306             /* [retval][out] */ pEp_STATUS *status);
   307         
   308         /* [id] */ HRESULT ( STDMETHODCALLTYPE *verify )( 
   309             IpEpEngine * This,
   310             /* [in] */ BSTR text,
   311             /* [in] */ BSTR signature,
   312             /* [out] */ SAFEARRAY * *key_list,
   313             /* [retval][out] */ pEp_STATUS *verify_status);
   314         
   315         /* [id] */ HRESULT ( STDMETHODCALLTYPE *safeword )( 
   316             IpEpEngine * This,
   317             /* [in] */ LONG value,
   318             /* [defaultvalue][in] */ BSTR lang,
   319             /* [retval][out] */ BSTR *word);
   320         
   321         /* [id] */ HRESULT ( STDMETHODCALLTYPE *safewords )( 
   322             IpEpEngine * This,
   323             /* [in] */ BSTR fpr,
   324             /* [defaultvalue][in] */ BSTR lang,
   325             /* [defaultvalue][in] */ LONG max_words,
   326             /* [retval][out] */ BSTR *words);
   327         
   328         /* [id] */ HRESULT ( STDMETHODCALLTYPE *get_identity )( 
   329             IpEpEngine * This,
   330             /* [in] */ BSTR address,
   331             /* [retval][out] */ struct pEp_identity_s *ident);
   332         
   333         /* [id] */ HRESULT ( STDMETHODCALLTYPE *set_identity )( 
   334             IpEpEngine * This,
   335             /* [in] */ struct pEp_identity_s *ident);
   336         
   337         /* [id] */ HRESULT ( STDMETHODCALLTYPE *generate_keypair )( 
   338             IpEpEngine * This,
   339             /* [in] */ struct pEp_identity_s *ident,
   340             /* [retval][out] */ BSTR *fpr);
   341         
   342         /* [id] */ HRESULT ( STDMETHODCALLTYPE *delete_keypair )( 
   343             IpEpEngine * This,
   344             /* [in] */ BSTR fpr);
   345         
   346         /* [id] */ HRESULT ( STDMETHODCALLTYPE *import_key )( 
   347             IpEpEngine * This,
   348             /* [in] */ BSTR key_data);
   349         
   350         /* [id] */ HRESULT ( STDMETHODCALLTYPE *import_key_b )( 
   351             IpEpEngine * This,
   352             /* [in] */ SAFEARRAY * key_data);
   353         
   354         /* [id] */ HRESULT ( STDMETHODCALLTYPE *export_key )( 
   355             IpEpEngine * This,
   356             /* [in] */ BSTR fpr,
   357             /* [retval][out] */ BSTR *key_data);
   358         
   359         /* [id] */ HRESULT ( STDMETHODCALLTYPE *recv_key )( 
   360             IpEpEngine * This,
   361             /* [in] */ BSTR pattern);
   362         
   363         /* [id] */ HRESULT ( STDMETHODCALLTYPE *find_keys )( 
   364             IpEpEngine * This,
   365             /* [in] */ BSTR pattern,
   366             /* [retval][out] */ SAFEARRAY * *key_list);
   367         
   368         /* [id] */ HRESULT ( STDMETHODCALLTYPE *send_key )( 
   369             IpEpEngine * This,
   370             /* [in] */ BSTR pattern);
   371         
   372         /* [id] */ HRESULT ( STDMETHODCALLTYPE *examine_identity )( 
   373             IpEpEngine * This,
   374             /* [in] */ struct pEp_identity_s *ident);
   375         
   376         /* [id] */ HRESULT ( STDMETHODCALLTYPE *examine_myself )( 
   377             IpEpEngine * This,
   378             /* [in] */ struct pEp_identity_s *myself);
   379         
   380         /* [id] */ HRESULT ( STDMETHODCALLTYPE *myself )( 
   381             IpEpEngine * This,
   382             /* [in] */ struct pEp_identity_s *ident,
   383             /* [retval][out] */ struct pEp_identity_s *result);
   384         
   385         /* [id] */ HRESULT ( STDMETHODCALLTYPE *update_identity )( 
   386             IpEpEngine * This,
   387             /* [in] */ struct pEp_identity_s *ident,
   388             /* [retval][out] */ struct pEp_identity_s *result);
   389         
   390         END_INTERFACE
   391     } IpEpEngineVtbl;
   392 
   393     interface IpEpEngine
   394     {
   395         CONST_VTBL struct IpEpEngineVtbl *lpVtbl;
   396     };
   397 
   398     
   399 
   400 #ifdef COBJMACROS
   401 
   402 
   403 #define IpEpEngine_QueryInterface(This,riid,ppvObject)	\
   404     ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) 
   405 
   406 #define IpEpEngine_AddRef(This)	\
   407     ( (This)->lpVtbl -> AddRef(This) ) 
   408 
   409 #define IpEpEngine_Release(This)	\
   410     ( (This)->lpVtbl -> Release(This) ) 
   411 
   412 
   413 #define IpEpEngine_log(This,title,entity,description,comment)	\
   414     ( (This)->lpVtbl -> log(This,title,entity,description,comment) ) 
   415 
   416 #define IpEpEngine_decrypt(This,ctext,ptext,key_list,decrypt_status)	\
   417     ( (This)->lpVtbl -> decrypt(This,ctext,ptext,key_list,decrypt_status) ) 
   418 
   419 #define IpEpEngine_decrypt_b(This,ctext,ptext,key_list,decrypt_status)	\
   420     ( (This)->lpVtbl -> decrypt_b(This,ctext,ptext,key_list,decrypt_status) ) 
   421 
   422 #define IpEpEngine_encrypt(This,key_list,ptext,ctext,status)	\
   423     ( (This)->lpVtbl -> encrypt(This,key_list,ptext,ctext,status) ) 
   424 
   425 #define IpEpEngine_encrypt_b(This,key_list,ptext,ctext,status)	\
   426     ( (This)->lpVtbl -> encrypt_b(This,key_list,ptext,ctext,status) ) 
   427 
   428 #define IpEpEngine_verify(This,text,signature,key_list,verify_status)	\
   429     ( (This)->lpVtbl -> verify(This,text,signature,key_list,verify_status) ) 
   430 
   431 #define IpEpEngine_safeword(This,value,lang,word)	\
   432     ( (This)->lpVtbl -> safeword(This,value,lang,word) ) 
   433 
   434 #define IpEpEngine_safewords(This,fpr,lang,max_words,words)	\
   435     ( (This)->lpVtbl -> safewords(This,fpr,lang,max_words,words) ) 
   436 
   437 #define IpEpEngine_get_identity(This,address,ident)	\
   438     ( (This)->lpVtbl -> get_identity(This,address,ident) ) 
   439 
   440 #define IpEpEngine_set_identity(This,ident)	\
   441     ( (This)->lpVtbl -> set_identity(This,ident) ) 
   442 
   443 #define IpEpEngine_generate_keypair(This,ident,fpr)	\
   444     ( (This)->lpVtbl -> generate_keypair(This,ident,fpr) ) 
   445 
   446 #define IpEpEngine_delete_keypair(This,fpr)	\
   447     ( (This)->lpVtbl -> delete_keypair(This,fpr) ) 
   448 
   449 #define IpEpEngine_import_key(This,key_data)	\
   450     ( (This)->lpVtbl -> import_key(This,key_data) ) 
   451 
   452 #define IpEpEngine_import_key_b(This,key_data)	\
   453     ( (This)->lpVtbl -> import_key_b(This,key_data) ) 
   454 
   455 #define IpEpEngine_export_key(This,fpr,key_data)	\
   456     ( (This)->lpVtbl -> export_key(This,fpr,key_data) ) 
   457 
   458 #define IpEpEngine_recv_key(This,pattern)	\
   459     ( (This)->lpVtbl -> recv_key(This,pattern) ) 
   460 
   461 #define IpEpEngine_find_keys(This,pattern,key_list)	\
   462     ( (This)->lpVtbl -> find_keys(This,pattern,key_list) ) 
   463 
   464 #define IpEpEngine_send_key(This,pattern)	\
   465     ( (This)->lpVtbl -> send_key(This,pattern) ) 
   466 
   467 #define IpEpEngine_examine_identity(This,ident)	\
   468     ( (This)->lpVtbl -> examine_identity(This,ident) ) 
   469 
   470 #define IpEpEngine_examine_myself(This,myself)	\
   471     ( (This)->lpVtbl -> examine_myself(This,myself) ) 
   472 
   473 #define IpEpEngine_myself(This,ident,result)	\
   474     ( (This)->lpVtbl -> myself(This,ident,result) ) 
   475 
   476 #define IpEpEngine_update_identity(This,ident,result)	\
   477     ( (This)->lpVtbl -> update_identity(This,ident,result) ) 
   478 
   479 #endif /* COBJMACROS */
   480 
   481 
   482 #endif 	/* C style interface */
   483 
   484 
   485 
   486 
   487 #endif 	/* __IpEpEngine_INTERFACE_DEFINED__ */
   488 
   489 
   490 
   491 #ifndef __pEpCOMServerAdapterLib_LIBRARY_DEFINED__
   492 #define __pEpCOMServerAdapterLib_LIBRARY_DEFINED__
   493 
   494 /* library pEpCOMServerAdapterLib */
   495 /* [version][uuid] */ 
   496 
   497 
   498 EXTERN_C const IID LIBID_pEpCOMServerAdapterLib;
   499 
   500 #ifndef ___IpEpEngineEvents_DISPINTERFACE_DEFINED__
   501 #define ___IpEpEngineEvents_DISPINTERFACE_DEFINED__
   502 
   503 /* dispinterface _IpEpEngineEvents */
   504 /* [uuid] */ 
   505 
   506 
   507 EXTERN_C const IID DIID__IpEpEngineEvents;
   508 
   509 #if defined(__cplusplus) && !defined(CINTERFACE)
   510 
   511     MIDL_INTERFACE("B6BC9B8E-D9E2-4419-A3A4-7B4B58175549")
   512     _IpEpEngineEvents : public IDispatch
   513     {
   514     };
   515     
   516 #else 	/* C style interface */
   517 
   518     typedef struct _IpEpEngineEventsVtbl
   519     {
   520         BEGIN_INTERFACE
   521         
   522         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
   523             _IpEpEngineEvents * This,
   524             /* [in] */ REFIID riid,
   525             /* [annotation][iid_is][out] */ 
   526             _COM_Outptr_  void **ppvObject);
   527         
   528         ULONG ( STDMETHODCALLTYPE *AddRef )( 
   529             _IpEpEngineEvents * This);
   530         
   531         ULONG ( STDMETHODCALLTYPE *Release )( 
   532             _IpEpEngineEvents * This);
   533         
   534         HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
   535             _IpEpEngineEvents * This,
   536             /* [out] */ UINT *pctinfo);
   537         
   538         HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
   539             _IpEpEngineEvents * This,
   540             /* [in] */ UINT iTInfo,
   541             /* [in] */ LCID lcid,
   542             /* [out] */ ITypeInfo **ppTInfo);
   543         
   544         HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
   545             _IpEpEngineEvents * This,
   546             /* [in] */ REFIID riid,
   547             /* [size_is][in] */ LPOLESTR *rgszNames,
   548             /* [range][in] */ UINT cNames,
   549             /* [in] */ LCID lcid,
   550             /* [size_is][out] */ DISPID *rgDispId);
   551         
   552         /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
   553             _IpEpEngineEvents * This,
   554             /* [annotation][in] */ 
   555             _In_  DISPID dispIdMember,
   556             /* [annotation][in] */ 
   557             _In_  REFIID riid,
   558             /* [annotation][in] */ 
   559             _In_  LCID lcid,
   560             /* [annotation][in] */ 
   561             _In_  WORD wFlags,
   562             /* [annotation][out][in] */ 
   563             _In_  DISPPARAMS *pDispParams,
   564             /* [annotation][out] */ 
   565             _Out_opt_  VARIANT *pVarResult,
   566             /* [annotation][out] */ 
   567             _Out_opt_  EXCEPINFO *pExcepInfo,
   568             /* [annotation][out] */ 
   569             _Out_opt_  UINT *puArgErr);
   570         
   571         END_INTERFACE
   572     } _IpEpEngineEventsVtbl;
   573 
   574     interface _IpEpEngineEvents
   575     {
   576         CONST_VTBL struct _IpEpEngineEventsVtbl *lpVtbl;
   577     };
   578 
   579     
   580 
   581 #ifdef COBJMACROS
   582 
   583 
   584 #define _IpEpEngineEvents_QueryInterface(This,riid,ppvObject)	\
   585     ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) 
   586 
   587 #define _IpEpEngineEvents_AddRef(This)	\
   588     ( (This)->lpVtbl -> AddRef(This) ) 
   589 
   590 #define _IpEpEngineEvents_Release(This)	\
   591     ( (This)->lpVtbl -> Release(This) ) 
   592 
   593 
   594 #define _IpEpEngineEvents_GetTypeInfoCount(This,pctinfo)	\
   595     ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) 
   596 
   597 #define _IpEpEngineEvents_GetTypeInfo(This,iTInfo,lcid,ppTInfo)	\
   598     ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) 
   599 
   600 #define _IpEpEngineEvents_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)	\
   601     ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) 
   602 
   603 #define _IpEpEngineEvents_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)	\
   604     ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) 
   605 
   606 #endif /* COBJMACROS */
   607 
   608 
   609 #endif 	/* C style interface */
   610 
   611 
   612 #endif 	/* ___IpEpEngineEvents_DISPINTERFACE_DEFINED__ */
   613 
   614 
   615 EXTERN_C const CLSID CLSID_pEpEngine;
   616 
   617 #ifdef __cplusplus
   618 
   619 class DECLSPEC_UUID("EF1B073D-5058-4E0E-829E-B4D22CA21EA2")
   620 pEpEngine;
   621 #endif
   622 #endif /* __pEpCOMServerAdapterLib_LIBRARY_DEFINED__ */
   623 
   624 /* Additional Prototypes for ALL interfaces */
   625 
   626 unsigned long             __RPC_USER  BSTR_UserSize(     unsigned long *, unsigned long            , BSTR * ); 
   627 unsigned char * __RPC_USER  BSTR_UserMarshal(  unsigned long *, unsigned char *, BSTR * ); 
   628 unsigned char * __RPC_USER  BSTR_UserUnmarshal(unsigned long *, unsigned char *, BSTR * ); 
   629 void                      __RPC_USER  BSTR_UserFree(     unsigned long *, BSTR * ); 
   630 
   631 unsigned long             __RPC_USER  LPSAFEARRAY_UserSize(     unsigned long *, unsigned long            , LPSAFEARRAY * ); 
   632 unsigned char * __RPC_USER  LPSAFEARRAY_UserMarshal(  unsigned long *, unsigned char *, LPSAFEARRAY * ); 
   633 unsigned char * __RPC_USER  LPSAFEARRAY_UserUnmarshal(unsigned long *, unsigned char *, LPSAFEARRAY * ); 
   634 void                      __RPC_USER  LPSAFEARRAY_UserFree(     unsigned long *, LPSAFEARRAY * ); 
   635 
   636 /* end of Additional Prototypes */
   637 
   638 #ifdef __cplusplus
   639 }
   640 #endif
   641 
   642 #endif
   643 
   644