Sets the global default location of the temporary files used by HDICOMDS and HDICOMNET objects.
#include "ltdic.h"
L_LTDIC_API L_VOID L_DicomSetDefaultDicomTempPath(szPath)
A character string containing the global default location of the temporary files to set.
None.
The default location for HDICOMDS and HDICOMNET temporary files is chosen by Windows.
This behavior is modified by calling L_DicomSetDefaultDicomTempPath:
Calling L_DicomSetDefaultDicomTempPath with a non-empty path uses this path for DICOM temporary files instead of the Windows temporary file location.
Calling L_DicomSetDefaultDicomTempPath 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 HDICOMDS or HDICOMNET 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 L_DicomGetDefaultDicomTempPath to be used for the DICOM temporary file location; if the path returned by L_DicomGetDefaultDicomTempPath is the empty string or NULL, Windows chooses the DICOM temporary file location.
If this function has not been called, L_DicomGetDefaultDicomTempPath 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