L_DicomChannelAddAnnotation

#include "Ltdic.h"

L_LTDIC_API L_UINT16 L_DicomChannelAddAnnotation(hDICOMWaveFormChannel, pAnnotation)

HDICOMWAVEFORMCHANNEL hDICOMWaveFormChannel;

/* a DICOM waveform channel handle*/

pDICOMWAVEFORMANNOTATION pAnnotation;

/* pointer to a structure */

Adds a new waveform annotation to the channel.

Parameter

Description

hDICOMWaveFormChannel

A DICOM waveform channel handle

pAnnotation

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

Returns

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

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_DicomChannelGetAnnotation, L_DicomChannelDeleteAnnotation, L_DicomChannelGetAnnotationCount

Topics:

Working with DICOM Waveforms

 

Working with DICOM Annotations

Example

For an example, refer to L_DicomChannelSetSamples8.