Available in LEADTOOLS Medical Imaging toolkits.
Key Elements: Searching the DICOM Dir Data Set
LDicomDS::FindFirstKey
LDicomDS::FindLastKey
LDicomDS::FindPrevKey
LDicomDS::FindNextKey