LDicomAssociate::SetApplication

Summary

Sets the Application Context of the DICOM Associate.

Syntax

#include "ltdic.h"

L_INT LDicomAssociate::SetApplication(pszUID)

Parameters

L_TCHAR * pszUID

Character string that contains the new Application Context to set. This parameter cannot exceed PDU_MAX_UID_SIZE + 1, including the null character at the end.

Returns

Value Meaning
0 SUCCESS
>0 An error occurred. Refer to Return Codes.

Comments

The default value for the Application Context is "1.2.840.10008.3.1.1.1" (UID_APPLICATION_CONTEXT_NAME).

Required DLLs and Libraries

Platforms

Win32, x64

See Also

Functions

Topics

Example

For an example, refer to LDicomAssociate::GetApplication.

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.