Writes data to the header of the device's PCI configuration space from the supplied buffer.
Language
|
Description
|
C/C++
|
BOOL SetPciHeader( HANDLE hPci, PCI_COMMON_CONFIG * PciConfig, USHORT wOffset, USHORT wBytes );
|
Delphi
|
function SetPciHeader ( hPci: THandle; var PciConfig: PCI_COMMON_CONFIG; wOffset: Word; wBytes: Word ): BOOL; stdcall;
|
VB
|
Function SetPciHeader ( ByVal hPci As Long, ByRef PciConfig as PCI_COMMON_CONFIG, ByVal wOffset As Integer, ByVal wBytes As Integer ) 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.
|
Return Value :
TRUE, if the device exists or FALSE if not.
See also: GetPciHeader
|