This function returns a starting linear base address of present BAR area
Language
|
Description
|
C/C++
|
ULONG GetPciBarLinearAddress ( HANDLE hPci, USHORT BarNumber );
|
Delphi
|
function GetPciBarLinearAddress ( hPci: THandle; BarNumber: Word ): Longword; stdcall;
|
VB
|
Function GetPciBarLinearAddress ( ByVal hPci As Long, ByVal BarNumber As Integer ) As Long
|
Parameters:
hPci - the handle returned by a successful call to OpenRapidPci
BarNumber - the BaseAddress index (0..5)
Return Value :
Base linear address of present BAR area in current process's address space.
Comment:
This function serves all requests regardless of whether the BarNumber is memory address or port I/O address
|