L_DicomFindVR

#include "Ltdic.h"

L_LTDIC_API pDICOMVR L_DicomFindVR(nCode)

Returns a pointer to a structure that contains the item with the specified value representation code.

Parameters

L_UINT16 nCode

A value representation code. A pointer to the item in the Value Representation Table that has this value representation code will be returned.

Returns

Value Meaning
!NULL A pointer to a DICOMVR structure that contains the item with the specified value representation code.
NULL There is not an item with the specified value representation code.

Comments

As an example, if you call this function with nCode set to VR_AE, and the Value Representation Table filled with the default values, the DICOMVR structure pointed to by the returned pointer will contain VR_AE, "Application Entity", 16, VR_STRING|VR_MAXIMUM, and 1.

To see the default values for the Value Representation Table, refer to the Default Value Representation Table.

Required DLLs and Libraries

Platforms

Win32, x64, Linux.

See Also

Functions

Topics

Example

For an example, refer to L_DicomDeleteVR or L_DicomSetNameVR.

Help Version 20.0.2019.9.20
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2019 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS DICOM C API Help