Products | Support | Send comments on this topic. | Email a link to this topic. | Back to Getting Started | Help Version 18.0.10.23
LEADTOOLS DICOM C++ Class Library Help

LDicomDir::ResetDicomDir

Show in webframe

#include "Ltdic.h"

L_UINT16 LDicomDir::ResetDicomDir(pszDICOMDIRDstFolder)

const L_TCHAR* pszDICOMDIRDstFolder;

/* destination folder of the DICOMDIR File */

Removes the contents of the Directory and reinitializes it.

Parameter

Description

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 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. 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

Platforms

Win32, x64

See Also

Functions:

LDicomDir::LDicomDir, Class Members

Topics:

Creating DICOM Directories

 

Dicom Directories

Example

For an example, refer to LDicomDir::InsertDicomDS.

Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.