function ReadPciBarByte ( hPci: THandle; BarNumber: Word; BarOffset: Word ): Byte; stdcall;
VB
Function ReadPciBarByte ( ByVal hPci As Long, ByVal BarNumber As Integer, ByVal BarOffset As Integer ) As Byte
Parameters:
hPci - the handle returned by a successful call to OpenRapidPci BarNumber - the BaseAddress index (0..5) which must be read
BarOffset - specifies the byte offset in the BAR area, in bytes
Return Value :
The byte value, starting at the specified offset, from the specified BAR address.
Comment:
This function serves all requests regardless of whether the BarNumber is memory address or port I/O address