Sets the global default location of the temporary files used by LDicomDS and LDicomNet class objects.
#include "ltdic.h"
static L_VOID LDicomDS::SetDefaultDicomTempPath(szPath)
A character string containing the global default location of the temporary files to set.
None.
The default location for LDicomDS and LDicomNet temporary files is chosen by Windows.
This behavior is modified by calling LDicomDS::SetDefaultDicomTempPath:
Calling LDicomDS::SetDefaultDicomTempPath with a non-empty path uses this path for DICOM temporary files instead of the Windows temporary file location.
Calling LDicomDS::SetDefaultDicomTempPath with an empty string or NULL causes Windows to choose the DICOM temporary file location.
Note that this behavior can be overridden for individual objects by specifying a temporary file location as the first argument when constructing a LDicomDS or LDicomNet class object:
Passing an existing path for the first argument causes the DICOM temporary files to be created in this location.
Passing an empty string or NULL for the first argument causes the path returned by LDicomDS::GetDefaultDicomTempPath to be used for the DICOM temporary file location; if the path returned by LDicomDS::GetDefaultDicomTempPath is the empty string or NULL, Windows chooses the DICOM temporary file location.
If this function has not been called, LDicomDS::GetDefaultDicomTempPath will return NULL.
Win32, x64
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document