HRESULT ExportDefaultConfig(IltmsServer* server, LPCTSTR path)
{
HRESULT hr;
// reset configuration to default values
hr = server->ResetConfig();
if(FAILED(hr))
goto error;
// save the changed configuration
hr = server->ExportConfigFile(CComBSTR(path));
if(FAILED(hr))
goto error;
error:
return hr;
}
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET