Available in LEADTOOLS Medical Imaging toolkits. |
L_DicomFindNextPrivateElement
#include " Ltdic.h "
L_LTDIC_API pDICOMELEMENT EXT_FUNCTION L_DicomFindNextPrivateElement(hDS, pElement, pPrivateCreatorDataElement)
HDICOMDS hDS; |
/* a DICOM handle */ |
pDICOMELEMENT pElement; |
/* pointer to a DICOMELEMENT structure */ |
pDICOMELEMENT pPrivateCreatorDataElement; |
/* pointer to a DICOMELEMENT structure */ |
Returns the next existing private element that is reserved by pPrivateCreatorDataElement. This feature is available in version 16 or higher.
Parameter |
Description |
hDS |
A DICOM handle. |
pElement |
Pointer to a DICOMELEMENT structure within the data set. |
pPrivateCreatorDataElement |
Pointer to a DICOMELEMENT structure, within the data set that is a Private Creator Data Element. |
Returns
!NULL |
A pointer to a DICOMELEMENT structure that contains the first Private Element reserved by pPrivateCreatorDataElement. |
NULL |
A Private Element was not found. |
Comments
Use this function after calling the L_DicomFindFirstPrivateElement function to find any or all the private elements reserved by pPrivateCreatorDataElement. For more information on how Private Creator Data Elements are used to reserve private elements, see the documentation for the L_DicomCreatePrivateCreatorDataElement function.
The search for private elements is on the same level as the element pointed to by argument pPrivateCreatorDataElement. For the argument pElement, pass the value returned by the L_DicomFindFirstPrivateElement function or the value returned by the L_DicomFindNextPrivateElement function.
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
Example
For an example, refer to L_DicomFindFirstPrivateCreatorDataElement