| LEADTOOLS DICOM C DLL Help > Function References > L_DicomGetPresentationCount | 
#include "ltdic.h"
L_LTDIC_API L_INT L_DicomGetPresentationCount(hPDU)
| HDICOMPDU hPDU; | /* a DICOM Associate handle */ | 
Returns the number of Presentation Context entries for the specified DICOM Associate.
| Parameter | Description | 
| hPDU | A DICOM Associate handle. | 
Returns
The number of Presentation Context entries for the specified DICOM Associate.
Comments
A DICOM Associate can have multiple Presentation Context entries. This function returns the number of Presentation Context entries in the specified DICOM Associate.
Required DLLs and Libraries
| 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, Linux.
See Also
| Functions: | L_DicomGetPresentation, L_DicomSetPresentation, L_DicomAddPresentation, L_DicomDelPresentation | 
| Topics: | 
Example
For an example, refer to L_DicomDelPresentation.