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 that will hold the last error message.
RETURNED DATA
ErrorMsg
A char that will hold the last error message.
Valid Values:
No
Error
Could
not
open
Registry
Card
Type
is
invalid
Card
not
Initialized
Invalid
Direction
Could
not
open
Device
Could
not
close
Device
Invalid
Channel
Invalid
Option
Invalid
Range
Missing
Parameters
Invalid
Error
Code
Card
In
Use
EXAMPLE CODE
Code Result/Returned
Data
Get_DLL_Version(char
*ErrorMsg)
No Error
Data Device Corporation
SB-3622X Manual
41
Summary of Contents for DRC-11525
Page 3: ......