CpEpEngine.cpp
branchoutlook_mime_support
changeset 155 0264d4b637a4
parent 150 316269fc987e
parent 151 432c35b5903c
child 156 8c9f8ce2c3a8
     1.1 --- a/CpEpEngine.cpp	Sun Aug 21 02:01:20 2016 +0200
     1.2 +++ b/CpEpEngine.cpp	Thu Sep 01 19:09:52 2016 +0200
     1.3 @@ -465,6 +465,23 @@
     1.4      return S_OK;
     1.5  }
     1.6  
     1.7 +STDMETHODIMP CpEpEngine::get_engine_version(BSTR * engine_version)
     1.8 +{
     1.9 +    assert(engine_version);
    1.10 +
    1.11 +    if (!engine_version)
    1.12 +        return E_INVALIDARG;
    1.13 +
    1.14 +    const char *_enginge_version = ::get_engine_version();
    1.15 +
    1.16 +    if (_enginge_version == NULL)
    1.17 +        return FAIL(L"get_engine_version");
    1.18 +
    1.19 +    *engine_version = utf16_bstr(_enginge_version);
    1.20 +
    1.21 +    return S_OK;
    1.22 +}
    1.23 +
    1.24  STDMETHODIMP CpEpEngine::get_languagelist(BSTR * languages)
    1.25  {
    1.26      assert(languages);