LDicomNet::OnNonSecureSendISCL
#include "ltdic.h"
virtual L_VOID LDicomNet::OnNonSecureSendISCL(nError, nType, nLength)
|
L_INT nError; |
/* error code */ |
|
L_UCHAR nType; |
/* type of data transmitted */ |
|
L_UINT32 nLength; |
/* length of data transmitted */ |
This function is called after data has been sent using the LDicomNet::SendNonSecureISCL function. This function is available in the Medical Suite toolkits.
|
Parameter |
Description |
|
nError |
Error code. Refer to Return Codes. |
|
nType |
Type of data transmitted. This can be either the first byte of the DICOM message or 0, if it cannot be identified. |
|
nLength |
The length of the sent data, in bytes. |
Returns
None.
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 |
See Also
|
Functions: |
LDicomNet::OnNonSecureReceivedISCL, LDicomNet::SendNonSecureISCL; Class Members |
|
Topics: |
|
|
|
General Integrated Secure Communication Layer (ISCL) Information |
Example
L_VOID LMyDicomNet::OnNonSecureSendISCL(L_INT nError, L_UCHAR nType, L_UINT32 nLength)
{
UNREFERENCED_PARAMETER(nLength);
UNREFERENCED_PARAMETER(nType);
if(nError == DICOM_SUCCESS)
{
AfxMessageBox(TEXT("Data sent succesfully"));
}
else
{
CString strTmp, strErrorCode;
if(nError == DICOM_ERROR_MEMORY)
strErrorCode = TEXT("Memory allocation error");
else
strErrorCode = TEXT("Unknown error");
strTmp.Format(TEXT("Error during sending data, code = %s, explanation is %s"), nError, strErrorCode);
AfxMessageBox(strTmp);
}
};