Handle to an existing DICOM Network. This is the handle returned from the L_DicomCreateNet function.
Error code. Refer to Return Codes.
Type of data transmitted. This can be either the first byte of the DICOM message or 0 if it cannot be identified.
The length of the sent data, in bytes.
Void pointer that you can use to pass one or more additional parameters that the callback function needs. To use this feature, assign a value to a variable or create a structure that contains as many fields as you need. Then, in this parameter, pass the address of the variable or structure, casting it to L_VOID *. The callback function, which receives the address in its own pUserData parameter, can cast it to a pointer of the appropriate data type to access your variable or structure. If the additional parameters are not needed, you can pass NULL in this parameter.
L_VOID EXT_CALLBACK myOnNonSecureSend(HDICOMNET hNet, L_UINT32 nError, L_UCHAR nType, L_UINT32 nLength, L_VOID * pUserData)
if(nError == DICOM_SUCCESS)
MessageBox(NULL, TEXT("Data was successfully sent"), TEXT(""), MB_OK);
Medical Web Viewer .NET
.NET, Java, Android, and iOS/macOS Assemblies
C API/C++ Class Libraries