LDicomDS::AddWaveformGroup

#include "Ltdic.h"

L_UINT16 LDicomDS::AddWaveformGroup(pWaveformGroup, uFlags, uIndex = ELEMENT_INDEX_MAX)

Adds a new waveform group to the dataset.

Parameters

LDicomWaveformGroup* pWaveformGroup

Pointer to a structure that contains the new waveform group. This parameter cannot be NULL.

L_UINT16 uFlags

Reserved for future use. Pass 0.

L_UINT32 uIndex

Zero-based index of the new waveform group. This parameter defaults to ELEMENT_INDEX_MAX, which adds the new group at the end.

Returns

Value Meaning
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 add a new multiplex group to the dataset.

Required DLLs and Libraries

Platforms

Win32, x64

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

LEADTOOLS DICOM C++ Class Library Help