HRESULT ResetPathVariables(LPCTSTR folder)
{
HRESULT hr;
CComPtr<IltmsPathResolver> resolver;
// this function will reset all the variables to their default values
hr = CoCreateInstance(__uuidof(ltmsPathResolver), NULL, CLSCTX_ALL, __uuidof(IltmsPathResolver), (void**) &resolver);
if(FAILED(hr))
return hr;
return resolver->Reset();
}
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