This function returns a length of present BAR area
Language
|
Description
|
C/C++
|
ULONG GetPciBarLength ( HANDLE hPci, USHORT BarNumber );
|
Delphi
|
function GetPciBarLength ( hPci: THandle; BarNumber: Word ): Longword; stdcall;
|
VB
|
Function GetPciBarLength ( 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 :
Length in bytes of present BAR area.
Comment:
This function serves all requests regardless of whether the BarNumber is memory address or port I/O address
|