L_INT LDicomAssociate::AddUserInfo(nType, pData, nLength)
Appends a User-defined item to the DICOM Associate.
Type of the User-defined item.
Buffer that contains the data for the User-defined item.
Length of the User-defined item.
|>0||An error occurred. Refer to Return Codes.|
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
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
For an example, refer to LDicomAssociate::GetUserInfoCount.
Medical Web Viewer .NET
.NET, Java, Android, and iOS/macOS Assemblies
C API/C++ Class Libraries