L_DicomChannelGetAnnotation

Summary

Gets the channel annotation.

Syntax

#include "Ltdic.h"

L_LTDIC_API pDICOMWAVEFORMANNOTATION L_DicomChannelGetAnnotation(hDICOMWaveFormChannel, uIndex)

Parameters

HDICOMWAVEFORMCHANNEL hDICOMWaveFormChannel

A DICOM waveform channel handle

L_UINT32 uIndex

Index to the waveform annotation to be retrieved. This index is zero-based. As an example, if you are retrieving the 3rd waveform annotation, use an index of 2.

Returns

Value Meaning
!NULL A pointer to a DICOMWAVEFORMANNOTATION structure that describes one of waveform annotations associated with this channel.
NULL An error occurred.

Comments

This function returns a pointer to a DICOMWAVEFORMANNOTATION structure that describes one of waveform annotations associated with this channel.

This function returns NULL if the index is out of range or if the channel has no annotations associated with it.

Note: This function returns a pointer to an internal structure that is managed by the toolkit. Therefore, you should not free it when you are done with it.

Required DLLs and Libraries

Platforms

Win32, x64, Linux.

See Also

Functions

Topics

Example

For an example, refer to L_DicomChannelSetSamples8.

Help Version 23.0.2024.7.1
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 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.