Personal488 for Windows 95/98/Me/NT/2000
04-10-01
API Reference 6-21
GetErrorList
Syntax
ErrorCodeT WINAPI GetErrorList(DevHandlePT devHandleList,
LPSTR errText, DevHandlePT errHandle);
DevHandleList
is a pointer to a list of external devices that was returned from a function,
due to an error associated with one of the external devices in the list.
errText
is the text string that contains the error message. You must ensure that the string
length is at least 247 bytes.
errHandle
is a pointer to the device handle that caused the error.
Returns
-1
if error
otherwise, it returns the error number associated with the given list of devices.
Bus States
None
Example
char errText[329];
int errHandle;
int errnum;
result = ClearList(list);
if (result == -1) {
errnum=GetErrorList(list,errText,&errHandle);
printf(“Error %d;%s,at handle %d\n”, errnum, errText,
errHandle);
}
See Also
Error, GetError, Status
The
GetErrorList
command is user-called, after another function identifying a list of device handles,
returns an error indication. The device handle list sent to the function that returned the error indication, is
sent to
GetErrorList
.
GetErrorList
finds the device that returned the error indication, returning the
handle through
errHandle
, and returns the error code associated with that error. If a non-null error text
pointer is passed,
GetError
also fills in up to 247 bytes in the string. The application must ensure that
sufficient space is available.
Содержание Personal488
Страница 2: ...ii Personal488 User s Manual for Windows95 98 Me NT 2000...
Страница 6: ...vi 04 10 01 Personal488 User s Manual for Windows95 98 Me NT 2000...
Страница 12: ...3 2 Installation 04 10 01 Personal488 for Windows 95 98 Me NT 2000...
Страница 18: ...Windows 95 3 8 Installation 04 10 01 Personal488 for Windows 95 98 Me NT 2000...
Страница 24: ...Windows 98 3 14 Installation 04 10 01 Personal488 for Windows 95 98 Me NT 2000...
Страница 30: ...Windows Me 3 20 Installation 04 10 01 Personal488 for Windows 95 98 Me NT 2000...
Страница 38: ...Windows 2000 3 28 Installation 04 10 01 Personal488 for Windows 95 98 Me NT 2000...
Страница 40: ...Windows 2000 3 30 Installation 04 10 01 Personal488 for Windows 95 98 Me NT 2000...
Страница 42: ...4 2 Hardware Configuration Reference 04 09 01 Personal488 for Windows 95 98 Me NT 2000...
Страница 46: ...4 6 Hardware Configuration Reference 04 09 01 Personal488 for Windows 95 98 Me NT 2000...
Страница 50: ...4 10 Hardware Configuration Reference 04 09 01 Personal488 for Windows 95 98 Me NT 2000...
Страница 54: ...4 14 Hardware Configuration Reference 04 09 01 Personal488 for Windows 95 98 Me NT 2000...
Страница 68: ...5 14 Using IEEE 488 04 09 01 Personal488 for Windows 95 98 Me NT 2000...
Страница 132: ...Personal488 for Windows 95 98 Me NT 2000 04 10 01 API Reference 6 64...
Страница 137: ...Personal488 for Windows 95 98 Me NT 2000 03 16 01 IEEE488 ASCII Code Maps B 1 Appendix B ASCII Codes...
Страница 138: ...B 2 IEEE488 ASCII Code Maps 03 16 01 Personal488 for Windows 95 98 Me NT 2000...