This function reads a 32-bit double word, starting at the specified offset, from the specified BAR address.
Language
|
Description
|
C/C++
|
ULONG ReadPciBarLong ( HANDLE hPci, USHORT BarNumber, USHORT BarOffset );
|
Delphi
|
function ReadPciBarLong ( hPci: THandle; BarNumber: Word; BarOffset: Word ): Longword; stdcall;
|
VB
|
Function ReadPciBarLong ( ByVal hPci As Long, ByVal BarNumber As Integer, ByVal BarOffset As Integer ) As Long
|
Parameters:
hPci - the handle returned by a successful call to OpenRapidPci
BarNumber - the BaseAddress index (0..5) which must be read
BarOffset - specifies the double word offset in the BAR area, in bytes
Return Value :
The 32-bit double word 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
|