LDicomAssociate::SetExtended

Summary

Sets the extended data associated with the specified Presentation Context.

Syntax

#include "ltdic.h"

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

Parameters

L_UCHAR 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.

L_UCHAR *pData

Buffer that contains the data to set.

L_UINT32 nLength

Length of pData.

Returns

Value Meaning
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

Platforms

Win32, x64

See Also

Functions

Topics

Example

For an example, refer to LDicomAssociate::IsRoleSelect.

Help Version 22.0.2022.12.7
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 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.