A.1.3 dio_int2_eventmessage, A.1.3, Dio_int2_eventmessage – ADLINK EOS-1200 User Manual

Page 71

Advertising
background image

Function Library

59

EOS-1200

A.1.3

DIO_INT2_EventMessage

Description

Controls the INT2 interrupt sources for a dual-interrupt sys-
tem and notifies the active application when an interrupt
event occurs. The notification is executed via a user-speci-
fied callback function or the Windows PostMessage API.

Syntax

C/C++

I16 DIO_INT2_EventMessage (U16 CardNumber, I16
Int2Mode, HANDLE windowHandle, U32 message,
void *callbackAddr())

Visual Basic

DIO_INT2_EventMessage (ByVal CardNumber As
Integer, ByVal Int2Mode As Integer, ByVal win-
dowHandle As Long, ByVal message As Long,
ByVal callbackAddr As Long) As Integer

VB.Net

DIO_INT2_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#

short DIO_INT2_EventMessage (ushort CardNum-
ber, short Int1Mode, long windowHandle, long
message, MulticastDelegate callbackAddr)

Parameter(s)

CardNumber

ID of the card performing the operation

Int2Mode

Advertising