L_DicomGetPresentation

Summary

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

Syntax

#include "ltdic.h"

L_LTDIC_API L_UCHAR L_DicomGetPresentation(hPDU, nIndex)

Parameters

HDICOMPDU hPDU

A DICOM Associate handle.

L_INT 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

Platforms

Win32, x64, Linux.

See Also

Functions

Topics

Example

For an example, refer to L_DicomDelPresentation.

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.