Products | Support | Send comments on this topic. | Email a link to this topic. | Back to Getting Started | Help Version 18.0.10.23
LEADTOOLS DICOM C++ Class Library Help

LDicomAssociate::SetUserInfo

Show in webframe

#include "ltdic.h"

L_INT LDicomAssociate::SetUserInfo(nIndex, nType, pData, nLength)

L_INT nIndex;

/* index */

L_UCHAR nType;

/* type */

L_UCHAR * pData;

/* user data */

L_UINT16 nLength;

/* length */

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

Parameter

Description

nIndex

Index of the User-defined item to be set.

nType

Type of the User-defined item.

pData

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

nLength

Length of the specified User-defined item.

Returns

0

SUCCESS

>0

An error occurred. Refer to Return Codes.

Comments

For more information about User-defined items, refer to LDicomAssociate::AddUserInfo.

Required DLLs and Libraries

LTDIC

For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application

Platforms

Win32, x64

See Also

Functions:

LDicomAssociate::GetUserInfoCount, LDicomAssociate::GetLengthUserInfo, LDicomAssociate::GetDataUserInfo, LDicomAssociate::GetTypeUserInfo, LDicomAssociate::AddUserInfo, LDicomAssociate::DelUserInfo

Topics:

Working with DICOM Associate Connections

Example

For an example, refer to LDicomAssociate::GetUserInfoCount.

Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.