Set or clear a bit in the PCI command register
Language
|
Description
|
C/C++
|
void ControlPciCommandRegBits ( HANDLE hPci, USHORT ControlBitNumber, USHORT BitEnable );
|
Delphi
|
procedure ControlPciCommandRegBits ( hPci: THandle, ControlBitNumber : Word; BitEnable: Word ); stdcall;
|
VB
|
Sub ControlPciCommandRegBits ( ByVal hPci As Long, ByVal ControlBitNumber As Integer, ByVal BitEnable As Integer )
|
Parameters:
hPci - the handle returned by a successful call to OpenRapidPci
ControlBitNumber - identifies the bit of the command register to modify,
BitEnable - "1" to set the bit, "0" to clear it
Comments:
The possible values for parameter ControlBitNumber are 0-9. Refer to the PCI specification for more details.
|