5.3_DIO48H/96H_Initial

@ Description

The cards are initialized by this function. The software library could be used to control multiple cards.

@ SyntaxC/C++ (DOS)

U16 _DIO48H_Initial (U16 *existCards, PCI_INFO *pciInfo)

U16 _DIO96H_Initial (U16 *existCards, PCI_INFO *pciInfo)

C/C++ (Windows 95)

U16 W_DIO48H_Initial (U16 *existCards, PCI_INFO *pciInfo)

U16 W_DIO96H_Initial (U16 *existCards, PCI_INFO *pciInfo)

Visual Basic (Windows 95)

W_DIO48H_Initial (existCards As Integer, pciInfo As PCI_INFO) As Integer

W_DIO96H_Initial (existCards As Integer, pciInfo As PCI_INFO) As Integer

@ Argument
existCards:

The

numbers

of

 

installed

PCIDIO

 

24H/48H/96H

cards.

 

The

returned

 

value shows how many PCIDIO 24H/48H/96H

 

cards are installed in your system.

 

pciinfo:

It is

a

structure to record the PCI bus

 

plug

 

and

 

play

initiallization

 

information

which

is

decided

by

p&p

 

BIOS.

 

The

PCI_INFO

structure

is

 

defined

in ACL_PCI.H

The

base

I/O

 

address

and

 

the

interrupt

channel

 

number

 

are stored in pciinfo.

 

 

@ Return Code

ERR_NoError

ERR_PCIBiosNotExist

32 C/C++ Libraries