L_DicomGetErrorSecure

Summary

Returns a special ISCL or TLS error. This function is available in PACS Imaging toolkits.

Syntax

#include "ltdic.h"

L_LTDIC_API L_UINT32 L_DicomGetErrorSecure(hNet)

Parameters

HDICOMNET hNet

Handle to an existing DICOM Network. This is the handle returned from the L_DicomCreateNet function.

Returns

Returns the last occurring error code.

Returns a specialized ISCL or TLS error code. For a list of possible values, refer to Return Codes.

Comments

The errors returned by this function may be useful for debugging purposes.

Required DLLs and Libraries

Platforms

Win32, x64.

See Also

Functions

Topics

Example

// This example assumes L_DicomConnect (…) has been called, and then the  
// OnSecureLinkReady callback is called with an error code. 
L_UINT32 EXT_CALLBACK myOnSecureLinkready(HDICOMNET hNet, L_UINT32 nError, L_VOID *  pUserData) 
{ 
   UNREFERENCED_PARAMETER(pUserData); 
   UNREFERENCED_PARAMETER(nError); 
    
   L_TCHAR str[20]; 
   wsprintf(str, TEXT("Error code is:%d"), L_DicomGetErrorSecure(hNet)); 
   MessageBox(NULL, str, TEXT("Error"), MB_OK); 
 
   return 0; 
}; 
Help Version 23.0.2024.7.1
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS DICOM C API Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.