LDicomAssociate::AddUserInfo

Summary

Appends a User-defined item to the DICOM Associate.

Syntax

#include "ltdic.h"

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

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

See Also

Functions

Topics

Example

For an example, refer to LDicomAssociate::GetUserInfoCount.

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

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