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::SetExtended

Show in webframe

#include "ltdic.h"

L_INT LDicomAssociate::SetExtended(nID, pData, nLength)

L_UCHAR nID;

/* presentation ID */

L_UCHAR *pData;

/* extended data */

L_UINT32 nLength;

/* length of the extended data */

Sets the extended data associated with the specified Presentation Context.

Parameter

Description

nID

Presentation ID of the Presentation Context to which to set the extended data. The presentation ID provides information about both the class type of the data and the transfer syntax to use when transferring the data. It also identifies a specific Presentation Context within an Associate.

pData

Buffer that contains the data to set.

nLength

Length of pData.

Returns

0

SUCCESS

>0

An error occurred. Refer to Return Codes.

Comments

To retrieve the length of the extended data associated with a Presentation Context, call LDicomAssociate::GetLengthExtended.

To get extended data associated with a Presentation Context, call LDicomAssociate::GetExtended.

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::GetLengthExtended, LDicomAssociate::GetExtended

Topics:

Working with DICOM Associate Connections

Example

For an example, refer to LDicomAssociate::IsRoleSelect.

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