L_DicomSetDefaultDicomTempPath

Summary

Sets the global default location of the temporary files used by HDICOMDS and HDICOMNET objects.

Syntax

#include "ltdic.h"

L_LTDIC_API L_VOID L_DicomSetDefaultDicomTempPath(szPath)

Parameters

L_TCHAR *szPath

A character string containing the global default location of the temporary files to set.

Returns

None.

Comments

The default location for HDICOMDS and HDICOMNET temporary files is chosen by Windows.

This behavior is modified by calling L_DicomSetDefaultDicomTempPath:

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.

Required DLLs and Libraries

Platforms

Win32, x64

See Also

Functions

Topics

Help Version 22.0.2022.12.7
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS DICOM C API Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.