LDicomDS::SetDefaultDicomTempPath

Summary

Sets the global default location of the temporary files used by LDicomDS and LDicomNet class objects.

Syntax

#include "ltdic.h"

static L_VOID LDicomDS::SetDefaultDicomTempPath(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 LDicomDS and LDicomNet temporary files is chosen by Windows.

This behavior is modified by calling LDicomDS::SetDefaultDicomTempPath:

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.

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++ Class Library Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.