Converts error code content to string. This function supports multi-process.
Ret = AioGetErrorString ( ErrorCode , ErrorString )
ErrorCode
[ VB.NET : Integer ] [ C, C++ : long ] [ C# : int ] [ Python : ctypes.c_long
]
Specifies error code.
ErrorString
[ VB.NET : StringBuilder ] [ C, C++ : char * ] [ C# : out StringBuilder
] [ Python : ctypes.c_char_p ]
Specifies the pointer to the buffer for storing string.
Make sure that the size of buffer is greater than 256 bytes.
Ret [ VB.NET : Integer ] [ C, C++ : long ] [ C# : int ] [ Python : ctypes.c_long ]
Return values |
Content |
0 |
Normality completion |
10180 |
Pointer
to ErrorString is NULL |
Make sure that the size of buffer for storing string is greater than 256 bytes.
If the device is in operation, this function cannot be performed.
Stores the content of error code 10000 to ErrorString.
VB.NET |
Dim
Ret As Integer |
C, C++ |
long
Ret; |
C# |
int
Ret; |
Python |
Ret
= ctypes.c_long() |
Stores the string "The device name which wasn't registered by a device manager was specified." to ErrorString.