LDicomDS::DeleteWaveformGroup

#include "Ltdic.h"

L_UINT16 LDicomDS::DeleteWaveformGroup(uIndex, uReserved)

L_UINT32 uIndex;

/* index*/

L_UINT16 uReserved;

/* reserved*/

Deletes a waveform group.

Parameter

Description

uIndex

Zero-based index of the group to be deleted. As an example, if there are 3 groups and you want to delete the 2nd one, use an index of 1.

uReserved

Reserved. Pass 0.

Returns

0

The function was successful.

> 0

An error occurred. Refer to Return Codes.

Comments

In DICOM, a waveform consists of one or more multiplex groups, each encoded into an item in the "Waveform Sequence" (5400,0100). Use this function to delete the specified multiplex group.

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:

LDicomDS::GetWaveformGroupCount, LDicomDS::GetWaveformGroup, LDicomDS::AddWaveformGroup, LDicomWaveformGroup class members, LDicomWaveformChannel class members

Topics:

Working with DICOM Waveforms

Example

For an example, refer to LDicomWaveformChannel::SetChannelSamples8