Products | Support | Send comments on this topic. | Email a link to this topic. | Back to Getting Started | Help Version 18.0.10.23
LEADTOOLS DICOM C DLL Help

L_DicomGetPresentation

Show in webframe

#include "ltdic.h"

L_LTDIC_API L_UCHAR 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

Platforms

Win32, x64, Linux.

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.

Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.