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

Show in webframe

#include "ltdic.h"

L_INT LDicomAssociate::SetApplication(pszUID)

L_TCHAR * pszUID;

/* Application Context to set */

Sets the Application Context of the DICOM Associate.

Parameter

Description

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

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

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

Topics:

Working with DICOM Associate Connections

Example

For an example, refer to LDicomAssociate::GetApplication.

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