L_DicomDirReset

#include "ltdic.h"

L_LTDIC_API L_UINT16 L_DicomDirReset(hDicomDir, pszDICOMDIRDstFolder)

HDICOMDIR hDicomDir;

a DICOMDIR handle

L_TCHAR *pszDICOMDIRDstFolder;

destination folder of the DICOMDIR File

Removes the contents of the Directory and reinitializes it.

Parameter Description
hDicomDir

A DICOMDIR handle

pszDICOMDIRDstFolder

Character string that contains the name of an existing destination folder in which to save the DICOMDIR File.

Returns

0

The function was successful.

> 0

An error occurred. Refer to Return Codes.

Comments

When a DICOMDIR handle is created, the Dicom Directory, as specified by the handle, is empty. To revert to this case at any time, call the function L_DicomDirReset. If the same object is to be used to create the Dicom Directory of a new file-set, this function must be called first.

This function also sets the destination folder of the DICOMDIR File. Please note that although the function can be passed a NULL, no DICOM file can be added to the Dicom Directory unless this folder is specified.

Required DLLs and Libraries

LTDIC
For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application.

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

LEADTOOLS DICOM C API Help