Available in LEADTOOLS Medical Imaging toolkits. |
#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 |
Win32, x64
See Also
Functions: |
|
Topics: |
Example
For an example, refer to L_DicomSetExtended.