LDicomPrintSCU::Release

#include "ltdic.h"

L_INT LDicomPrintSCU::Release()

Releases the Association and closes the connection.

Returns

0

The Association was released (if it was established) successfully and the connection was closed. Also, the function will return 0 if the connection is not established.

> 0

An error occurred. Refer to Return Codes.

Comments

If the Association is established, this function will not return until the Association is released and the connection is closed, or an error occurs.

If necessary, you can use the base class function LDicomNet::SendAbort to abort the Association instead of releasing it.

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:

Class Members, LDicomPrintSCU::Associate, LDicomNet::SendAbort, LDicomNet::Close

Topics:

Print Management SCU

 

DICOM Print Management Service Class User: Functions

Example

For an example, refer to LDicomPrintSCU::UpdateImageBox.