L_DicomGetLengthExtended

#include "ltdic.h"

L_LTDIC_API L_UINT32 L_DicomGetLengthExtended(hPDU, nID)

HDICOMPDU hPDU;

a DICOM Associate handle

L_UCHAR nID;

presentation ID

Returns the length of the extended data associated with the specified Presentation Context.

Parameter

Description

hPDU

A DICOM Associate handle.

nID

Presentation ID of the Presentation Context from which to retrieve the length of the extended data. The presentation ID provides information about both the class type of the data and the transfer syntax to use when transferring the data. It also identifies a specific Presentation Context within an Associate.

Returns

The length of the extended data of the specified Presentation Context of the specified DICOM Associate.

Comments

To retrieve the extended data associated with a Presentation Context, call L_DicomGetExtended.

To set extended data associated with a Presentation Context, call L_DicomSetExtended.

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_DicomGetExtended, L_DicomSetExtended

Topics:

Working with DICOM Associate Connections

Example

For an example, refer to L_DicomSetExtended.

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
LEADTOOLS DICOM C API Help