Home    Prev Next    
Contents
Programming For ISA Hardware
Overview
Programmers Guide
Scenario
I/O Ports control
Single read/write operations
Data array read/write operations
Accessing Physical Memory Addresses
Memory Mapping
Additional Functions
Hardware interrupts handling at user level
Common Functions
OpenRapidIsa
CloseRapidIsa
IsRapidIsaOpened
GetHardwareConfiguration
Direct Port I/O
GetPortByte
GetPortWord
GetPortLong
SetPortByte
SetPortWord
SetPortLong
ReadPortBuffer
WritePortBuffer
Memory Access
MapPhysToLinear
UnmapMemory
GetMem
GetMemW
GetMemL
SetMem
SetMemW
SetMemL
Hardware Interrupts
UnmaskIsaIrq
MaskIsaIrq
GetInterruptCounter
OpenRapidIsa
Go to RapidDriver Main Page

Opens the RapidIsa.sys kernel mode WDM device driver under Windows 2000/XP, providing direct access to the ISA hardware.

Language

Description

C/C++
HANDLE OpenRapidIsa ( ULONG DeviceInstance )
Delphi
function OpenRapidIsa ( DeviceInstance : Longword) : THandle; stdcall
VB
Function OpenRapidIsa ( ByVal DeviceInstance As Long) As Long


Parameters:
DeviceInstance - ISA device instance.

Return Value:
The RapidIsa handle value or NULL if fails. Keep this handle opened all time when you are working with RapidIsa functions and close by CloseRapidIsa() at end of application.

Comments:

If the driver was successfully opened, the IsRapidIsaOpened() returns True; if the function fails, the IsRapidIsaOpened() returns False.
With RapidIsa you can support as many ISA devices as you want. To select the device you need change DriverInstance value from 0 up to maximal number of ISA device installed with RapidIsa driver. For the first application use

    hIsa = OpenRapidIsa(0);

For second:

    hIsa = OpenRapidIsa(1);

and so on.

See also: CloseRapidIsa IsRapidIsaOpened