F U N C T I O N C A L L S
int WINAPI Get_Last_Error (char *ErrorMsg)
DESCRIPTION
This routine returns the last error that occurred, and clears the error code to 0. Can be
called frequently, if needed.
INPUT DATA
ErrorMsg
A char pointer that will hold the last error message.
RETURNED DATA
ErrorMsg
A int that represents the last error message.
Values
Description:
0
No Error
1
Could not open Registry
2
Card Type is invalid
3
Card not Initialized
4
Invalid Direction
5
Could not open Device
6
Could not close Device
7
Invalid Channel
8
Invalid Option
9
Invalid Range
10
Missing Parameters
11
Invalid Error Code
EXAMPLE CODE
Code Result/Returned
Data
Get_Last_Error(char
*ErrorMsg)
No Error
Data Device Corporation
SB-3621X Manual
37
Содержание SB-3621 Series
Страница 3: ......