...
authorVolker Birk <vb@pep-project.org>
Fri, 24 Apr 2015 00:00:37 +0200
changeset 5d959f594e4f7
parent 4 fdd8cf02d2cc
child 6 3a8ec5ae4d05
...
CpEpEngine.cpp
CpEpEngine.h
pEpCOMServerAdapter.idl
pEpCOMServerAdapter_i.c
pEpCOMServerAdapter_i.h
     1.1 --- a/CpEpEngine.cpp	Thu Apr 23 22:26:12 2015 +0200
     1.2 +++ b/CpEpEngine.cpp	Fri Apr 24 00:00:37 2015 +0200
     1.3 @@ -968,3 +968,11 @@
     1.4      }
     1.5      return E_FAIL;
     1.6  }
     1.7 +
     1.8 +
     1.9 +STDMETHODIMP CpEpEngine::get_outlook(IMessageAPI_Outlook* pVal)
    1.10 +{
    1.11 +    pVal = (IMessageAPI_Outlook *) this;
    1.12 +
    1.13 +    return S_OK;
    1.14 +}
     2.1 --- a/CpEpEngine.h	Thu Apr 23 22:26:12 2015 +0200
     2.2 +++ b/CpEpEngine.h	Fri Apr 24 00:00:37 2015 +0200
     2.3 @@ -54,9 +54,10 @@
     2.4  DECLARE_NOT_AGGREGATABLE(CpEpEngine)
     2.5  
     2.6  BEGIN_COM_MAP(CpEpEngine)
     2.7 -	COM_INTERFACE_ENTRY(IpEpEngine)
     2.8 -	COM_INTERFACE_ENTRY(ISupportErrorInfo)
     2.9 -	COM_INTERFACE_ENTRY(IConnectionPointContainer)
    2.10 +    COM_INTERFACE_ENTRY(IpEpEngine)
    2.11 +    COM_INTERFACE_ENTRY(ISupportErrorInfo)
    2.12 +    COM_INTERFACE_ENTRY(IConnectionPointContainer)
    2.13 +    COM_INTERFACE_ENTRY(IMessageAPI_Outlook)
    2.14  END_COM_MAP()
    2.15  
    2.16  BEGIN_CONNECTION_POINT_MAP(CpEpEngine)
    2.17 @@ -196,6 +197,7 @@
    2.18  
    2.19      // IMessageAPI_Outlook
    2.20      STDMETHOD(key_compromized)(BSTR fpr);
    2.21 +    STDMETHOD(get_outlook)(IMessageAPI_Outlook* pVal);
    2.22  };
    2.23  
    2.24  OBJECT_ENTRY_AUTO(__uuidof(pEpEngine), CpEpEngine)
     3.1 --- a/pEpCOMServerAdapter.idl	Thu Apr 23 22:26:12 2015 +0200
     3.2 +++ b/pEpCOMServerAdapter.idl	Fri Apr 24 00:00:37 2015 +0200
     3.3 @@ -7,6 +7,8 @@
     3.4  import "oaidl.idl";
     3.5  import "ocidl.idl";
     3.6  
     3.7 +interface IMessageAPI_Outlook;
     3.8 +
     3.9  [
    3.10      object,
    3.11      uuid(9A9F4422-CF0A-45D7-90CD-1D1B7B2A4540),
     4.1 --- a/pEpCOMServerAdapter_i.c	Thu Apr 23 22:26:12 2015 +0200
     4.2 +++ b/pEpCOMServerAdapter_i.c	Fri Apr 24 00:00:37 2015 +0200
     4.3 @@ -6,7 +6,7 @@
     4.4  
     4.5  
     4.6   /* File created by MIDL compiler version 8.00.0603 */
     4.7 -/* at Thu Apr 23 19:17:16 2015
     4.8 +/* at Thu Apr 23 23:53:02 2015
     4.9   */
    4.10  /* Compiler settings for pEpCOMServerAdapter.idl:
    4.11      Oicf, W1, Zp8, env=Win32 (32b run), target_arch=X86 8.00.0603 
     5.1 --- a/pEpCOMServerAdapter_i.h	Thu Apr 23 22:26:12 2015 +0200
     5.2 +++ b/pEpCOMServerAdapter_i.h	Fri Apr 24 00:00:37 2015 +0200
     5.3 @@ -4,7 +4,7 @@
     5.4  
     5.5  
     5.6   /* File created by MIDL compiler version 8.00.0603 */
     5.7 -/* at Thu Apr 23 19:17:16 2015
     5.8 +/* at Thu Apr 23 23:53:02 2015
     5.9   */
    5.10  /* Compiler settings for pEpCOMServerAdapter.idl:
    5.11      Oicf, W1, Zp8, env=Win32 (32b run), target_arch=X86 8.00.0603 
    5.12 @@ -87,6 +87,15 @@
    5.13  #endif 
    5.14  
    5.15  
    5.16 +/* interface __MIDL_itf_pEpCOMServerAdapter_0000_0000 */
    5.17 +/* [local] */ 
    5.18 +
    5.19 +
    5.20 +
    5.21 +
    5.22 +extern RPC_IF_HANDLE __MIDL_itf_pEpCOMServerAdapter_0000_0000_v0_0_c_ifspec;
    5.23 +extern RPC_IF_HANDLE __MIDL_itf_pEpCOMServerAdapter_0000_0000_v0_0_s_ifspec;
    5.24 +
    5.25  #ifndef __IpEpEngine_INTERFACE_DEFINED__
    5.26  #define __IpEpEngine_INTERFACE_DEFINED__
    5.27