CpEpEngine.cpp
branchsync
changeset 322 a0d12fc1ca68
parent 319 7734bc2d3a60
child 329 d8e00097b49e
     1.1 --- a/CpEpEngine.cpp	Tue Oct 23 16:09:57 2018 +0200
     1.2 +++ b/CpEpEngine.cpp	Thu Nov 08 12:21:49 2018 +0100
     1.3 @@ -1469,3 +1469,19 @@
     1.4  
     1.5  	return S_OK;
     1.6  }
     1.7 +
     1.8 +STDMETHODIMP CpEpEngine::Startup()
     1.9 +{
    1.10 +	try
    1.11 +	{
    1.12 +		startup<CpEpEngine>(messageToSend, notifyHandshake, this, &CpEpEngine::Startup_sync, &CpEpEngine::Shutdown_sync);
    1.13 +	}
    1.14 +	catch (bad_alloc&) {
    1.15 +		return E_OUTOFMEMORY;
    1.16 +	}
    1.17 +	catch (exception& ex) {
    1.18 +		return FAIL(ex.what());
    1.19 +	}
    1.20 +
    1.21 +	return S_OK;
    1.22 +}