Reads byte, word, or double word value data from the header of the device's PCI configuration space.
Language
|
Description
|
C/C++
|
ULONG ReadFromPci( HANDLE hPci, USHORT wOffset, USHORT wBytes );
|
Delphi
|
function ReadFromPci ( hPci: THandle; wOffset: Word; wBytes: Word ): Longword; stdcall;
|
VB
|
Function ReadFromPci ( ByVal hPci As Long, ByVal wOffset As Integer, ByVal wBytes As Integer ) As Long
|
Parameters:
| hPci - the handle returned by a successful call to OpenRapidPci
|
| wOffset - offset in PCI header, in bytes.
|
| wBytes - number of bytes to read (1, 2, or 4).
|
Return Value :
| The value read from the specified offset of PCI header.
|
See also: WriteToPci
|