L_DicomGetErrorSecure
#include "ltdic.h"
L_UINT32 EXT_FUNCTION L_DicomGetErrorSecure(hNet)
HDICOMNET hNet; |
/* handle to an existing DICOM Network */ |
Returns a special ISCL or TLS error. This function is available in Medical Suite toolkits.
Parameter |
Description |
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
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: |
|
Topics: |
|
|
|
|
General Integrated Secure Communication Layer (ISCL) Information |
Example
// This example assumes L_DicomConnect (…) has been called, and then the
// OnSecureLinkReady callback is called with an error code.
L_UINT32 pEXT_CALLBACK myOnSecureLinkready(HDICOMNET hNet, L_UINT32 nError, L_VOID pUserData)
{
char str[20];
printf (str, "Error code is:%d", L_DicomGetErrorSecure(hNet));
MessageBox(NULL, str, "Error", MB_OK);
};