Pci_driverclose, Pci_getdriverversion, 7 pci_d – ICP DAS USA PCI-P16C16 User Manual

Page 39: River, Lose, 8 pci_g, Ersion, 7 pci_driverclose, 8 pci_getdriverversion

Advertising
background image

4.7 PCI_DriverClose

Description:

Terminates the device driver (napwnt.sys for window NT/2000/XP,

nappci.vxd for Windows 95/98). In DOS version, this function is
provided just for uniformity or W32 program. It can only return a
NoError.

Syntax: void PCI_DriverClose(void)

Input Parameters: void

Output Parameters: void





4.8 PCI_GetDriverVersion

Description: Gets the version number of device driver

(nappci.vxd for windows 95/98, napwnt.sys for Windows NT/2000/XP)

Syntax: WORD PCI_GetDriverVersion (WORD *wDriverVersion)

Input Parameters:

*wDriverVersion: address of wDriverVersion.
WDriverVersion = 200[hex]

→ Version 2.00

Return Value:

NotError: OK
NotFoundBoard: can’t detect the existence of P16R16/P8R8
DriverCallError: can’t open the NAPPCI.VXD in Windows 95/98
Can’t open the NAPWNT.SYS in Windows NT/2000/XP.
DriverHandleError: return handle is wrong when open device driver.

PCI-P8R8/P16R16/P16C16/P16POR16 User’s Manual (Ver.2.2, 2005/5/5) …

39

Advertising
This manual is related to the following products: