beautypg.com

ADLINK PCI-8554 User Manual

Page 63

background image

C/C++ Libraries • 53

5.15 _8554_INT_Enable

@ Description

This function is only available to the Windows 95 driver. It is used to
activate the interrupt controller. After calling this function, every time
an interrupt request signal is generated, a software event is
signaled.

@ Syntax

C/C++ (Windows 95)

U16 W_8554_INT_Enable (U16 cardNo, HANDLE *hEvent)

Visual Basic (Windows 95)

W_8554_INT_Enable (ByVal cardNo As Integer, hEvent As Long)

As Integer

@ Arguments

cardNo:

card number to be selected

hEvent:

the address of an array for two handles. HEvent[0]

and hEvent[1] are the events for interrupt signals
INT1 and INT2 respectively.

@ Return Value

ERR_NoError

ERR_BoardNoInit