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