LEADTOOLS DICOM C DLL Help > Function References > L_DicomFindUID |
#include "Ltdic.h"
L_LTDIC_API pDICOMUID L_DicomFindUID(pszCode)
L_TCHAR * pszCode; |
/* UID */ |
Returns a pointer to a structure that contains the item with the specified UID.
Parameter |
Description |
pszCode |
Character string that contains a UID. A pointer to the item in the UID Table that has this UID will be returned. |
Returns
!NULL |
A pointer to a DICOMUID structure that contains the item with the specified UID. |
NULL |
There is not an item with the specified UID. |
Comments
As an example, if you call this function with pszCode set to "1.2.840.10008.1.1", and the UID Table filled with the default values, the DICOMUID structure pointed to by the returned pointer will contain "1.2.840.10008.1.1" and "Verification SOP Class".
To see the default values for the UID Table, refer to the Default UID Table.
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: |
|
Topics: |
Example
For an example, refer to L_DicomDeleteUID or L_DicomSetNameUID.