LEADTOOLS DICOM C DLL Help > Function References > L_DicomSendReleaseRequest |
#include "ltdic.h"
L_LTDIC_API L_INT L_DicomSendReleaseRequest(hNet)
HDICOMNET hNet; |
/* a DICOM Network handle */ |
Sends a Release Request message to a connection. This function is available in the PACS Imaging Toolkit.
Parameter |
Description |
hNet |
A DICOM Network handle. |
Returns
DICOM_SUCCESS |
The function was successful. |
>0 |
An error occurred. Refer to Return Codes. |
Comments
Calling L_DicomSendReleaseRequest generates a call to RECEIVERELEASEREQUESTCALLBACK on the server. The server will call L_DicomSendReleaseResponse which will generate a call to RECEIVERELEASERESPONSECALLBACK on the client. At this time the DICOM Association may be closed. For more information, refer to Ending a DICOM Association.
Please note that this method of closing a DICOM Association is preferable to just calling L_DicomSendAbort.
Required DLLs and Libraries
For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application |
Win32, x64, Linux.
See Also
Functions: |
|
Topics: |
|
|
|
|
|
|
|
|
Example
This example sends a Release Request message to a connection
L_INT DicomSendReleaseRequestExample(HDICOMNET hNet) { return L_DicomSendReleaseRequest(hNet); }