L_DicomGetCountValue

#include "Ltdic.h"

L_LTDIC_API L_UINT32 L_DicomGetCountValue(hDS, pElement)

HDICOMDS hDS;

/* a DICOM handle */

pDICOMELEMENT pElement;

/* pointer to a DICOMELEMENT structure */

Returns the number of values stored in the Value Field of the specified element.

Parameter

Description

hDS

A DICOM handle.

pElement

Pointer to a DICOMELEMENT structure within the Data Set.

Returns

The number of values stored in the Value Field of the specified element.

Comments

For more information on retrieving multiple values from the Value Field, refer to the L_DicomGetxxxValue functions.

To minimize memory use in your application, you can free the memory allocated for this function to return the value by calling L_DicomFreeValue following the call to this function.

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

See Also

Functions:

L_DicomGetInfoDS, L_DicomGetPreamble, L_DicomGetBinaryValue, L_DicomGetCharValue, L_DicomGetShortValue, L_DicomGetLongValue, L_DicomGetFloatValue, L_DicomGetDoubleValue, L_DicomGetAgeValue, L_DicomGetDateValue, L_DicomGetDateTimeValue, L_DicomGetTimeValue

Topics:

Working with Data Sets

Example

For an example, refer to L_DicomGetCharValue.