LDicomDir::ResetDicomDir

#include "Ltdic.h"

L_UINT16 LDicomDir::ResetDicomDir(pszDICOMDIRDstFolder)

Removes the contents of the Directory and reinitializes it.

Parameters

const L_TCHAR* pszDICOMDIRDstFolder

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

Returns

Value Meaning
0 The function was successful.
> 0 An error occurred. Refer to Return Codes.

Comments

When an object of the LDicomDir class is created, the Dicom Directory, as specified by the object, is empty. To revert to this case at any time, call the function LDicomDir::ResetDicomDir. 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.

NOTE: 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

Platforms

Win32, x64

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

LEADTOOLS DICOM C++ Class Library Help