L_DicomGetLengthExtended

#include "ltdic.h"

L_UINT32 EXT_FUNCTION 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

See Also

Functions:

L_DicomGetExtended, L_DicomSetExtended

Topics:

Working with DICOM Associate Connections

Example

For an example, refer to L_DicomSetExtended.