LDicomWaveformChannel::AddAnnotation

Summary

Adds a new waveform annotation to the channel.

Syntax

#include "Ltdic.h"

L_UINT16 LDicomWaveformChannel::AddAnnotation(pAnnotation)

Parameters

pDICOMWAVEFORMANNOTATION pAnnotation

Pointer to a structure containing the new waveform annotation attributes.

Returns

Value Meaning
0 The function was successful.
> 0 An error occurred. Refer to Return Codes.

Comments

This function fails and Returns DICOM_ERROR_NULL_PTR if pAnnotation is NULL.

Before calling this function, initialize pAnnotation->uStructSize to be sizeof(DICOMWAVEFORMANNOTATION) and initialize all the members of the structure.

Required DLLs and Libraries

Platforms

Win32, x64

See Also

Functions

Topics

Example

For an example, refer to LDicomWaveformChannel::SetChannelSamples8.

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

LEADTOOLS DICOM C++ Class Library Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.