#include "Ltdic.h"
L_LTDIC_API HDICOMDS L_DicomCreateDS(pszPath)
Allocates the memory for the data set and sets the site of the temporary files.
Character string containing the location of the temporary files. DICOM uses temporary files during the course of creating a file. If this parameter is NULL, the DICOM temporary files are kept in the directory Windows places its own temporary files. If this parameter is not NULL, the temporary files are placed in the specified directory.
A DICOM handle.
The allocated memory is freed by calling L_DicomFreeDS.
To initialize the newly created Data Set to contain elements of a specific class, call L_DicomInitDS.
This function must be called before calling L_DicomLoadDS, L_DicomLoadDSMemory, or L_DicomInitDS.
Required DLLs and Libraries
Win32, x64, Linux.
This example creates and frees the Data Set
L_INT DicomCreateDSExample(L_VOID)
{
HDICOMDS hDS;
hDS = L_DicomCreateDS(MAKE_IMAGE_PATH(TEXT("")));
L_DicomFreeDS(hDS);
return DICOM_SUCCESS;
}
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