L_DicomChannelAddAnnotation

Summary

Adds a new waveform annotation to the channel.

Syntax

#include "Ltdic.h"

L_LTDIC_API L_UINT16 L_DicomChannelAddAnnotation(hDICOMWaveFormChannel, pAnnotation)

Parameters

HDICOMWAVEFORMCHANNEL hDICOMWaveFormChannel

A DICOM waveform channel handle

pDICOMWAVEFORMANNOTATION pAnnotation

Pointer to a DICOMWAVEFORMANNOTATION structure containing the new waveform annotation attributes.

Returns

Value Meaning
DICOM_SUCCESS 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, Linux.

See Also

Functions

Topics

Example

For an example, refer to L_DicomChannelSetSamples8.

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 API Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.