L_DicomGetTransferCount

#include "ltdic.h"

L_LTDIC_API L_INT L_DicomGetTransferCount(hPDU, nID)

HDICOMPDU hPDU;

/* a DICOM Associate handle */

L_UCHAR nID;

/* presentation ID */

Returns the number of Transfer Syntax entries for the specified Presentation Context.

Parameter

Description

hPDU

A DICOM Associate handle.

nID

Presentation ID. The presentation ID provides information about both the class type of the data and the transfer syntax to use when transferring the data.

Returns

The number of Transfer Syntax entries for the specified Presentation Context.

Comments

A DICOM Associate can have more than one Presentation Context. The nID parameter identifies which Presentation Context to use when getting the number of Transfer Syntax entries.

A Presentation Context for an Associate Accept has only one Transfer Syntax. Therefore if you call this function for the Presentation Context of a DICOM Associate Accept, it will return 1.

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

See Also

Functions:

L_DicomGetTransfer, L_DicomSetTransfer, L_DicomAddTransfer, L_DicomDelTransfer

Topics:

Working with DICOM Associate Connections

Example

For an example, refer to L_DicomDelTransfer.