L_DicomAddUserInfo

#include "ltdic.h"

L_LTDIC_API L_INT L_DicomAddUserInfo(hPDU, nType, pData, nLength)

Appends a User-defined item to the specified DICOM Associate.

Parameters

HDICOMPDU hPDU

A DICOM Associate handle.

L_UCHAR nType

Type of the User-defined item.

L_UCHAR * pData

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

L_UINT16 nLength

Length of the User-defined item.

Returns

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

Comments

User-defined items may be included in the DICOM Associate to provide any other data the user finds necessary when establishing a DICOM Associate connection. The basic structure of the User-defined item is

image\UserData.gif

where the Type, Length and User Data are all determined by the user. The values shown are the lengths, in bytes, of the elements of the User-defined item.

Required DLLs and Libraries

Platforms

Win32, x64, Linux.

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

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