This function writes a 32-bit double word, starting at the specified offset, to the specified BAR address .
Language
|
Description
|
C/C++
|
void WritePciBarLong ( HANDLE hPci, USHORT BarNumber, USHORT BarOffset, ULONG dwValue );
|
Delphi
|
procedure WritePciBarLong ( hPci: THandle; BarNumber: Word; BarOffset: Word; dwValue: Word); stdcall;
|
VB
|
Sub WritePciBarLong ( ByVal hPci As Long, ByVal BarNumber As Integer, ByVal BarOffset As Integer, ByVal Value 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 byte offset in the BAR area, in bytes
dwValue - specifies a doubleword to be written
Return Value : None
Comment:
This function serves all requests regardless of whether the BarNumber is memory address or port I/O address
|