LDicomAssociate::AddUserInfo

#include "ltdic.h"

L_INT LDicomAssociate::AddUserInfo(nType, pData, nLength)

Appends a User-defined item to the DICOM Associate.

Parameters

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
0 SUCCESS
>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

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

LEADTOOLS DICOM C++ Class Library Help