L_DicomSetUserInfo

Summary

Sets the specified User-defined item using the specified parameters.

Syntax

#include "ltdic.h"

L_LTDIC_API L_INT L_DicomSetUserInfo(hPDU, nIndex, nType, pData, nLength)

Parameters

HDICOMPDU hPDU

A DICOM Associate handle.

L_INT nIndex

Index of the User-defined item to be set.

L_UCHAR nType

Type of the User-defined item.

L_UCHAR * pData

Buffer that contains the data for the specified User-defined item.

L_UINT16 nLength

Length of the specified User-defined item.

Returns

Value Meaning
DICOM_SUCCESS The function was successful.
>0 An error occurred. Refer to Return Codes.

Comments

For more information about User-defined items, refer to L_DicomAddUserInfo.

Required DLLs and Libraries

Platforms

Win32, x64, Linux.

See Also

Functions

Topics

Example

For an example, refer to L_DicomGetUserInfoCount.

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

LEADTOOLS DICOM C API Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.