L_DicomDeleteWaveformGroup

#include "Ltdic.h"

L_LTDIC_API L_UINT16 L_DicomDeleteWaveformGroup(hDS, uIndex, uReserved)

HDICOMDS hDS;

/* a DICOM handle */

L_UINT32 uIndex;

/* index */ 

L_UINT16 uReserved;

/* reserved */

Deletes a waveform group.

Parameter

Description

hDS

A DICOM handle.

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

Platforms

Win32, x64

See Also

Functions:

L_DicomGetWaveformGroupCount, L_DicomGetWaveformGroup, L_DicomAddWaveformGroup

Topics:

Working with DICOM Waveforms

Example

For an example, refer to L_DicomChannelSetSamples8.