Reads a byte from the specified port address.
Language
|
Description
|
C/C++
|
UCHAR GetPortByte ( HANDLE hPci, ULONG PortAddress);
|
Delphi
|
function GetPortByte ( hPci: THandle; PortAddress: Longword ): Byte; stdcall;
|
VB
|
Function GetPortByte ( ByVal hPci As Long, ByVal PortAddress As Long) As Byte
|
Parameters:
hPci - the handle returned by a successful call to OpenRapidPci ;
PortAddress - the port address in I/O space
Return Value :
The byte read from the specified port address.
See also: GetPortWord GetPortLong SetPortByte SetPortWord SetPortLong
|