Available in LEADTOOLS Medical Imaging toolkits. |
#include " Ltdic.h "
L_LTDIC_API pDICOMELEMENT EXT_FUNCTION L_DicomFindFirstPrivateElement(hDS, pPrivateCreatorDataElement)
HDICOMDS hDS; |
/* a DICOM handle */ |
pDICOMELEMENT pPrivateCreatorDataElement; |
/* pointer to a DICOMELEMENT structure */ |
Returns the first existing private element that is reserved by pPrivateCreatorDataElement. This feature is available in version 16 or higher.
Parameter |
Description |
hDS |
A DICOM handle. |
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 along with the L_DicomFindNextPrivateElement 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.
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.