L_DicomSetApplication

#include "ltdic.h"

L_LTDIC_API L_INT L_DicomSetApplication(hPDU, pszUID)

HDICOMPDU hPDU;

a DICOM Associate handle

L_TCHAR * pszUID;

Application Context to set

Sets the Application Context of the specified DICOM Associate.

Parameter

Description

hPDU

A DICOM Associate handle.

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

DICOM_SUCCESS

The function was successful.

>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, Linux.

See Also

Functions:

L_DicomGetApplication

Topics:

Working with DICOM Associate Connections

Example

For an example, refer to L_DicomGetApplication.

Help Version 19.0.2017.10.18
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
LEADTOOLS DICOM C API Help