CyberResearch PCIDIO 48H User Manual
Page 41

32
• C/C++ Libraries
5.3 _DIO48H/96H_Initial
@ Description
The cards are initialized by this function. The software library could be used
to control multiple cards.
@ Syntax
C/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