L_DicomGetPresentation

#include "ltdic.h"

L_UCHAR EXT_FUNCTION L_DicomGetPresentation(hPDU, nIndex)

HDICOMPDU hPDU;

/* a DICOM Associate handle */

L_INT nIndex;

/* index */

Returns the Presentation Context ID of the Presentation Context at the specified index, for the specified DICOM Associate.

Parameter

Description

hPDU

A DICOM Associate handle.

nIndex

Index of the Presentation Context ID to get.

Returns

The Presentation Context ID for the specified Presentation Context.

Comments

A DICOM Associate (Request or Accept) can have multiple Presentation Contexts. The Presentation ID can be retrieved by passing the appropriate value for nIndex.

To determine the number of presentation contexts a DICOM Associate has, call L_DicomGetPresentationCount.

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

See Also

Functions:

L_DicomAddPresentation, L_DicomSetPresentation, L_DicomDelPresentation, L_DicomGetPresentationCount

Topics:

Working with DICOM Associate Connections

Example

For an example, refer to L_DicomDelPresentation.