A.1.2 dio_int1_eventmessage, A.1.2, Dio_int1_eventmessage – ADLINK EOS-1200 User Manual
Page 69
Function Library
57
EOS-1200
Address of the user callback function. The PCIS-DASK calls
this function when the specified INT event occurs. If no call-
back function is required, set callbackAddr to 0.
Return Code(s)
NoError
ErrorInvalidCardNumber
ErrorCardNotRegistered
ErrorFuncNotSupport
A.1.2
DIO_INT1_EventMessage
Description
Controls the INT1 interrupt sources for a dual-interrupt sys-
tem and notifies the user's application when an interrupt
event occurs. The notification is performed through a user-
specified callback function or the Windows PostMessage
API.
Syntax
C/C++
I16 DIO_INT1_EventMessage (U16 CardNumber, I16
Int1Mode, HANDLE windowHandle, U32 message,
void *callbackAddr())
Visual Basic
DIO_INT1_EventMessage (ByVal CardNumber As
Integer, ByVal Int1Mode As Integer, ByVal win-
dowHandle As Long, ByVal message As Long,
ByVal callbackAddr As Long) As Integer
VB.Net
DIO_INT1_EventMessage (ByVal CardNumber As
Short, ByVal Int1Mode As Short, ByVal window-
Handle As Integer, ByVal message As Integer,
ByVal callbackAddr As CallbackDelegate) As
Short
C#